WordPress - Getting credentials from configuration files
When we have access to the files of the host machine, we can search for credentials for MySQL in the configuration files of WordPress
Go to
/var/www/html
(default folder for server) and list elements
See content of wp-config.php and search for credentials
Check environment variables to obtain the credentials to the database
Access the database with MySQL and the credentials we have got
Last updated
Was this helpful?