View Full Version : Searching cgi-bin info file
bramdaman
09-06-2001, 12:34 PM
I used to have a file called info.cgi which, when run, gave me all the info about where Perl was installed, sendmail etc.
I lost it, can somebody help me out?
bramdaman@punkass.com
'Plat
09-06-2001, 01:29 PM
I have a php one that gives you info of the server locals.
email me for it plat@xmail.com
well according to what you said i wrote up a few lines. just copy the lines into notepad, save them as info.cgi and upload them in ASCII onto the server (into the cgi-bin directory) there you chmod it to 755
and run it from the web ... that's it.
here is the code :
--------- BEGIN ---------
#!/bin/bash
echo "Content-type: text/html"; echo ""; echo "";
whereis perl
echo "<BR>";
whereis sendmail
---------- END ---------
it's going to display where perl, and where sendmail are located.
greetings
efp
ICQ # 67443334
email : efp@gmx.net
bramdaman
09-06-2001, 03:44 PM
efp: Thanks!
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.