HAC MySql

This commit is contained in:
CoolHandSquid 2021-08-12 09:10:06 -04:00 committed by GitHub
parent e1cdfc3cdc
commit 1dadda86ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -544,3 +544,26 @@ x$waits\_global\_by\_latency
{% endtab %}
{% endtabs %}
## HackTricks Automatic Commands
```
Protocol_Name: MySql #Protocol Abbreviation if there is one.
Port_Number: 3306 #Comma separated if there is more than one.
Protocol_Description: MySql #Protocol Abbreviation Spelled out
Name: Notes
Description: Notes for MySql
Note: """
MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
https://book.hacktricks.xyz/pentesting/pentesting-mysql
"""
Name: Nmap
Description: Nmap with MySql Scripts
Command: """nmap --script=mysql-databases.nse,mysql-empty-password.nse,mysql-enum.nse,mysql-info.nse,mysql-variables.nse,mysql-vuln-cve2012-2122.nse {IP} -p 3306"""
Name: MySql
Description: Attempt to connect to mysql server
Command: """mysql -h {IP} -u {Username}@localhost"""
```