Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save m0wfo/79580 to your computer and use it in GitHub Desktop.
Save m0wfo/79580 to your computer and use it in GitHub Desktop.
require "bcrypt"
password = BCrypt::Password.new("$2a$06$VHbKdt7CK1z91T3KC66RL.ezGSUTz4qW3FzpNJdPNCr0iiTLlefJC")
plist = File.open("/usr/share/dict/words") do |newline|
while line = newline.gets
lc = line.chomp
if password == lc
p lc
break
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment