Added py3 and py2 compatibility + many bugfix

This commit is contained in:
lgandx 2020-01-09 14:47:56 -03:00
parent c52843a535
commit b510b2bb25
49 changed files with 2771 additions and 2058 deletions

View file

@ -25,7 +25,7 @@ import sys
from framework.win32.hashdump import dump_file_hashes
if len(sys.argv) < 3:
print "usage: %s bootkey SAM_File" % sys.argv[0]
print("usage: %s <system hive> <SAM hive>" % sys.argv[0])
sys.exit(1)
dump_file_hashes(sys.argv[1].decode("hex"), sys.argv[2])
dump_file_hashes(sys.argv[1], sys.argv[2])