Posts: 2
Threads: 1
Joined: Jun 2014
Wrote a simple ruby hashcat wrapper last night using a pretty cool ruby gem (rprogram). Haven't done much testing with it but it seems to work. It was like a 15 min project so don't hate too much. :| It does what I need, might throw together a Sinatra API for it in the coming days.
Code:
https://rubygems.org/gems/ruby_hashcat
Posts: 5,185
Threads: 230
Joined: Apr 2010
Nice! Can you tell something about features etc?
Posts: 40
Threads: 6
Joined: Mar 2014
this could be awesome to program a AUTO-CRACKing loop with dynamic wordlist building based on :
-cracked passwords
-twitter trends
-newsfeed
all At once. So basically you would start your process and it would run forever (or until you have cracked your whole list).
now that I think of it this could probably be done in Bash lol yeah but still
Posts: 2
Threads: 1
Joined: Jun 2014
Just FYI, I got around to updating this and added the Rest API and a small library.
https://github.com/coleton/ruby_hashcat
or
https://rubygems.org/gems/ruby_hashcat
Let me know if you have any feature requests.
API support crack, status, clean, and results.
You basically upload a hash and word list, associate an id to the job, and then your options in a post request. I need to get around to updating the docs but the test files should show you how I use it.
Posts: 5,185
Threads: 230
Joined: Apr 2010
cool, thanks! isn't metasploit using ruby? i think they added support for hashcat a while back, maybe than can make special use of it
Posts: 1
Threads: 0
Joined: Feb 2015
So basically you would start your process and it would run forever (or until you have cracked your whole list). now that I think of it this could probably be done in Bash lol yeah but still Tongue..??
G