Skip to content

Instantly share code, notes, and snippets.

@Ge0rg3
Created September 29, 2018 23:30
Show Gist options
  • Save Ge0rg3/0aa94971f025f5b26cd721e6a5135311 to your computer and use it in GitHub Desktop.
Save Ge0rg3/0aa94971f025f5b26cd721e6a5135311 to your computer and use it in GitHub Desktop.
Written for my CSAW Red 2018 Clicker Write-up
def purchase(clicker):
global authorization
data={'name':clicker}
req = rq.post("http://web.chal.csaw.io:10106/clicker/purchase", headers=authorization, json=data)
if req.json()['status'] == "success":
return "Success!"
else:
return "Error."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment