├── .gitignore
├── LICENSE
├── README.md
├── cacdialog.cpp
├── cacdialog.h
├── cacdialog.ui
├── chomo.pro
├── coodialog.cpp
├── coodialog.h
├── coodialog.ui
├── crodialog.cpp
├── crodialog.h
├── crodialog.ui
├── firstdialog.cpp
├── firstdialog.h
├── firstdialog.ui
├── helpdialog.cpp
├── helpdialog.h
├── helpdialog.ui
├── hisdialog.cpp
├── hisdialog.h
├── hisdialog.ui
├── main.cpp
├── mainwindow.cpp
├── mainwindow.h
├── mainwindow.ui
├── mozdialog.cpp
├── mozdialog.h
├── mozdialog.ui
├── seconddialog.cpp
├── seconddialog.h
├── seconddialog.ui
├── thirddialog.cpp
├── thirddialog.h
└── thirddialog.ui
/.gitignore:
--------------------------------------------------------------------------------
1 | # C++ objects and libs
2 |
3 | *.slo
4 | *.lo
5 | *.o
6 | *.a
7 | *.la
8 | *.lai
9 | *.so
10 | *.dll
11 | *.dylib
12 |
13 | # Qt-es
14 |
15 | /.qmake.cache
16 | /.qmake.stash
17 | *.pro.user
18 | *.pro.user.*
19 | *.qbs.user
20 | *.qbs.user.*
21 | *.moc
22 | moc_*.cpp
23 | qrc_*.cpp
24 | ui_*.h
25 | Makefile*
26 | *-build-*
27 |
28 | # QtCreator
29 |
30 | *.autosave
31 |
32 | #QtCtreator Qml
33 | *.qmlproject.user
34 | *.qmlproject.user.*
35 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | Preamble
10 |
11 | The licenses for most software are designed to take away your
12 | freedom to share and change it. By contrast, the GNU General Public
13 | License is intended to guarantee your freedom to share and change free
14 | software--to make sure the software is free for all its users. This
15 | General Public License applies to most of the Free Software
16 | Foundation's software and to any other program whose authors commit to
17 | using it. (Some other Free Software Foundation software is covered by
18 | the GNU Lesser General Public License instead.) You can apply it to
19 | your programs, too.
20 |
21 | When we speak of free software, we are referring to freedom, not
22 | price. Our General Public Licenses are designed to make sure that you
23 | have the freedom to distribute copies of free software (and charge for
24 | this service if you wish), that you receive source code or can get it
25 | if you want it, that you can change the software or use pieces of it
26 | in new free programs; and that you know you can do these things.
27 |
28 | To protect your rights, we need to make restrictions that forbid
29 | anyone to deny you these rights or to ask you to surrender the rights.
30 | These restrictions translate to certain responsibilities for you if you
31 | distribute copies of the software, or if you modify it.
32 |
33 | For example, if you distribute copies of such a program, whether
34 | gratis or for a fee, you must give the recipients all the rights that
35 | you have. You must make sure that they, too, receive or can get the
36 | source code. And you must show them these terms so they know their
37 | rights.
38 |
39 | We protect your rights with two steps: (1) copyright the software, and
40 | (2) offer you this license which gives you legal permission to copy,
41 | distribute and/or modify the software.
42 |
43 | Also, for each author's protection and ours, we want to make certain
44 | that everyone understands that there is no warranty for this free
45 | software. If the software is modified by someone else and passed on, we
46 | want its recipients to know that what they have is not the original, so
47 | that any problems introduced by others will not reflect on the original
48 | authors' reputations.
49 |
50 | Finally, any free program is threatened constantly by software
51 | patents. We wish to avoid the danger that redistributors of a free
52 | program will individually obtain patent licenses, in effect making the
53 | program proprietary. To prevent this, we have made it clear that any
54 | patent must be licensed for everyone's free use or not licensed at all.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | GNU GENERAL PUBLIC LICENSE
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61 |
62 | 0. This License applies to any program or other work which contains
63 | a notice placed by the copyright holder saying it may be distributed
64 | under the terms of this General Public License. The "Program", below,
65 | refers to any such program or work, and a "work based on the Program"
66 | means either the Program or any derivative work under copyright law:
67 | that is to say, a work containing the Program or a portion of it,
68 | either verbatim or with modifications and/or translated into another
69 | language. (Hereinafter, translation is included without limitation in
70 | the term "modification".) Each licensee is addressed as "you".
71 |
72 | Activities other than copying, distribution and modification are not
73 | covered by this License; they are outside its scope. The act of
74 | running the Program is not restricted, and the output from the Program
75 | is covered only if its contents constitute a work based on the
76 | Program (independent of having been made by running the Program).
77 | Whether that is true depends on what the Program does.
78 |
79 | 1. You may copy and distribute verbatim copies of the Program's
80 | source code as you receive it, in any medium, provided that you
81 | conspicuously and appropriately publish on each copy an appropriate
82 | copyright notice and disclaimer of warranty; keep intact all the
83 | notices that refer to this License and to the absence of any warranty;
84 | and give any other recipients of the Program a copy of this License
85 | along with the Program.
86 |
87 | You may charge a fee for the physical act of transferring a copy, and
88 | you may at your option offer warranty protection in exchange for a fee.
89 |
90 | 2. You may modify your copy or copies of the Program or any portion
91 | of it, thus forming a work based on the Program, and copy and
92 | distribute such modifications or work under the terms of Section 1
93 | above, provided that you also meet all of these conditions:
94 |
95 | a) You must cause the modified files to carry prominent notices
96 | stating that you changed the files and the date of any change.
97 |
98 | b) You must cause any work that you distribute or publish, that in
99 | whole or in part contains or is derived from the Program or any
100 | part thereof, to be licensed as a whole at no charge to all third
101 | parties under the terms of this License.
102 |
103 | c) If the modified program normally reads commands interactively
104 | when run, you must cause it, when started running for such
105 | interactive use in the most ordinary way, to print or display an
106 | announcement including an appropriate copyright notice and a
107 | notice that there is no warranty (or else, saying that you provide
108 | a warranty) and that users may redistribute the program under
109 | these conditions, and telling the user how to view a copy of this
110 | License. (Exception: if the Program itself is interactive but
111 | does not normally print such an announcement, your work based on
112 | the Program is not required to print an announcement.)
113 |
114 | These requirements apply to the modified work as a whole. If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works. But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 |
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 |
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 |
134 | 3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 |
138 | a) Accompany it with the complete corresponding machine-readable
139 | source code, which must be distributed under the terms of Sections
140 | 1 and 2 above on a medium customarily used for software interchange; or,
141 |
142 | b) Accompany it with a written offer, valid for at least three
143 | years, to give any third party, for a charge no more than your
144 | cost of physically performing source distribution, a complete
145 | machine-readable copy of the corresponding source code, to be
146 | distributed under the terms of Sections 1 and 2 above on a medium
147 | customarily used for software interchange; or,
148 |
149 | c) Accompany it with the information you received as to the offer
150 | to distribute corresponding source code. (This alternative is
151 | allowed only for noncommercial distribution and only if you
152 | received the program in object code or executable form with such
153 | an offer, in accord with Subsection b above.)
154 |
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it. For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable. However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 |
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 |
172 | 4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License. Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 |
180 | 5. You are not required to accept this License, since you have not
181 | signed it. However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works. These actions are
183 | prohibited by law if you do not accept this License. Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 |
189 | 6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions. You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 |
197 | 7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License. If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all. For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 |
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 |
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices. Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 |
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 |
229 | 8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded. In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 |
237 | 9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time. Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 |
242 | Each version is given a distinguishing version number. If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation. If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 |
250 | 10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission. For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this. Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 |
258 | NO WARRANTY
259 |
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 |
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 |
280 | END OF TERMS AND CONDITIONS
281 |
282 | How to Apply These Terms to Your New Programs
283 |
284 | If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 |
288 | To do so, attach the following notices to the program. It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 |
293 | {description}
294 | Copyright (C) {year} {fullname}
295 |
296 | This program is free software; you can redistribute it and/or modify
297 | it under the terms of the GNU General Public License as published by
298 | the Free Software Foundation; either version 2 of the License, or
299 | (at your option) any later version.
300 |
301 | This program is distributed in the hope that it will be useful,
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 | GNU General Public License for more details.
305 |
306 | You should have received a copy of the GNU General Public License along
307 | with this program; if not, write to the Free Software Foundation, Inc.,
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309 |
310 | Also add information on how to contact you by electronic and paper mail.
311 |
312 | If the program is interactive, make it output a short notice like this
313 | when it starts in an interactive mode:
314 |
315 | Gnomovision version 69, Copyright (C) year name of author
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 | This is free software, and you are welcome to redistribute it
318 | under certain conditions; type `show c' for details.
319 |
320 | The hypothetical commands `show w' and `show c' should show the appropriate
321 | parts of the General Public License. Of course, the commands you use may
322 | be called something other than `show w' and `show c'; they could even be
323 | mouse-clicks or menu items--whatever suits your program.
324 |
325 | You should also get your employer (if you work as a programmer) or your
326 | school, if any, to sign a "copyright disclaimer" for the program, if
327 | necessary. Here is a sample; alter the names:
328 |
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker.
331 |
332 | {signature of Ty Coon}, 1 April 1989
333 | Ty Coon, President of Vice
334 |
335 | This General Public License does not permit incorporating your program into
336 | proprietary programs. If your program is a subroutine library, you may
337 | consider it more useful to permit linking proprietary applications with the
338 | library. If this is what you want to do, use the GNU Lesser General
339 | Public License instead of this License.
340 |
341 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Browser_forensics
2 | In this project we made a web browser forensic tool which recover deleted history,cache and cookies of chorme and mozilla. The tool simply recover the deleted sqlite database file of chrome and mozilla and show all the content in timeline.
3 |
--------------------------------------------------------------------------------
/cacdialog.cpp:
--------------------------------------------------------------------------------
1 | #include "cacdialog.h"
2 | #include "ui_cacdialog.h"
3 |
4 | cacDialog::cacDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::cacDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | cacDialog::~cacDialog()
12 | {
13 | delete ui;
14 | }
15 |
--------------------------------------------------------------------------------
/cacdialog.h:
--------------------------------------------------------------------------------
1 | #ifndef CACDIALOG_H
2 | #define CACDIALOG_H
3 |
4 | #include
5 |
6 | namespace Ui {
7 | class cacDialog;
8 | }
9 |
10 | class cacDialog : public QDialog
11 | {
12 | Q_OBJECT
13 |
14 | public:
15 | explicit cacDialog(QWidget *parent = 0);
16 | ~cacDialog();
17 |
18 | private:
19 | Ui::cacDialog *ui;
20 | };
21 |
22 | #endif // CACDIALOG_H
23 |
--------------------------------------------------------------------------------
/cacdialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | cacDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 607
10 | 361
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 30
20 | 10
21 | 211
22 | 20
23 |
24 |
25 |
26 | about cache:-
27 |
28 |
29 |
30 |
31 |
32 | 30
33 | 50
34 | 501
35 | 221
36 |
37 |
38 |
39 | <html><head/><body><p>A browser's “Cache” is used for the temporary storage</p><p> of <span style=" font-weight:600;">Web</span> pages on your computer. The first time you </p><p>view a <span style=" font-weight:600;">web page</span>, the page is retrieved from the <span style=" font-weight:600;">Web</span>.</p></body></html>
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/chomo.pro:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------
2 | #
3 | # Project created by QtCreator 2014-11-04T12:11:15
4 | #
5 | #-------------------------------------------------
6 |
7 | QT += core gui sql
8 |
9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10 |
11 | TARGET = chomo
12 | TEMPLATE = app
13 |
14 |
15 | SOURCES += main.cpp\
16 | mainwindow.cpp \
17 | firstdialog.cpp \
18 | seconddialog.cpp \
19 | thirddialog.cpp \
20 | crodialog.cpp \
21 | mozdialog.cpp \
22 | cacdialog.cpp \
23 | coodialog.cpp \
24 | hisdialog.cpp \
25 | helpdialog.cpp
26 |
27 | HEADERS += mainwindow.h \
28 | firstdialog.h \
29 | seconddialog.h \
30 | thirddialog.h \
31 | crodialog.h \
32 | mozdialog.h \
33 | cacdialog.h \
34 | coodialog.h \
35 | hisdialog.h \
36 | helpdialog.h
37 |
38 | FORMS += mainwindow.ui \
39 | firstdialog.ui \
40 | seconddialog.ui \
41 | thirddialog.ui \
42 | crodialog.ui \
43 | mozdialog.ui \
44 | cacdialog.ui \
45 | coodialog.ui \
46 | hisdialog.ui \
47 | helpdialog.ui
48 |
--------------------------------------------------------------------------------
/coodialog.cpp:
--------------------------------------------------------------------------------
1 | #include "coodialog.h"
2 | #include "ui_coodialog.h"
3 |
4 | cooDialog::cooDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::cooDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | cooDialog::~cooDialog()
12 | {
13 | delete ui;
14 | }
15 |
--------------------------------------------------------------------------------
/coodialog.h:
--------------------------------------------------------------------------------
1 | #ifndef COODIALOG_H
2 | #define COODIALOG_H
3 |
4 | #include
5 |
6 | namespace Ui {
7 | class cooDialog;
8 | }
9 |
10 | class cooDialog : public QDialog
11 | {
12 | Q_OBJECT
13 |
14 | public:
15 | explicit cooDialog(QWidget *parent = 0);
16 | ~cooDialog();
17 |
18 | private:
19 | Ui::cooDialog *ui;
20 | };
21 |
22 | #endif // COODIALOG_H
23 |
--------------------------------------------------------------------------------
/coodialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | cooDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 599
10 | 300
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 20
20 | 0
21 | 221
22 | 17
23 |
24 |
25 |
26 | About Cookies
27 |
28 |
29 |
30 |
31 |
32 | 40
33 | 40
34 | 401
35 | 141
36 |
37 |
38 |
39 | <html><head/><body><p><span style=" font-weight:600;">Cookies</span> are text files retained on computers by <span style=" font-weight:600;">browsers</span></p><p>containing various information in regards to a specific </p><p>website visit. Another way to think of this is that a</p><p><span style=" font-weight:600;">cookie</span> is a message given to a web <span style=" font-weight:600;">browser</span> from a </p><p>web server that is then sent back to the web server </p><p>whenever the <span style=" font-weight:600;">browser</span> requests a page from it.</p></body></html>
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/crodialog.cpp:
--------------------------------------------------------------------------------
1 | #include "crodialog.h"
2 | #include "ui_crodialog.h"
3 |
4 | croDialog::croDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::croDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | croDialog::~croDialog()
12 | {
13 | delete ui;
14 | }
15 |
--------------------------------------------------------------------------------
/crodialog.h:
--------------------------------------------------------------------------------
1 | #ifndef CRODIALOG_H
2 | #define CRODIALOG_H
3 |
4 | #include
5 |
6 | namespace Ui {
7 | class croDialog;
8 | }
9 |
10 | class croDialog : public QDialog
11 | {
12 | Q_OBJECT
13 |
14 | public:
15 | explicit croDialog(QWidget *parent = 0);
16 | ~croDialog();
17 |
18 | private:
19 | Ui::croDialog *ui;
20 | };
21 |
22 | #endif // CRODIALOG_H
23 |
--------------------------------------------------------------------------------
/crodialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | croDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 619
10 | 363
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 40
20 | 10
21 | 211
22 | 17
23 |
24 |
25 |
26 | <html><head/><body><p><span style=" font-size:12pt; font-weight:600;">ABOUT CHORME:-</span></p></body></html>
27 |
28 |
29 |
30 |
31 |
32 | 30
33 | 40
34 | 561
35 | 181
36 |
37 |
38 |
39 | <html><head/><body><p align="justify"><span style=" font-style:italic;">Google Chrome is a freeware web browser developed by Google. </span></p><p align="justify"><span style=" font-style:italic;">It used the WebKit layout engine until version 27 and, with the </span></p><p align="justify"><span style=" font-style:italic;">exception of its iOS releases, from version 28 and beyond uses </span></p><p align="justify"><span style=" font-style:italic;">the WebKit fork Blink.It was first released as a beta version for </span></p><p align="justify"><span style=" font-style:italic;">Microsoft Windows on September 2, 2008, and as a stable </span></p><p align="justify"><span style=" font-style:italic;">public release on December 11, 2008.</span></p></body></html>
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/firstdialog.cpp:
--------------------------------------------------------------------------------
1 | #include "firstdialog.h"
2 | #include "ui_firstdialog.h"
3 | #include "seconddialog.h"
4 | #include "thirddialog.h"
5 |
6 | firstDialog::firstDialog(QWidget *parent) :
7 | QDialog(parent),
8 | ui(new Ui::firstDialog)
9 | {
10 | ui->setupUi(this);
11 | }
12 |
13 | firstDialog::~firstDialog()
14 | {
15 | delete ui;
16 | }
17 |
18 | void firstDialog::on_pushButton_clicked()
19 | {
20 | this->hide();
21 | sd=new secondDialog(this);
22 | sd->show();
23 | }
24 |
25 | void firstDialog::on_pushButton_2_clicked()
26 | {
27 | this->hide();
28 | thrd=new thirdDialog(this);
29 | thrd->show();
30 | }
31 |
--------------------------------------------------------------------------------
/firstdialog.h:
--------------------------------------------------------------------------------
1 | #ifndef FIRSTDIALOG_H
2 | #define FIRSTDIALOG_H
3 |
4 | #include
5 | #include "seconddialog.h"
6 | #include "thirddialog.h"
7 |
8 | namespace Ui {
9 | class firstDialog;
10 | }
11 |
12 | class firstDialog : public QDialog
13 | {
14 | Q_OBJECT
15 |
16 | public:
17 | explicit firstDialog(QWidget *parent = 0);
18 | ~firstDialog();
19 |
20 | private slots:
21 | void on_pushButton_clicked();
22 |
23 | void on_pushButton_2_clicked();
24 |
25 | private:
26 | Ui::firstDialog *ui;
27 | secondDialog *sd;
28 | thirdDialog *thrd;
29 | };
30 |
31 | #endif // FIRSTDIALOG_H
32 |
--------------------------------------------------------------------------------
/firstdialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | firstDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 667
10 | 395
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 190
20 | 20
21 | 271
22 | 20
23 |
24 |
25 |
26 | <html><head/><body><p align="center"><span style=" font-size:12pt;">Please select your Browser</span></p></body></html>
27 |
28 |
29 |
30 |
31 |
32 | 260
33 | 60
34 | 99
35 | 27
36 |
37 |
38 |
39 | Mozilla
40 |
41 |
42 |
43 |
44 |
45 | 260
46 | 110
47 | 99
48 | 27
49 |
50 |
51 |
52 | Chorme
53 |
54 |
55 |
56 |
57 |
58 | 260
59 | 160
60 | 99
61 | 27
62 |
63 |
64 |
65 | Cancel
66 |
67 |
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/helpdialog.cpp:
--------------------------------------------------------------------------------
1 | #include "helpdialog.h"
2 | #include "ui_helpdialog.h"
3 |
4 | helpDialog::helpDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::helpDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | helpDialog::~helpDialog()
12 | {
13 | delete ui;
14 | }
15 |
--------------------------------------------------------------------------------
/helpdialog.h:
--------------------------------------------------------------------------------
1 | #ifndef HELPDIALOG_H
2 | #define HELPDIALOG_H
3 |
4 | #include
5 |
6 | namespace Ui {
7 | class helpDialog;
8 | }
9 |
10 | class helpDialog : public QDialog
11 | {
12 | Q_OBJECT
13 |
14 | public:
15 | explicit helpDialog(QWidget *parent = 0);
16 | ~helpDialog();
17 |
18 | private:
19 | Ui::helpDialog *ui;
20 | };
21 |
22 | #endif // HELPDIALOG_H
23 |
--------------------------------------------------------------------------------
/helpdialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | helpDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 634
10 | 348
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 300
20 | 0
21 | 51
22 | 31
23 |
24 |
25 |
26 | HELP
27 |
28 |
29 |
30 |
31 |
32 | 60
33 | 60
34 | 521
35 | 241
36 |
37 |
38 |
39 | <html><head/><body><p>Al l la mele babu ko help chiye</p><p>to mere bache pne laga -</p><p><span style=" font-weight:600;">GORA-9001075350</span></p><p><span style=" font-weight:600;">KALI- i dont know</span></p></body></html>
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/hisdialog.cpp:
--------------------------------------------------------------------------------
1 | #include "hisdialog.h"
2 | #include "ui_hisdialog.h"
3 |
4 | hisDialog::hisDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::hisDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | hisDialog::~hisDialog()
12 | {
13 | delete ui;
14 | }
15 |
--------------------------------------------------------------------------------
/hisdialog.h:
--------------------------------------------------------------------------------
1 | #ifndef HISDIALOG_H
2 | #define HISDIALOG_H
3 |
4 | #include
5 |
6 | namespace Ui {
7 | class hisDialog;
8 | }
9 |
10 | class hisDialog : public QDialog
11 | {
12 | Q_OBJECT
13 |
14 | public:
15 | explicit hisDialog(QWidget *parent = 0);
16 | ~hisDialog();
17 |
18 | private:
19 | Ui::hisDialog *ui;
20 | };
21 |
22 | #endif // HISDIALOG_H
23 |
--------------------------------------------------------------------------------
/hisdialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | hisDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 631
10 | 325
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 20
20 | 0
21 | 251
22 | 17
23 |
24 |
25 |
26 | About history
27 |
28 |
29 |
30 |
31 |
32 | 30
33 | 20
34 | 531
35 | 151
36 |
37 |
38 |
39 | <html><head/><body><p>In computing, the web <span style=" font-weight:600;">browsing history</span> refers to the list </p><p>of web pages a user has visited recently—and associated </p><p>data such as page title and time of visit—which is recorded </p><p>by web <span style=" font-weight:600;">browser</span> software as standard for a certain period of time.</p></body></html>
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/main.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 | #include
3 |
4 | int main(int argc, char *argv[])
5 | {
6 | QApplication a(argc, argv);
7 | MainWindow w;
8 | w.show();
9 |
10 | return a.exec();
11 | }
12 |
--------------------------------------------------------------------------------
/mainwindow.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 | #include "ui_mainwindow.h"
3 | #include "firstdialog.h"
4 | #include "seconddialog.h"
5 | #include "mozdialog.h"
6 | #include "cacdialog.h"
7 | #include "coodialog.h"
8 | #include "hisdialog.h"
9 | #include "helpdialog.h"
10 | MainWindow::MainWindow(QWidget *parent) :
11 | QMainWindow(parent),
12 | ui(new Ui::MainWindow)
13 | {
14 | ui->setupUi(this);
15 | }
16 |
17 | MainWindow::~MainWindow()
18 | {
19 | delete ui;
20 | }
21 |
22 | void MainWindow::on_pushButton_clicked()
23 | {
24 | fd=new firstDialog(this);
25 | fd->show();
26 | }
27 |
28 | void MainWindow::on_actionNew_triggered()
29 | {
30 | fd=new firstDialog(this);
31 | fd->show();
32 | }
33 |
34 | void MainWindow::on_actionChorme_triggered()
35 | {
36 | thrd=new thirdDialog(this);
37 | thrd->show();
38 | }
39 |
40 | void MainWindow::on_actionMozilla_triggered()
41 | {
42 | sd=new secondDialog(this);
43 | sd->show();
44 | }
45 |
46 | void MainWindow::on_actionChorme_2_triggered()
47 | {
48 | cr=new croDialog(this);
49 | cr->show();
50 | }
51 |
52 | void MainWindow::on_actionMozilla_2_triggered()
53 | {
54 | moz=new mozDialog(this);
55 | moz->show();
56 | }
57 |
58 | void MainWindow::on_actionCache_triggered()
59 | {
60 | cac=new cacDialog(this);
61 | cac->show();
62 | }
63 |
64 | void MainWindow::on_actionCookies_triggered()
65 | {
66 | co=new cooDialog(this);
67 | co->show();
68 | }
69 |
70 | void MainWindow::on_actionHistory_triggered()
71 | {
72 | his=new hisDialog(this);
73 | his->show();
74 | }
75 |
76 | void MainWindow::on_actionHelp_triggered()
77 | {
78 | hlp=new helpDialog(this);
79 | hlp->show();
80 | }
81 |
82 | void MainWindow::on_pushButton_2_clicked()
83 | {
84 | hlp=new helpDialog(this);
85 | hlp->show();
86 | }
87 |
--------------------------------------------------------------------------------
/mainwindow.h:
--------------------------------------------------------------------------------
1 | #ifndef MAINWINDOW_H
2 | #define MAINWINDOW_H
3 |
4 | #include
5 | #include "firstdialog.h"
6 | #include "seconddialog.h"
7 | #include "thirddialog.h"
8 | #include "crodialog.h"
9 | #include "mozdialog.h"
10 | #include "cacdialog.h"
11 | #include "coodialog.h"
12 | #include "hisdialog.h"
13 | #include "helpdialog.h"
14 |
15 | namespace Ui {
16 | class MainWindow;
17 | }
18 |
19 | class MainWindow : public QMainWindow
20 | {
21 | Q_OBJECT
22 |
23 | public:
24 | explicit MainWindow(QWidget *parent = 0);
25 | ~MainWindow();
26 |
27 | private slots:
28 | void on_pushButton_clicked();
29 |
30 | void on_actionNew_triggered();
31 |
32 | void on_actionChorme_triggered();
33 |
34 | void on_actionMozilla_triggered();
35 |
36 | void on_actionChorme_2_triggered();
37 |
38 | void on_actionMozilla_2_triggered();
39 |
40 | void on_actionCache_triggered();
41 |
42 | void on_actionCookies_triggered();
43 |
44 | void on_actionHistory_triggered();
45 |
46 | void on_actionHelp_triggered();
47 |
48 | void on_pushButton_2_clicked();
49 |
50 | private:
51 | Ui::MainWindow *ui;
52 | firstDialog *fd;
53 | secondDialog *sd;
54 | thirdDialog *thrd;
55 | croDialog *cr;
56 | mozDialog *moz;
57 | cacDialog *cac;
58 | hisDialog *his;
59 | cooDialog *co;
60 | helpDialog *hlp;
61 | };
62 |
63 | #endif // MAINWINDOW_H
64 |
--------------------------------------------------------------------------------
/mainwindow.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | MainWindow
4 |
5 |
6 |
7 | 0
8 | 0
9 | 664
10 | 408
11 |
12 |
13 |
14 | MainWindow
15 |
16 |
17 |
18 |
19 |
20 | 120
21 | 0
22 | 421
23 | 31
24 |
25 |
26 |
27 | <html><head/><body><p align="center"><span style=" font-size:18pt; font-style:italic;">WEB BROWSER FORENSICS TOOL</span></p></body></html>
28 |
29 |
30 |
31 |
32 |
33 | 120
34 | 40
35 | 451
36 | 61
37 |
38 |
39 |
40 | <html><head/><body><p align="justify"><span style=" font-weight:600;">Basically this tool is used to retrieve Cache,cookie and history </span></p><p align="justify"><span style=" font-weight:600;"> of chrome and mozilla browser.</span></p></body></html>
41 |
42 |
43 |
44 |
45 |
46 | 170
47 | 100
48 | 351
49 | 20
50 |
51 |
52 |
53 | <html><head/><body><p>Please select the following option-</p><p><br/></p></body></html>
54 |
55 |
56 |
57 |
58 |
59 | 300
60 | 140
61 | 99
62 | 27
63 |
64 |
65 |
66 | New
67 |
68 |
69 |
70 |
71 |
72 | 300
73 | 180
74 | 99
75 | 27
76 |
77 |
78 |
79 | Help
80 |
81 |
82 |
83 |
126 |
127 |
128 | TopToolBarArea
129 |
130 |
131 | false
132 |
133 |
134 |
135 |
136 |
137 | toolBar
138 |
139 |
140 | TopToolBarArea
141 |
142 |
143 | false
144 |
145 |
146 |
147 |
148 | New
149 |
150 |
151 |
152 |
153 | Chorme
154 |
155 |
156 |
157 |
158 | Mozilla
159 |
160 |
161 |
162 |
163 | Chorme
164 |
165 |
166 |
167 |
168 | Mozilla
169 |
170 |
171 |
172 |
173 | Cache
174 |
175 |
176 |
177 |
178 | Cookies
179 |
180 |
181 |
182 |
183 | History
184 |
185 |
186 |
187 |
188 | Help
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
--------------------------------------------------------------------------------
/mozdialog.cpp:
--------------------------------------------------------------------------------
1 | #include "mozdialog.h"
2 | #include "ui_mozdialog.h"
3 |
4 | mozDialog::mozDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::mozDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | mozDialog::~mozDialog()
12 | {
13 | delete ui;
14 | }
15 |
--------------------------------------------------------------------------------
/mozdialog.h:
--------------------------------------------------------------------------------
1 | #ifndef MOZDIALOG_H
2 | #define MOZDIALOG_H
3 |
4 | #include
5 |
6 | namespace Ui {
7 | class mozDialog;
8 | }
9 |
10 | class mozDialog : public QDialog
11 | {
12 | Q_OBJECT
13 |
14 | public:
15 | explicit mozDialog(QWidget *parent = 0);
16 | ~mozDialog();
17 |
18 | private:
19 | Ui::mozDialog *ui;
20 | };
21 |
22 | #endif // MOZDIALOG_H
23 |
--------------------------------------------------------------------------------
/mozdialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | mozDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 625
10 | 357
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 40
20 | 20
21 | 181
22 | 20
23 |
24 |
25 |
26 | <html><head/><body><p><span style=" font-size:12pt; font-weight:600;">ABOUT MOZILLA:-</span></p></body></html>
27 |
28 |
29 |
30 |
31 |
32 | 40
33 | 60
34 | 541
35 | 221
36 |
37 |
38 |
39 | <html><head/><body><p><span style=" font-style:italic;">Mozilla Firefox (known simply as Firefox) is a </span><a href="http://en.wikipedia.org/wiki/Free_and_open-source_software"><span style=" font-style:italic; color:#0000ff;">free and </span></a></p><p><a href="http://en.wikipedia.org/wiki/Free_and_open-source_software"><span style=" font-style:italic; color:#0000ff;">open-source</span></a><a href="http://en.wikipedia.org/wiki/Web_browser"><span style=" font-style:italic; color:#0000ff;">web browser</span></a><span style=" font-style:italic;"> developed for </span><a href="http://en.wikipedia.org/wiki/Microsoft_Windows"><span style=" font-style:italic; color:#0000ff;">Windows</span></a><span style=" font-style:italic;">, </span></p><p><a href="http://en.wikipedia.org/wiki/OS_X"><span style=" font-style:italic; color:#0000ff;">OS X</span></a><span style=" font-style:italic;">, and </span><a href="http://en.wikipedia.org/wiki/Linux"><span style=" font-style:italic; color:#0000ff;">Linux</span></a><span style=" font-style:italic;">, with a </span><a href="http://en.wikipedia.org/wiki/Mobile_computing"><span style=" font-style:italic; color:#0000ff;">mobile</span></a><span style=" font-style:italic;"> version for </span><a href="http://en.wikipedia.org/wiki/Android_%28operating_system%29"><span style=" font-style:italic; color:#0000ff;">Android</span></a><span style=" font-style:italic;">, </span></p><p><span style=" font-style:italic;">by the </span><a href="http://en.wikipedia.org/wiki/Mozilla_Foundation"><span style=" font-style:italic; color:#0000ff;">Mozilla Foundation</span></a><span style=" font-style:italic;"> and its subsidiary, </span></p><p><span style=" font-style:italic;">the </span><a href="http://en.wikipedia.org/wiki/Mozilla_Corporation"><span style=" font-style:italic; color:#0000ff;">Mozilla Corporation</span></a><span style=" font-style:italic;">. Firefox uses the </span><a href="http://en.wikipedia.org/wiki/Gecko_%28layout_engine%29"><span style=" font-style:italic; color:#0000ff;">Gecko</span></a></p><p><a href="http://en.wikipedia.org/wiki/Layout_engine"><span style=" font-style:italic; color:#0000ff;">layout engine</span></a><span style=" font-style:italic;"> to render web pages, which implements </span></p><p><span style=" font-style:italic;">current and anticipated </span><a href="http://en.wikipedia.org/wiki/Web_standards"><span style=" font-style:italic; color:#0000ff;">web standards</span></a><span style=" font-style:italic;">.</span></p></body></html>
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/seconddialog.cpp:
--------------------------------------------------------------------------------
1 | #include "seconddialog.h"
2 | #include "ui_seconddialog.h"
3 |
4 | secondDialog::secondDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::secondDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | secondDialog::~secondDialog()
12 | {
13 | delete ui;
14 | }
15 |
16 | void secondDialog::on_pushButton_4_clicked()
17 | {
18 | this->hide();
19 | }
20 |
21 | void secondDialog::on_pushButton_clicked()
22 | {
23 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
24 | mydb.setDatabaseName("/home/gora/.mozilla/firefox/hdinbx27.default/cookies.sqlite");
25 | if(!mydb.open()){
26 | qDebug()<<"failed";
27 | }
28 | else{
29 | qDebug()<<"connected";
30 | }
31 | QSqlQueryModel *modal=new QSqlQueryModel();
32 | mydb.isOpen();
33 | QSqlQuery *qry=new QSqlQuery(mydb);
34 | qry->prepare("select * from moz_cookies");
35 | qry->exec();
36 | modal->setQuery(*qry);
37 | ui->tableView->setModel(modal);
38 | mydb.close();
39 | qDebug()<<(modal->rowCount());
40 | }
41 |
42 | void secondDialog::on_pushButton_5_clicked()
43 | {
44 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
45 | mydb.setDatabaseName("/home/gora/.mozilla/firefox/hdinbx27.default/places.sqlite");
46 | if(!mydb.open()){
47 | qDebug()<<"failed";
48 | }
49 | else{
50 | qDebug()<<"connected";
51 | }
52 | QSqlQueryModel *modal=new QSqlQueryModel();
53 | mydb.isOpen();
54 | QSqlQuery *qry=new QSqlQuery(mydb);
55 | qry->prepare("select title,dateAdded,lastModified,guid from moz_bookmarks");
56 | qry->exec();
57 | modal->setQuery(*qry);
58 | ui->tableView->setModel(modal);
59 | mydb.close();
60 | qDebug()<<(modal->rowCount());
61 | }
62 |
63 | void secondDialog::on_pushButton_6_clicked()
64 | {
65 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
66 | mydb.setDatabaseName("/home/gora/.mozilla/firefox/hdinbx27.default/places.sqlite");
67 | if(!mydb.open()){
68 | qDebug()<<"failed";
69 | }
70 | else{
71 | qDebug()<<"connected";
72 | }
73 | QSqlQueryModel *modal=new QSqlQueryModel();
74 | mydb.isOpen();
75 | QSqlQuery *qry=new QSqlQuery(mydb);
76 | qry->prepare("select * from moz_inputhistory");
77 | qry->exec();
78 | modal->setQuery(*qry);
79 | ui->tableView->setModel(modal);
80 | mydb.close();
81 | qDebug()<<(modal->rowCount());
82 | }
83 |
84 | void secondDialog::on_pushButton_3_clicked()
85 | {
86 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
87 | mydb.setDatabaseName("/home/gora/.mozilla/firefox/hdinbx27.default/places.sqlite");
88 | if(!mydb.open()){
89 | qDebug()<<"failed";
90 | }
91 | else{
92 | qDebug()<<"connected";
93 | }
94 | QSqlQueryModel *modal=new QSqlQueryModel();
95 | mydb.isOpen();
96 | QSqlQuery *qry=new QSqlQuery(mydb);
97 | qry->prepare("select * from moz_places");
98 | qry->exec();
99 | modal->setQuery(*qry);
100 | ui->tableView->setModel(modal);
101 | mydb.close();
102 | qDebug()<<(modal->rowCount());
103 | }
104 |
105 | void secondDialog::on_pushButton_2_clicked()
106 | {
107 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
108 | mydb.setDatabaseName("/home/gora/.mozilla/firefox/hdinbx27.default/formhistory.sqlite");
109 | if(!mydb.open()){
110 | qDebug()<<"failed";
111 | }
112 | else{
113 | qDebug()<<"connected";
114 | }
115 | QSqlQueryModel *modal=new QSqlQueryModel();
116 | mydb.isOpen();
117 | QSqlQuery *qry=new QSqlQuery(mydb);
118 | qry->prepare("select * from moz_formhistory");
119 | qry->exec();
120 | modal->setQuery(*qry);
121 | ui->tableView->setModel(modal);
122 | mydb.close();
123 | qDebug()<<(modal->rowCount());
124 | }
125 |
126 | void secondDialog::on_pushButton_7_clicked()
127 | {
128 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
129 | mydb.setDatabaseName("/home/gora/.mozilla/firefox/hdinbx27.default/signons.sqlite");
130 | if(!mydb.open()){
131 | qDebug()<<"failed";
132 | }
133 | else{
134 | qDebug()<<"connected";
135 | }
136 | QSqlQueryModel *modal=new QSqlQueryModel();
137 | mydb.isOpen();
138 | QSqlQuery *qry=new QSqlQuery(mydb);
139 | qry->prepare("select * from moz_logins");
140 | qry->exec();
141 | modal->setQuery(*qry);
142 | ui->tableView->setModel(modal);
143 | mydb.close();
144 | qDebug()<<(modal->rowCount());
145 | }
146 |
--------------------------------------------------------------------------------
/seconddialog.h:
--------------------------------------------------------------------------------
1 | #ifndef SECONDDIALOG_H
2 | #define SECONDDIALOG_H
3 |
4 | #include
5 | #include
6 | #include
7 | #include
8 |
9 | namespace Ui {
10 | class secondDialog;
11 | }
12 |
13 | class secondDialog : public QDialog
14 | {
15 | Q_OBJECT
16 |
17 | public:
18 | explicit secondDialog(QWidget *parent = 0);
19 | ~secondDialog();
20 |
21 | private slots:
22 | void on_pushButton_4_clicked();
23 |
24 | void on_pushButton_clicked();
25 |
26 | void on_pushButton_5_clicked();
27 |
28 | void on_pushButton_6_clicked();
29 |
30 | void on_pushButton_3_clicked();
31 |
32 | void on_pushButton_2_clicked();
33 |
34 | void on_pushButton_7_clicked();
35 |
36 | private:
37 | Ui::secondDialog *ui;
38 | };
39 |
40 | #endif // SECONDDIALOG_H
41 |
--------------------------------------------------------------------------------
/seconddialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | secondDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 669
10 | 388
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 110
20 | 0
21 | 431
22 | 20
23 |
24 |
25 |
26 | <html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:600;">Please select following options for mozilla-</span></p></body></html>
27 |
28 |
29 |
30 |
31 |
32 | 0
33 | 40
34 | 99
35 | 27
36 |
37 |
38 |
39 | Cookies
40 |
41 |
42 |
43 |
44 |
45 | 0
46 | 130
47 | 99
48 | 27
49 |
50 |
51 |
52 | Cache
53 |
54 |
55 |
56 |
57 |
58 | 0
59 | 160
60 | 99
61 | 27
62 |
63 |
64 |
65 | History
66 |
67 |
68 |
69 |
70 |
71 | 0
72 | 220
73 | 99
74 | 27
75 |
76 |
77 |
78 | Cancel
79 |
80 |
81 |
82 |
83 |
84 | 105
85 | 40
86 | 561
87 | 341
88 |
89 |
90 |
91 |
92 |
93 |
94 | 0
95 | 70
96 | 99
97 | 27
98 |
99 |
100 |
101 | Bookmarks
102 |
103 |
104 |
105 |
106 |
107 | 0
108 | 100
109 | 99
110 | 27
111 |
112 |
113 |
114 | Inputs
115 |
116 |
117 |
118 |
119 |
120 | 0
121 | 190
122 | 99
123 | 27
124 |
125 |
126 |
127 | Login Data
128 |
129 |
130 |
131 |
132 |
133 |
134 |
--------------------------------------------------------------------------------
/thirddialog.cpp:
--------------------------------------------------------------------------------
1 | #include "thirddialog.h"
2 | #include "ui_thirddialog.h"
3 |
4 | thirdDialog::thirdDialog(QWidget *parent) :
5 | QDialog(parent),
6 | ui(new Ui::thirdDialog)
7 | {
8 | ui->setupUi(this);
9 | }
10 |
11 | thirdDialog::~thirdDialog()
12 | {
13 | delete ui;
14 | }
15 |
16 | void thirdDialog::on_pushButton_clicked()
17 | {
18 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
19 | mydb.setDatabaseName("../.config/google-chrome/Default/Cookies");
20 | if(!mydb.open()){
21 | qDebug()<<"failed";
22 | }
23 | else{
24 | qDebug()<<"connected";
25 | }
26 | QSqlQueryModel *modal=new QSqlQueryModel();
27 | mydb.isOpen();
28 | QSqlQuery *qry=new QSqlQuery(mydb);
29 | qry->prepare("select * from cookies");
30 | qry->exec();
31 | modal->setQuery(*qry);
32 | ui->tableView->setModel(modal);
33 | mydb.close();
34 | qDebug()<<(modal->rowCount());
35 | }
36 |
37 | void thirdDialog::on_pushButton_2_clicked()
38 | {
39 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
40 | mydb.setDatabaseName("../.config/google-chrome/Default/Top Sites");
41 | if(!mydb.open()){
42 | qDebug()<<"failed";
43 | }
44 | else{
45 | qDebug()<<"connected";
46 | }
47 | QSqlQueryModel *modal=new QSqlQueryModel();
48 | mydb.isOpen();
49 | QSqlQuery *qry=new QSqlQuery(mydb);
50 | qry->prepare("select * from thumbnails");
51 | qry->exec();
52 | modal->setQuery(*qry);
53 | ui->tableView->setModel(modal);
54 | mydb.close();
55 | qDebug()<<(modal->rowCount());
56 | }
57 |
58 | void thirdDialog::on_pushButton_3_clicked()
59 | {
60 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
61 | mydb.setDatabaseName("../.config/google-chrome/Default/Shortcuts");
62 | if(!mydb.open()){
63 | qDebug()<<"failed";
64 | }
65 | else{
66 | qDebug()<<"connected";
67 | }
68 | QSqlQueryModel *modal=new QSqlQueryModel();
69 | mydb.isOpen();
70 | QSqlQuery *qry=new QSqlQuery(mydb);
71 | qry->prepare("select * from omni_box_shortcuts");
72 | qry->exec();
73 | modal->setQuery(*qry);
74 | ui->tableView->setModel(modal);
75 | mydb.close();
76 | qDebug()<<(modal->rowCount());
77 | }
78 |
79 | void thirdDialog::on_pushButton_4_clicked()
80 | {
81 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
82 | mydb.setDatabaseName("../.config/google-chrome/Default/Application Cache/Index");
83 | if(!mydb.open()){
84 | qDebug()<<"failed";
85 | }
86 | else{
87 | qDebug()<<"connected";
88 | }
89 | QSqlQueryModel *modal=new QSqlQueryModel();
90 | mydb.isOpen();
91 | QSqlQuery *qry=new QSqlQuery(mydb);
92 | qry->prepare("select * from Caches");
93 | qry->exec();
94 | modal->setQuery(*qry);
95 | ui->tableView->setModel(modal);
96 | mydb.close();
97 | qDebug()<<(modal->rowCount());
98 | }
99 |
100 | void thirdDialog::on_pushButton_5_clicked()
101 | {
102 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
103 | mydb.setDatabaseName("../.config/google-chrome/Default/History");
104 | if(!mydb.open()){
105 | qDebug()<<"failed";
106 | }
107 | else{
108 | qDebug()<<"connected";
109 | }
110 | QSqlQueryModel *modal=new QSqlQueryModel();
111 | mydb.isOpen();
112 | QSqlQuery *qry=new QSqlQuery(mydb);
113 | qry->prepare("select * from urls");
114 | qry->exec();
115 | modal->setQuery(*qry);
116 | ui->tableView->setModel(modal);
117 | mydb.close();
118 | qDebug()<<(modal->rowCount());
119 | }
120 |
121 | void thirdDialog::on_pushButton_6_clicked()
122 | {
123 | QSqlDatabase mydb= QSqlDatabase::addDatabase("QSQLITE");
124 | mydb.setDatabaseName("../.config/google-chrome/Default/Login Data");
125 | if(!mydb.open()){
126 | qDebug()<<"failed";
127 | }
128 | else{
129 | qDebug()<<"connected";
130 | }
131 | QSqlQueryModel *modal=new QSqlQueryModel();
132 | mydb.isOpen();
133 | QSqlQuery *qry=new QSqlQuery(mydb);
134 | qry->prepare("select * from logins");
135 | qry->exec();
136 | modal->setQuery(*qry);
137 | ui->tableView->setModel(modal);
138 | mydb.close();
139 | qDebug()<<(modal->rowCount());
140 | }
141 |
142 | void thirdDialog::on_pushButton_7_clicked()
143 | {
144 | this->hide();
145 | }
146 |
--------------------------------------------------------------------------------
/thirddialog.h:
--------------------------------------------------------------------------------
1 | #ifndef THIRDDIALOG_H
2 | #define THIRDDIALOG_H
3 |
4 | #include
5 | #include
6 | #include
7 | #include
8 | namespace Ui {
9 | class thirdDialog;
10 | }
11 |
12 | class thirdDialog : public QDialog
13 | {
14 | Q_OBJECT
15 |
16 | public:
17 | explicit thirdDialog(QWidget *parent = 0);
18 | ~thirdDialog();
19 |
20 | private slots:
21 | void on_pushButton_clicked();
22 |
23 | void on_pushButton_2_clicked();
24 |
25 | void on_pushButton_3_clicked();
26 |
27 | void on_pushButton_4_clicked();
28 |
29 | void on_pushButton_5_clicked();
30 |
31 | void on_pushButton_6_clicked();
32 |
33 | void on_pushButton_7_clicked();
34 |
35 | private:
36 | Ui::thirdDialog *ui;
37 | };
38 |
39 | #endif // THIRDDIALOG_H
40 |
--------------------------------------------------------------------------------
/thirddialog.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | thirdDialog
4 |
5 |
6 |
7 | 0
8 | 0
9 | 668
10 | 395
11 |
12 |
13 |
14 | Dialog
15 |
16 |
17 |
18 |
19 | 130
20 | 0
21 | 421
22 | 20
23 |
24 |
25 |
26 | <html><head/><body><p align="center"><span style=" font-size:14pt;">Please select the following options for chorme-</span></p></body></html>
27 |
28 |
29 |
30 |
31 |
32 | 10
33 | 30
34 | 99
35 | 27
36 |
37 |
38 |
39 | Cookie
40 |
41 |
42 |
43 |
44 |
45 | 10
46 | 70
47 | 99
48 | 27
49 |
50 |
51 |
52 | Bookmarks
53 |
54 |
55 |
56 |
57 |
58 | 10
59 | 110
60 | 99
61 | 27
62 |
63 |
64 |
65 | Inputs
66 |
67 |
68 |
69 |
70 |
71 | 10
72 | 150
73 | 99
74 | 27
75 |
76 |
77 |
78 | Cache
79 |
80 |
81 |
82 |
83 |
84 | 10
85 | 190
86 | 99
87 | 27
88 |
89 |
90 |
91 | History
92 |
93 |
94 |
95 |
96 |
97 | 10
98 | 230
99 | 99
100 | 27
101 |
102 |
103 |
104 | Login Data
105 |
106 |
107 |
108 |
109 |
110 | 10
111 | 270
112 | 99
113 | 27
114 |
115 |
116 |
117 | Cancel
118 |
119 |
120 |
121 |
122 |
123 | 110
124 | 30
125 | 541
126 | 351
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
--------------------------------------------------------------------------------