Skip to content

Commit fcdf708

Browse files
authored
Update README.md
updated readme file
1 parent 1124ab9 commit fcdf708

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

README.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,43 @@
1-
# Brute-Force
1+
2+
# Brute-Force Attack
3+
**Description:** This is a Python script for performing a simple brute-force attack on a login page. It takes a username and a list of passwords from a file, and then iterates through each password, attempting to log in to the target website until a valid password is found.
4+
5+
## Requirements :
6+
- Python 3.x
7+
- `requests` library (install with `pip install requests`)
8+
- `termcolor` library (install with `pip install termcolor`)
9+
10+
## Usage:
11+
1. Make sure you have Python installed on your system.
12+
2. Install the required libraries by running the following commands:
13+
14+
```python
15+
pip install requests
16+
pip install termcolor
17+
```
18+
3. Save the list of passwords in a file. Each line in the file should contain one password.
19+
4. Run the script using the following command:
20+
21+
```python
22+
python script.py
23+
```
24+
25+
5. The script will prompt you to provide the necessary information:
26+
27+
- Enter the URL of the login page.
28+
- Enter the username for the account you want to brute-force.
29+
- Enter the path to the password file.
30+
- Provide the string that occurs on the page when login fails.
31+
- Optionally, provide the cookie value if the website requires it.
32+
33+
6. The script will start the brute-force attack and display the attempted passwords. If it successfully finds the correct password, it will print the username and password and exit.
34+
35+
## Important Notes :
36+
- This script is intended for educational and ethical purposes only. Only use it on systems that you have explicit permission to test.
37+
- Brute-force attacks are not recommended as they can be illegal and may cause harm to the target system. Use it responsibly and with caution.
38+
- Always use strong and unique passwords to protect your online accounts.
39+
40+
# Disclaimer
41+
**The author of this script is not responsible for any misuse or damages caused by using this script. Use it at your own risk.**
42+
43+
*Happy hacking responsibly!*

0 commit comments

Comments
 (0)