psypanda / hashID

Software to identify the different types of hashes -
http://psypanda.github.io/hashID
1.34k stars 183 forks source link

Support for Python 3.1/3.2 #28

Closed essobi closed 8 years ago

essobi commented 9 years ago

File "./hashID/hashid.py", line 177 HashInfo(name=u'Wordpress ≥ v2.6.2', hashcat=400, john='phpass', extended=False), ^ SyntaxError: invalid syntax

psypanda commented 9 years ago

This happens because the python version in the current Kali Linux (v1.1.0) is v3.2.3 which does not support Python 2's Unicode literal syntax.

For now I'll make it more obvious which Python versions hashID is compatible with. I'll leave this open until Kali is based on Debian Jessie which uses Python 3.4

0x90shell commented 9 years ago

Yes, I noticed the syntax issues in Jan and just altered to:

!/usr/bin/env python2.7

Haven't noticed any issues with the quick fix.

psypanda commented 9 years ago

Since 2c3973ba332980ae3749c82ca9ce95a6f37031b6 hashID should be fully compatible with python2.7 - No need to edit the shebang anymore

essobi commented 8 years ago

Smexy... Thanks..