WIP: changes are work in progress
This commit is contained in:
parent
50132eeb7f
commit
ddde72c13f
|
@ -41,8 +41,11 @@ print "Percent match: {}".format(str(percent))
|
||||||
[ Compare Fingerprint Index ]
|
[ Compare Fingerprint Index ]
|
||||||
db = FingerprintDB()
|
db = FingerprintDB()
|
||||||
db.scanDBFile(file_in)
|
db.scanDBFile(file_in)
|
||||||
|
|
||||||
fp = FingerprintIndex()
|
fp = FingerprintIndex()
|
||||||
fp.openIndex(fp_dir)
|
fp.openIndex(fp_dir)
|
||||||
|
md5_db = db.getMD5DB()
|
||||||
|
md5_tables = db.getMD5Tables()
|
||||||
fp_list = fp.findFP(md5_db, md5_tables)
|
fp_list = fp.findFP(md5_db, md5_tables)
|
||||||
results = []
|
results = []
|
||||||
for fp in fp_list:
|
for fp in fp_list:
|
||||||
|
|
|
@ -16,9 +16,9 @@ version 0.97
|
||||||
-changed android data switch from "-dd" to "-ad"
|
-changed android data switch from "-dd" to "-ad"
|
||||||
-changed command line option "-f" to "-db"
|
-changed command line option "-f" to "-db"
|
||||||
-changed command line option "-pull" to "-android_pull"
|
-changed command line option "-pull" to "-android_pull"
|
||||||
-fixed bugs introduced with the importJSON and the fingerprint index cmoparison feature
|
-fixed bugs introduced with the importJSON and the fingerprint index comparison feature
|
||||||
-bug fixes to the -db feature to allow for single filename, improved error messages in the command line tool
|
-bug fixes to the -db feature to allow for single filename, improved error messages in the command line tool
|
||||||
-code cleanup to be more consistant with print statements and exception handing when calling the API
|
-code cleanup to be more consistent with print statements and exception handing when calling the API
|
||||||
|
|
||||||
version 0.96
|
version 0.96
|
||||||
-new feature, creates and index of the fingerprints for quick comparisons
|
-new feature, creates and index of the fingerprints for quick comparisons
|
||||||
|
|
|
@ -1,6 +1,24 @@
|
||||||
|
|
||||||
[[ TODO ]]
|
[[ TODO ]]
|
||||||
|
|
||||||
|
Action Items from the code review:
|
||||||
|
|
||||||
|
-Create a document describing the index file and include an example
|
||||||
|
|
||||||
|
-Add a table to the Index to list all the applications that have a fingerprint (include the app version)
|
||||||
|
|
||||||
|
-more functionality can result from this information in the index
|
||||||
|
|
||||||
|
-Create an example of the FingerprintDB class usage with a standalone tool
|
||||||
|
|
||||||
|
-Add a feature to add a fingerprint to the existing index (it currently recreates an index)
|
||||||
|
|
||||||
|
-Add function to query the index for a specific MD5 table (database schema)
|
||||||
|
|
||||||
|
-Add automated app version discovery to the android pull feature
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[ Regression Testing ]
|
[ Regression Testing ]
|
||||||
android pull, data dir, comparison
|
android pull, data dir, comparison
|
||||||
|
|
||||||
|
@ -12,6 +30,11 @@ AFL (python port)
|
||||||
http://lcamtuf.coredump.cx/afl/
|
http://lcamtuf.coredump.cx/afl/
|
||||||
https://bitbucket.org/jwilk/python-afl/src/af96425344b992ba6b8ea2c446e8eeea5dc43ccd/doc/?at=default
|
https://bitbucket.org/jwilk/python-afl/src/af96425344b992ba6b8ea2c446e8eeea5dc43ccd/doc/?at=default
|
||||||
|
|
||||||
|
[ Hashing ]
|
||||||
|
Hash the SQL create string.
|
||||||
|
Also hash the json schema created.
|
||||||
|
|
||||||
|
|
||||||
[ Android Pull ]
|
[ Android Pull ]
|
||||||
-test android pull (regression testing)
|
-test android pull (regression testing)
|
||||||
-try VM android pull?
|
-try VM android pull?
|
||||||
|
|
|
@ -13,7 +13,7 @@ from libs.exceptions import FingerprintIndexOpen
|
||||||
from libs.fingerprint import FingerprintDB
|
from libs.fingerprint import FingerprintDB
|
||||||
|
|
||||||
# prefixed with "_" so that it will be listed first and visible
|
# prefixed with "_" so that it will be listed first and visible
|
||||||
INDEX_FILENAME = '_index_dpfp.db'
|
INDEX_FILENAME = '_index_dbfp.db'
|
||||||
|
|
||||||
|
|
||||||
class FingerprintIndex:
|
class FingerprintIndex:
|
||||||
|
|
Loading…
Reference in New Issue