Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Syntax error in python make_sc_hash_db.py line 501 #5

Open
sebastiendamaye opened this issue May 30, 2015 · 0 comments
Open

Syntax error in python make_sc_hash_db.py line 501 #5

sebastiendamaye opened this issue May 30, 2015 · 0 comments

Comments

@sebastiendamaye
Copy link

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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant