Reversing icon indicating copy to clipboard operation
Reversing copied to clipboard

Syntax error in python make_sc_hash_db.py line 501

Open sebastiendamaye opened this issue 9 years ago • 0 comments

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>

sebastiendamaye avatar May 30 '15 09:05 sebastiendamaye