Shared Hosting Woes
Posted by Matt Johnson | 2007-06-01 17:05:59
I'm on a shared hosting account over at...well, I better not say. I learned about the shell_exec function in PHP a few days ago. If your host allows you to run that function, you'd better ask them to disable it. Anyone who knows your account username on the shared server can checkout all your files. Take a look at this script:
After I reported that to my host they claimed it wouldn't do anything and didn't pose a risk. Then I sent them an email that contained about 10 configuration files with database information in them. They disabled it. The tech dude didn't even thank me. Oh well, I'm getting off them and moving to a dedi pretty soon.
