my sites hacked by c99shell modded by synsta

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

my sites hacked by c99shell modded by synsta

Post by hannnndy »

hi friends

once i woke up and there were no home page on my site some body uploaded a file named cach.php in my host and ran in after that uploaded the file named index.html in the root


do you know how he/she did that
I have disabled my upload code because all cach.php files where uploaded in my upload directories and i placed a .htaccess file in upload directories to ban the users running php in those directories the problem was there was a cach.php in the root i do not know how it has been uploaded there

is there a solution for me to prevent such attacks?

i attach the cach.php and .htaccess file in order to understanding it which where not allowed
Post Reply