I was trying to "google hack" my site to see what happened (I recently read about it), I googled for site:www.x.com intitle:"index of" "server at" + db
.
And found a .inc
file in the three directory.
<?php
class clsSettings
{
var $site = "localhost";
var $sitedb = "x";
var $siteuser = "x";
var $sitepass = "x";
} /* settings */
?>
Can someone access my database from outside my server?
Should I be worried about this sensitive info exposure?
Note: I removed sensitive info with X
s.