Reversing
Reversing copied to clipboard
Syntax error in python make_sc_hash_db.py line 501
Hi,
Thanks for your plugin, very useful. There is a small syntax error on line 501 in your make_sc_hash_db.py file.
$ python make_sc_hash_db.py
File "make_sc_hash_db.py", line 501
class ShellcodeDbCreator(object):
^
SyntaxError: invalid syntax
Below is the patch:
$ cat make_sc_hash_db.patch
--- make_sc_hash_db.py 2015-05-30 11:41:57.803752637 +0200
+++ make_sc_hash_db.py.patched 2015-05-30 11:42:33.239752447 +0200
@@ -492,7 +492,7 @@
('sll1AddHash32', 32, pseudocode_sll1AddHash32),
('playWith0xedb88320Hash', 32, pseudocode_playWith0xedb88320Hash),
('crc32', 32, 'Standard crc32'),
-
+]
############################################################
# Database creator
$ patch -p0 < make_sc_hash_db.patch
patching file make_sc_hash_db.py
Once applied, it works fine:
$ python make_sc_hash_db.py
python make_sc_hash_db.py <db_path> <dll_dir>