Skip to content

Instantly share code, notes, and snippets.

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