Brute Force

testing935
7 years ago

0

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 ?

6replies
4voices
248views
dloser
7 years ago

0

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.

testing935
7 years ago

0

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

SIGKILL [r4v463]
7 years ago

0

1) Please try to improve your english
2) You’re not supposed to perform a bruteforce on this challenge.

testing935
7 years ago

0

Are you sure
because in the shares links you have a top10 of use password

L00PeR
7 years ago

0

Well, you can try testing this 10 passwords manually…

And, what’s on the variable “data”?

testing935
7 years ago

0

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)

```

You must be logged in to reply to this discussion. Login
1 of 7

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss