Skip to content

Instantly share code, notes, and snippets.

@patrickserrano
Last active May 4, 2016 14:13
Show Gist options
  • Save patrickserrano/cecd9718c6c07adc0753 to your computer and use it in GitHub Desktop.
Save patrickserrano/cecd9718c6c07adc0753 to your computer and use it in GitHub Desktop.
Quick Ruby script for pulling passwords from Dinopass API
# script to pull 50 passwords into a CSV
# Requires 'curb' Ruby Gem ($ gem install curb)
# Pipe into CSV file for easy copy and paste!
# To run:
# cd to directory where file is stored
# $ Ruby dinopass.rb > passwords.csv
require 'curb'
for i in 0...50
password = Curl::Easy.perform("http://www.dinopass.com/password/simple")
puts password.body_str
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment