Commit 956444ddd8ce823af60a06efe849e94b023cbf07
1 parent
375d9939
Fixed evidence type handling
Showing
2 changed files
with
11 additions
and
8 deletions
bonetypes.py
digger.py
... | ... | @@ -20,6 +20,7 @@ from filelogger import FileLogger |
20 | 20 | from hashlib import sha256 |
21 | 21 | import bonetypes |
22 | 22 | import xml.etree.ElementTree |
23 | +import binascii | |
23 | 24 | |
24 | 25 | def getModules(): |
25 | 26 | choiceList = [] |
... | ... | @@ -73,7 +74,7 @@ def bagAndTag(): |
73 | 74 | for dir in dirnames: |
74 | 75 | for subroot, subdirnames, subfilenames in os.walk(tombPath + dir): |
75 | 76 | for filename in subfilenames: |
76 | - boneList.append({"path" : subroot + "/" + filename, "type": dir}) | |
77 | + boneList.append({"path" : subroot + "/" + filename, "type": bonetypes.definitions[dir]}) | |
77 | 78 | |
78 | 79 | d.gauge_start(title="Hashing all collected artifacts...",width=60,height=10) |
79 | 80 | boneCount = 0 | ... | ... |