TCP 3306: MySQL
Connection
sudo mysql -u <user>
use <db>;
select * from mysql_func;mysql -u <user> -p <password> -h <ip> -P <port>Enumeration
show Grants;select @@hostname, @@tmpdir, @@version, @@version_compile_machine, @@plugin_dir;Misc
User defined functions (UDF)
Compile exploit
Create function in MySQL
Get root shell (using setuid)
Last updated