Hello,
I was somehow hacked today. 🙁
The hacker wasn't attempting to corrupt my files or anything like that because no damage was done.
However, they gained access to 2 of my files which they said was due to a lack of security.
These files are both in .PHP format.
One file, info.php includes 4 variables which define my MySQL information.
The other file, variables.php which gets all of my variables from a MySQL database.
The hacker told me that these were the only 2 files he had to access in order to hack my entire script, but did not tell me the specific holes.
They performed several actions on my entire script which I suspect they did by performing custom MySQL query inserts, and getting the admin password which is defined in variables.php
info.php and variables.php do not print any text, is there some way a person infamiliar with my code could have made variables from these 2 files print out for them to use?
One person I went to suggested password-protecting those 2 files, but I see big scripts out there like vBulletin that don't need to password-protect their variables.
Any help is appreciated, thank you very much.