Brute Force

I need Help
See my code
always my code launch requests
I’ve “Error Accessing ressource”
def bruteForce(site, login, list):
os.system("clear||cls")
statusCrack = True
print color.blue + "[*] Cracking ...\n" + color.yellow
while statusCrack == True :
link = site + "/login.php"
for password in list :
requete = requests.post(link, data=data)
if not 'ERROR' in requete.text :
print color.red + "[+] Password Cracked \n" + color.blue + " Password > " + colo$
statusCrack = False
Can you Help Me ?
Add me on hackthis
Or speak with me on IRC channel : https://www.hackthis.co.uk/irc/
Try to Ddos me, My ip : 127.0.0.1

How is this news? Try posting it in the right forum.
And while you are at it, perhaps add some more information so people can actually help you; the code is useless on its own. How this behaves depends on the site.
Also, make sure you copy all the code. Your editor cuts off lines and I don’t see any initialisation of data.
Finally, don’t be a dick and use this on sites where you don’t have the permission to do so.

don’t worry, I test my code in challenge requiring a brute-force attack
I’ve not probleme the rest of my code
I think the probleme come at :
requete = requests.post(link, data=data)
and the link is : https://www.hackthis.co.uk/levels/extras/real/4/planetbid/account.php
Add me on hackthis
Or speak with me on IRC channel : https://www.hackthis.co.uk/irc/
Try to Ddos me, My ip : 127.0.0.1


Add me on hackthis
Or speak with me on IRC channel : https://www.hackthis.co.uk/irc/
Try to Ddos me, My ip : 127.0.0.1

Human Stupidity , thats why Hackers always win.
? Med Amine Khelifi

Ho Sorry L00PeR
I'vnt write this little piece of my code :
```
values = {}
values[“username”] = login
values[“password”] = password
and the requests is that :
requete = requests.post(link, data=values)
```
Add me on hackthis
Or speak with me on IRC channel : https://www.hackthis.co.uk/irc/
Try to Ddos me, My ip : 127.0.0.1