Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have these files in cgi-bin folder:

cgiecho
cgiemail
entropybanner.cgi
randhtml.cgi

I have no idea why I have that folder, or why I need it. Can someone explain in plain English, and let me know whether or not it is safe to delete this folder?

share|improve this question

migrated from stackoverflow.com Sep 17 '09 at 20:30

This question came from our site for professional and enthusiast programmers.

3 Answers 3

up vote 1 down vote accepted

I think you're meaning on your own server. If those files are there by default when you set up your account, you can probably safely delete them, but they also probably aren't doing any harm.

share|improve this answer

We can only speculate what the purpose of those scripts are without seeing them.

I would speculate that the first one simply prints out what is submitted to it, perhaps as some sort of testing/debugging tool

The second one probably was designed to take the contents of some web form and send the response to one or more email addresses

The third sounds like it is a part of a system to put advertising banners on a site

The last sounds like it might serve up a random web page, or some random HTML within a page.

The real way to see if you need these scripts is to open them, understand them or ask someone who can, then look at your site and see if that functionality is something you need.

You could also perhaps search through all your web pages and see if there are any references to these scripts there.

share|improve this answer

Yes, i have managed VPS.

I tried to see on some other account on this VPS, but i guess i deleted those default folders some time ago. Because this account is important i will simply ask my support why is that in there... :) I tried to open those files with notepad++ but bunch of "NULL" of printed on my screen... Weird...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.