MySQL (3306)
Oracle MySQL.
Port
3306 TCP
MySQL
Config File
/etc/mysql/mysql.conf.d/mysqld.cnf
Interact
You can check if it is possible to log in with user “root” and password “”.
mysql -h <IP> -P <PORT> -u <USER> -pC:\xampp\mysql\bin> .\mysql.exe -u <USER> -p <PASS> -D <DB_NAME> -e "SHOW TABLES;"> show databases;
> use <DBNAME>;
> show tables;
> describe <TABLE>;
> select * from <TABLE>;
> show grants;
> select load_file(”/etc/shadow”); # with root accessDEFINITION, MANIPULATION, DATATYPE
Attacks
Last updated
Was this helpful?