Ruby Hashcat Wrapper
#1
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
Reply
#2
Nice! Can you tell something about features etc?
Reply
#3
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 Tongue
Reply
#4
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.
Reply
#5
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
Reply
#6
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
Reply