From 9a663ef9188f3eeb310ee692f62be27e24fecd65 Mon Sep 17 00:00:00 2001 From: JohnE Date: Fri, 8 Jan 2016 03:47:29 -0800 Subject: [PATCH] BUG: fixed bug that had each app fingerprints be concatenated together because the fingerprint object was bring recycled and the new tables were appended...now I create a new fingerprint object for each file that is read --- dbfp.py | 2 +- docs/devnotes | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dbfp.py b/dbfp.py index 080bb4d..2fb4576 100644 --- a/dbfp.py +++ b/dbfp.py @@ -116,8 +116,8 @@ def __createFingerprint(in_dir, out_dir, dir_name): except: # not finding a databases folder is normal, not all apps use sqlite return - db = FingerprintDB() for filein in files: + db = FingerprintDB() ddir = db_dir + os.path.sep + filein logging.info('Parsing file "{}"'.format(ddir)) retVal = db.scanDBFile(ddir) diff --git a/docs/devnotes b/docs/devnotes index eeae461..3564e36 100644 --- a/docs/devnotes +++ b/docs/devnotes @@ -1,13 +1,14 @@ [[ TODO ]] -[ MD5 Index ] --modify fingerprint compare feature to use the index - +[ Android Pull ] -test android pull (regression testing) -try VM android pull? -use adb bridging technique +[ MD5 Index ] +-modify fingerprint compare feature to use the index + -test modified databases and the fingerprints created -index integrity