How can I permanently delete the hacked index file within my cgi-bin folder?

Asked by:
Flossie / 8 Points
2011-09-28 2:51 pm EST
Website Troubleshooting
When I attempt to delete the index.php file in the cgi-bin folder, it restores itself. How do I permanently delete it?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff


1,846 Points
2011-09-28 3:40 pm EST
Hi Flossie,

Thanks for posting the message. I just want to confirm, are you seeing the same exact page be restored, or is it a blank file that when you view the source you see a resemblance?

If you are seeing a blank index file, this is a placeholder put in by our Systems Team. While the code in the source of the page looks harmful, it is actually harmless.

Did you delete the file within your File Manager? I've heard before users editing the permissions of a file and setting them to 000. If this is the case, then you would not be able to delete a file with 000 permissions.

If the issue continues to occur, you can email our support team,, so that we can investigate the issue further.

I hope this helps.

- Brad

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.