This forum is in archive mode. You will not be able to post new content.

Author Topic: [Source] HashHunter.py  (Read 1573 times)

0 Members and 1 Guest are viewing this topic.

Offline daxda

  • Peasant
  • *
  • Posts: 114
  • Cookies: 112
  • Not the guy you're looking for
    • View Profile
    • Daxda on Github
[Source] HashHunter.py
« on: 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

[gist]Daapii/7066546[/gist]

view the old version here
 
« Last Edit: October 20, 2013, 10:44:43 AM by daxda »

Offline NovaCygni

  • Peasant
  • *
  • Posts: 86
  • Cookies: 2
  • 403:Forbidden
    • View Profile
Re: [Source] HashHunter.py
« Reply #1 on: October 13, 2013, 04:21:27 PM »
Nice work ^^
We do what we want, Because we can.

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: [Source] HashHunter.py
« Reply #2 on: October 13, 2013, 04:44:01 PM »
Not bad at all, however I suggest you put separate boolean checks into parentheses, the code will be more readable, like
Code: [Select]
elif choice == "2" or choice == "sha1" or choice == "SHA-1" or choice == "SHA1" or choice == "sha-1":
should be
Code: [Select]
elif (choice == "2") or (choice == "sha1") or (choice == "SHA-1") or (choice == "SHA1") or (choice == "sha-1"):

Offline daxda

  • Peasant
  • *
  • Posts: 114
  • Cookies: 112
  • Not the guy you're looking for
    • View Profile
    • Daxda on Github
Re: [Source] HashHunter.py
« Reply #3 on: October 13, 2013, 04:49:49 PM »
Nice work ^^

Thanks!


@Kulverstukas,
thanks for your feedback :)

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: [Source] HashHunter.py
« Reply #4 on: October 13, 2013, 05:11:04 PM »
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.
« Last Edit: October 13, 2013, 05:11:51 PM by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline daxda

  • Peasant
  • *
  • Posts: 114
  • Cookies: 112
  • Not the guy you're looking for
    • View Profile
    • Daxda on Github
Re: [Source] HashHunter.py
« Reply #5 on: October 13, 2013, 05:24:57 PM »
Thanks for your feedback proxx, will definitely look into cython! :)
« Last Edit: October 13, 2013, 05:26:53 PM by daxda »

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.