Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
def build_backward!
puts "Current password: #{@password}"
ALPHABET.each do |char|
guess = char + @password
if @api.include?(guess)
@password = guess
build_backward!
return
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment