diff --git a/docs/README_DEV b/docs/README_DEV index c2d823a..68dbae3 100644 --- a/docs/README_DEV +++ b/docs/README_DEV @@ -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: diff --git a/docs/RELEASE_NOTES b/docs/RELEASE_NOTES index 9fe7f6c..3c34fcd 100644 --- a/docs/RELEASE_NOTES +++ b/docs/RELEASE_NOTES @@ -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 diff --git a/docs/devnotes b/docs/devnotes index f8c4e7b..2f07b63 100644 --- a/docs/devnotes +++ b/docs/devnotes @@ -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? diff --git a/libs/fingerprint_index.py b/libs/fingerprint_index.py index 84892ae..dd60e1c 100644 --- a/libs/fingerprint_index.py +++ b/libs/fingerprint_index.py @@ -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: