Mysqlbrute
Jump to navigation
Jump to search
mysqlbrute
Description
mysqlbrute.py is a Python script that enables to easily crack passwords on MySQL databases.
Installation
# cd /usr/local/src/ # wget http://www.darkc0de.com/bruteforce/mysqlbrute.py # wget http://dl.dropbox.com/u/10761700/mysqlbrute.patch # patch -p0 < mysqlbrute.patch # mv mysqlbrute.py /usr/local/bin/ # chmod +x /usr/local/bin/mysqlbrute.py
How to use it?
Usage
Usage: ./mysqlbrute.py <server> <port> <database> <userlist> <wordlist>
Example
Use following command:
$ mysqlbrute.py 192.168.1.1 3306 mysql users.txt passwords.txt
with:
- 192.168.1.1: Server where MySQL is installed
- 3306: default port to MySQL service
- mysql: Name of the database to challenge
- users.txt: Name of the file containing users (one per line)
- passwords.txt: Name of the file containing passwords (one per line)