Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import json
import requests
import urllib3
import sys
urllib3.disable_warnings()
cookie = open("cookie.txt").readline().strip()
csrf_token = [x.split("=") for x in cookie.split(";") if "csrf" in x][0][1]