Last active
May 4, 2016 14:13
-
-
Save patrickserrano/cecd9718c6c07adc0753 to your computer and use it in GitHub Desktop.
Quick Ruby script for pulling passwords from Dinopass API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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