Skip to content

Instantly share code, notes, and snippets.

@Varal7
Last active March 22, 2018 06:34
Show Gist options
  • Save Varal7/29d3283e2ba42aeb3b0771c0f3489adf to your computer and use it in GitHub Desktop.
Save Varal7/29d3283e2ba42aeb3b0771c0f3489adf to your computer and use it in GitHub Desktop.
import requests
import base64
import json
SECRET = 12345678 # DO NOT SHARE
def send(t):
content = [[0,"e4",{"f":"j","t": t}]]
c = base64.b64encode(json.dumps(content).encode()).decode()
payload = {'s': SECRET, 'c': c}
r = requests.post('http://chasseautresor.cijm.org/e.php', data=payload)
send(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment