Created
January 6, 2025 01:34
-
-
Save neon-ninja/33319104c8e7d5d2c774d6f57a8268c4 to your computer and use it in GitHub Desktop.
zenbu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import time | |
| s = requests.Session() | |
| def login(u,p): | |
| r=s.post("https://secure.zenbu.net.nz/api/login.php", data={ "form_request":"login","form_submit":"login","username":u,"password":p}) | |
| print(r) | |
| login("username","password") | |
| while True: | |
| print(s.get("https://secure.zenbu.net.nz/api/userCreditDetails.php").json()) | |
| r = s.get("http://example.com") | |
| print(r) | |
| print(r.url) | |
| time.sleep(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment