EvilZone
Programming and Scripting => Scripting Languages => : daxda October 13, 2013, 02:47:56 PM
-
The guys from IRC encouraged me to publish the source of my hashcracker. It uses the well known wordlist agains hash check. Currently it only takes one hash at a time, but hey now you've got the source! You are free to use and modify and create your own stuff based on it! Leave feedback or improvements and the like if you want to! :)
Updated the hash hunter, it now supports brutforcing passwords.
View a video of it here (https://www.youtube.com/watch?v=uaiWa87NqfY)
[gist]Daapii/7066546[/gist]
view the old version here (https://gist.github.com/Daapii/6961881)
-
Nice work ^^
-
Not bad at all, however I suggest you put separate boolean checks into parentheses, the code will be more readable, like
elif choice == "2" or choice == "sha1" or choice == "SHA-1" or choice == "SHA1" or choice == "sha-1":
should be
elif (choice == "2") or (choice == "sha1") or (choice == "SHA-1") or (choice == "SHA1") or (choice == "sha-1"):
-
Nice work ^^
Thanks!
@Kulverstukas,
thanks for your feedback :)
-
I would personally have trimmed it down, but it looks pretty good to me.
Peformance wise it will probably suck but thats not the point here.
Code is very readable/understandable , some comments would be nice though.
You could try to compile the convertToHash() with cython for speed increase.
https://en.wikipedia.org/wiki/Cython
This compiles code to C as a module very nice stuff, massive increase in speed.
-
Thanks for your feedback proxx, will definitely look into cython! :)