Bogged
This challenge involves issuing "bad" commands that have to be authenticated by a token generated through the following "leaked" source code:
import hashlib
secret = ""
def generate_command_token(command, secret):
hashed = hashlib.sha1(secret+command).hexdigest()
return hashed
def validate_input(command, token_in):
token = hash_command(command, secret)