Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save picatz/105f18b90fa18a6569e0b8ca800075bd to your computer and use it in GitHub Desktop.
Save picatz/105f18b90fa18a6569e0b8ca800075bd to your computer and use it in GitHub Desktop.
Violent Ruby: Streaming REST API Unix Password Cracker using Params
post '/crack_passwords' do
content_type :json
config = {
file: params['file'][:tempfile],
dictionary: params['dictionary'][:tempfile]
}
upc = ViolentRuby::UnixPasswordCracker.new(config) # not really doing anything
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment