Skip to content

MySQL - 3306

  • PORT 3306
  • open-source dbms supported by Oracle.
  • saved in files with .sql

Default Config:

  • If we want to install a mysql server:
  • sudo apt install mysql-server -y
  • cat /etc/mysql/mysql.conf.d/mysqld.cnf | grep -v "#" | sed -r '/^\s*$/d'

Dangerous Settings:


Commands:

  • sudo nmap 10.129.14.128 -sV -sC -p3306 --script mysql*
  • mysql -u root -pP4SSw0rd -h 10.129.14.128
  • System Schema and Information Schema contain metadata of the dbs and tables. *

    * select version(); *