0

Can he do anything besides read database connection which is localhost and not accessible via remote host ?

  • What's the context behind this, and what do you mean by access? Are we talking read access? write access? both? Or do you mean just going to example.com/wp-config.php in a browser? – Tom J Nowell Dec 28 '18 at 20:43
  • Read access, to be able to read the wp-config contents I had a wp-config.txt backup and I saw it was ccessed via access logs – Born vs. Me Dec 28 '18 at 21:11
  • At the risk of committing what my daughter would refer to as "mansplaining," the most important thing to do immediately would be to change your DB credentials - I hope you've already done that. – butlerblog Dec 28 '18 at 21:31
  • and reset all passwords, if your secret hashes/salts are exposed then that's a problem too – Tom J Nowell Dec 28 '18 at 21:41
  • he can get access to my wp-admin credentials? – Born vs. Me Dec 28 '18 at 21:49
0

wp-config.php is an important file of the WP installation. It acts as a bridge between the WP file system and the MySQL database. wp-config.php contains the database connection credentials. Apart from this, it can also be used for:

  • Defining the security keys.
  • To specify the database prefix.
  • To set the default language for your admin panel.

If you have been hacked I recommend looking at: https://codex.wordpress.org/FAQ_My_site_was_hacked

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.