GCP - Cloud SQL Unauthenticated Enum

{{#include ../../../banners/hacktricks-training.md}}

Cloud SQL

For more infromation about Cloud SQL check:

{{#ref}}
../gcp-services/gcp-cloud-sql-enum.md
{{#endref}}

Brute Force

If you have access to a Cloud SQL port because all internet is permitted or for any other reason, you can try to brute force credentials.

Check this page for different tools to burte-force different database technologies:

{{#ref}}
https://book.hacktricks.wiki/en/generic-hacking/brute-force.html
{{#endref}}

Remember that with some privileges it's possible to list all the database users via GCP API.

{{#include ../../../banners/hacktricks-training.md}}