Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
def build_forward!
puts "Current password: #{@password}"
ALPHABET.each do |char|
guess = @password + char
if @api.include?(guess)
@password = guess
build_forward!
# once I'm done building forward, jump out of all stack frames
return
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment