WIP: changes are work in progress

This commit is contained in:
JohnE 2016-02-08 20:18:57 -08:00
parent 50132eeb7f
commit ddde72c13f
4 changed files with 29 additions and 3 deletions

View File

@ -41,8 +41,11 @@ print "Percent match: {}".format(str(percent))
[ Compare Fingerprint Index ]
db = FingerprintDB()
db.scanDBFile(file_in)
fp = FingerprintIndex()
fp.openIndex(fp_dir)
md5_db = db.getMD5DB()
md5_tables = db.getMD5Tables()
fp_list = fp.findFP(md5_db, md5_tables)
results = []
for fp in fp_list:

View File

@ -16,9 +16,9 @@ version 0.97
-changed android data switch from "-dd" to "-ad"
-changed command line option "-f" to "-db"
-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
-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
-new feature, creates and index of the fingerprints for quick comparisons

View File

@ -1,6 +1,24 @@
[[ 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 ]
android pull, data dir, comparison
@ -12,6 +30,11 @@ AFL (python port)
http://lcamtuf.coredump.cx/afl/
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 ]
-test android pull (regression testing)
-try VM android pull?

View File

@ -13,7 +13,7 @@ from libs.exceptions import FingerprintIndexOpen
from libs.fingerprint import FingerprintDB
# prefixed with "_" so that it will be listed first and visible
INDEX_FILENAME = '_index_dpfp.db'
INDEX_FILENAME = '_index_dbfp.db'
class FingerprintIndex: