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

This commit is contained in:
JohnE 2016-01-08 03:47:29 -08:00
parent 96ef570419
commit 9a663ef918
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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