forked from pawlaszczyk/fqlite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of version 1.5 of FQLite
- Loading branch information
0 parents
commit 2667df2
Showing
126 changed files
with
28,268 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Manifest-Version: 1.0 | ||
Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader | ||
Rsrc-Class-Path: ./ antlr-4.8-complete.jar | ||
Rsrc-Main-Class: fqlite.base.GUI | ||
SplashScreen-Image: fqlite_logo_256.png | ||
Class-Path: . | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/.DS_Store | ||
/OpenSansEmoji.ttf | ||
/closeDB_gray.png | ||
/database-icon.png | ||
/database-small-icon.png | ||
/database-table-icon.html | ||
/error-48.png | ||
/exit3_gray.png | ||
/export.png | ||
/export_gray.png | ||
/facewink.png | ||
/find.png | ||
/fqlite/ | ||
/fqlite_logo_256.png | ||
/fqlite_logo_small.png | ||
/helpcontent_gray.png | ||
/hex-32.png | ||
/icon-photo.png | ||
/icon_checked.png | ||
/icon_deleted.png | ||
/icon_status.png | ||
/icon_trash.png | ||
/information-48.png | ||
/journal-icon.png | ||
/leaf.jpg | ||
/openDB_gray.png | ||
/picture.png | ||
/question-48.png | ||
/table-icon.png | ||
/table-key-icon.png | ||
/table_ico.png | ||
/table_icon.png | ||
/table_iconsmall.png | ||
/testcase.txt | ||
/testcorpus.txt | ||
/trash-icon.png | ||
/wal-icon.png | ||
/warning-48.png |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>FQLite</groupId> | ||
<artifactId>FQLite</artifactId> | ||
<version>1.4_snapshot</version> | ||
<name>FQlite - Forensic SQLite Data Recovery Tool </name> | ||
<description>Maven Builder script for creating a runnable JAR-archive </description> | ||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
<resources> | ||
<resource> | ||
<directory>src</directory> | ||
<excludes> | ||
<exclude>**/*.java</exclude> | ||
</excludes> | ||
</resource> | ||
<resource> | ||
<directory>resources</directory> | ||
<excludes> | ||
<exclude>**/*.java</exclude> | ||
</excludes> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/Users/pawlaszc/Documents/Development/TestCorpus/larger.db:0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
################################################################## | ||
# Only used for internal testing # | ||
# Author: Dirk Pawlaszczyk # | ||
# https://faui1-files.cs.fau.de/public/sqlite-forensic-corpus/ # | ||
################################################################## | ||
|
||
# malformed table definitions | ||
test/01/01-01.db:0 | ||
test/01/01-02.db:0 | ||
test/01/01-03.db:0 | ||
test/01/01-04.db:0 | ||
test/01/01-05.db:0 | ||
test/01/01-06.db:0 | ||
test/01/01-07.db:0 | ||
test/01/01-08.db:0 | ||
test/01/01-09.db:0 | ||
test/01/01-10.db:0 | ||
test/01/01-11.db:0 | ||
test/01/01-12.db:0 | ||
test/01/01-13.db:0 | ||
test/01/01-14.db:0 | ||
test/01/01-15.db:0 | ||
test/01/01-16.db:0 | ||
test/01/01-17.db:0 | ||
test/01/01-18.db:0 | ||
|
||
# malformed column definitions | ||
test/02/02-01.db:0 | ||
test/02/02-02.db:0 | ||
test/02/02-03.db:0 | ||
test/02/02-04.db:0 | ||
test/02/02-05.db:0 | ||
test/02/02-06.db:0 | ||
test/02/02-07.db:0 | ||
|
||
# index table (without row id) | ||
test/03/03-01.db:0 | ||
test/03/03-02.db:0 | ||
test/03/03-03.db:0 | ||
test/03/03-04.db:0 | ||
|
||
|
||
# unicode BE LE and surrogate characters (very tricky) | ||
test/04/04-01.db:0 | ||
test/04/04-02.db:0 | ||
test/04/04-03.db:0 | ||
test/04/04-04.db:0 | ||
test/04/0A-05.db:0 | ||
test/04/0A-06.db:0 | ||
|
||
# trigger, index, ... | ||
test/05/05-01.db:0 | ||
test/05/05-02.db:0 | ||
test/05/05-03.db:0 | ||
test/05/05-04.db:0 # works but without index table | ||
|
||
#virtual tables - not implemented yet | ||
|
||
|
||
|
||
# overflow, multibyte columns | ||
test/07/07-01.db:0 | ||
test/07/07-02.db:0 | ||
test/07/07-03.db:0 | ||
test/07/07-04.db:0 | ||
|
||
|
||
# big number floating point values | ||
test/08/08-01.db:0 | ||
|
||
|
||
# AUTOVACCUMtest | ||
test/09/09-01.db:0 | ||
|
||
|
||
# deleted entries or dropped tables | ||
test/0A/0A-01.db:0 | ||
test/0A/0A-02.db:0 | ||
test/0A/0A-03.db:0 | ||
test/0A/0A-04.db:0 | ||
test/0A/0A-05.db:0 | ||
|
||
# dropped table, partly overwritten with content from another table | ||
test/0B/0B-01.db:0 # works, but some lines of a dropped table are assigned to the overwriting table | ||
test/0B/0B-02.db:0 # works, but some lines of a dropped table are assigned to the overwriting table | ||
|
||
|
||
# definition area of values, very small and very large values, deleted records and dropped tables | ||
test/0C/0C-01.db:0 | ||
test/0C/0C-02.db:0 | ||
test/0C/0C-03.db:0 | ||
test/0C/0C-04.db:0 | ||
test/0C/0C-05.db:0 | ||
test/0C/0C-06.db:0 | ||
test/0C/0C-07.db:0 | ||
test/0C/0C-08.db:0 | ||
test/0C/0C-09.db:0 | ||
test/0C/0C-10.db:0 | ||
|
||
|
||
# deleted data records | ||
test/0D/0D-01.db:0 | ||
test/0D/0D-02.db:0 | ||
test/0D/0D-03.db:0 | ||
test/0D/0D-04.db:0 | ||
test/0D/0D-05.db:0 | ||
test/0D/0D-06.db:0 | ||
test/0D/0D-07.db:0 | ||
test/0D/0D-08.db:0 | ||
|
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package fqlite.base; | ||
|
||
/** | ||
* Defines an abstracts Base class with some basic | ||
* logging functionality. | ||
* | ||
* @author pawlaszc | ||
* | ||
*/ | ||
public abstract class Base { | ||
|
||
static final int ALL = 0; | ||
static final int DEBUG = 1; | ||
static final int INFO = 2; | ||
static final int WARNING = 3; | ||
static final int ERROR = 4; | ||
static int LOGLEVEL = ALL; | ||
|
||
|
||
public void debug(String message) { | ||
|
||
if (LOGLEVEL <= DEBUG) | ||
System.out.println("[DEBUG] " +message); | ||
} | ||
|
||
public void info(String message) { | ||
|
||
if (LOGLEVEL <= INFO) | ||
System.out.println("[INFO] " + message); | ||
} | ||
|
||
public void warning(String message) { | ||
|
||
if (LOGLEVEL <= WARNING) | ||
System.out.println("[WARNING] " + message); | ||
} | ||
|
||
public void err(String message) { | ||
|
||
/* always print error messages */ | ||
System.err.println("ERROR: " + message); | ||
} | ||
} |
Oops, something went wrong.