HackfutSec/PhpBruter
**PhpBruter** is an advanced security testing tool designed for professional penetration testers to assess the security of phpMyAdmin installations.
Here's a comprehensive README.md file for your GitHub repository:
# PhpBruter - phpMyAdmin Enterprise Pentesting Tool

**PhpBruter** is an advanced security testing tool designed for professional penetration testers to assess the security of phpMyAdmin installations. This enterprise-grade tool provides multiple attack vectors to test authentication security with features like credential brute-forcing, password spraying, and custom wordlist attacks.
## Features
- ๐ **Multi-mode operation** (Default scan, Wordlist attack, Single test, Password spray)
- ๐ **Thread-safe operations** with configurable thread limits
- ๐ **Results persistence** (Automatically saves found credentials to JSON)
- ๐ **Proxy support** for routing traffic through intermediaries
- ๐ต๏ธ **IP rotation** with random X-Forwarded-For headers
- โฑ๏ธ **Performance metrics** with response time tracking
- ๐จ **Color-coded output** for easy result interpretation
- ๐ **Wordlist validation** with proper error handling
## Installation
1. Clone the repository:
```bash
git clone https://github.com/HackfutSec/PhpBruter.git
cd PhpBruter- Install dependencies:
pip install requests coloramaUsage
Basic usage:
python3 phpmyadmin_pentest.py [target_url]Or run without arguments for interactive mode:
python3 phpmyadmin_pentest.pyModes Available:
- Default Credential Scan - Tests common phpMyAdmin credentials
- Custom Wordlist Attack - Uses provided username and password wordlists
- Single Credential Test - Tests one specific username/password combination
- Password Spray Attack - Tests one username against a password wordlist
Configuration
Edit the CONFIG dictionary in the script to customize:
CONFIG = {
"user_agents": [...], # Customize user agents
"default_users": [...], # Add default usernames
"default_passwords": [...], # Add default passwords
"timeout": 15, # Request timeout
"delay": 1.5, # Delay between attempts
"max_threads": 5, # Maximum concurrent threads
"results_file": "scan_results.json", # Output file
"proxy": None # Configure proxies if needed
}Sample Wordlists
Example wordlists are provided in the wordlists/ directory:
common_users.txt- Common phpMyAdmin usernamescommon_passwords.txt- Common phpMyAdmin passwords
Legal Disclaimer
The developers assume no liability and are not responsible for any misuse or damage caused by this program. Only use on systems you own or have permission to test.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.