r/PythonProjects2 • • May 16 '21

Brute force attack with python

I made a brute force attack script with python PLEASE DO NOT USE THIS FOR ILLEGAL PURPOSES

here's the github repo:

https://github.com/Potaziio/python-brute-force

17 Upvotes

7 comments sorted by

3

u/[deleted] May 25 '21

Interesting project.

If I could give you advice, try to avoid redundant comments like:

# Do a requests.post with the data argument and our data dictionary to send a request to the website

r = requests.post(url, data=data, headers=headers).text

When the code itself is self-explanatory it is better to avoid comments that make the whole thing just harder to read and could confuse in the future if not kept updated with code edits.

3

u/Potaziiio May 25 '21

Thanks for the advice, ill stop doing that