# MySQL Enum

### CheckList

* Check for version
* Try passwordless connection,authentication
* If authenticated try to access database, tables.&#x20;
* See if you can upload shell.

### MySQL nmap scripts

```
nmap -sV -Pn -vv  10.10.10.10 -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
```

### Brute-Force credentials

```
hydra -l root -P /usr/share/wordlists/rockyou.txt 10.10.10.10 mysql -t 4
```

### Try to login to MYSQL target

```
mysql -h 10.10.10.10 -u root -p
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ed4m4s.blog/master-1/mysql-enum.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
