Skip to content

Instantly share code, notes, and snippets.

@sboesen
Created July 1, 2015 20:02
Show Gist options
  • Select an option

  • Save sboesen/37131b9fc14a9ba1dfd3 to your computer and use it in GitHub Desktop.

Select an option

Save sboesen/37131b9fc14a9ba1dfd3 to your computer and use it in GitHub Desktop.
alpha = 'abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'.scan(/./)
alpha.each do |i|
key_s = "Gr34tW0RkEnjoY1T"
key_e = "";
res = `./crypt #{key_s}#{i}#{key_e}`
if res.include? "No repeated"
else
puts "#{i}: #{res}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment