Skip to content

Instantly share code, notes, and snippets.

@jugyo
Forked from yusuke/gist:2641452
Created May 9, 2012 03:21
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jugyo/2641537 to your computer and use it in GitHub Desktop.
Save jugyo/2641537 to your computer and use it in GitHub Desktop.
require "open-uri"
[
"http://pastebin.com/raw.php?i=Kc9ng18h",
"http://pastebin.com/raw.php?i=vCMndK2L",
"http://pastebin.com/raw.php?i=JdQkuYwG",
"http://pastebin.com/raw.php?i=fw43srjY"
].each do |url|
open(url).each_line do |line|
name, password = line.chomp.split(/:/)
if name == ARGV[0]
puts password
exit
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment