A Handy utility to check how many attempts the Code Red has attacked your server. Change the path of the log settings in the code for your server log.
Just cut and paste: codered.php
<?php
echo("Code red has tried to attack us <font color='red'><b>");
echo `cat /usr/local/apache/logs/access_log | grep -c default.ida`;
echo("</b></font> times");
$date = date("m-d-y H:i");
echo(" as of: <font color='blue'><b> $date</b></font>");
?>
B-Broker
08-12-2001, 08:31 PM
Originally posted by Brad
A Handy utility to check how many attempts the Code Red has attacked your server. Change the path of the log settings in the code for your server log.
Just cut and paste: codered.php
<?php
echo("Code red has tried to attack us <font color='red'><b>");
echo `cat /usr/local/apache/logs/access_log | grep -c default.ida`;
echo("</b></font> times");
$date = date("m-d-y H:i");
echo(" as of: <font color='blue'><b> $date</b></font>");
?>
LoL! ***** needs this! Then again, if they add it, it might overload their server or they'll piss their pants when they see that they've been hit so many times! :D
Hahahah,
Well, I wonder who has the record?
Here's our count:
Code red has tried to attack us 965 times as of: 08-12-01 20:28
Originally posted by B-Broker
LoL! ***** needs this! Then again, if they add it, it might overload their server or they'll piss their pants when they see that they've been hit so many times! :D
funkee
08-12-2001, 08:48 PM
Install this perl script
<<MOD EDIT>>
If a CRII carrying computer attempts to infect your server this script will respond by putting the unlucky remote server out of its misery.....
<<MOD NOTE:>>
URL removed pending discusson by the moderators. I'm not so sure this is something that should be posted. May be restored, might not...
<</MOD NOTE>>
DanielP
08-12-2001, 09:16 PM
I'd say that little defense script is a bit malacious and could get the person running that script into a heap of trouble
f5hosting.com
08-12-2001, 10:18 PM
Check this one...
Code red has tried to attack us 4424 times as of: 08-12-01 22:13
MCHost-Marc
08-12-2001, 10:31 PM
Code red has tried to attack us 22676 times as of: 08-12-01 19:26
Someone should have told this little worm that we're running Linux :rolleyes::D
bteeter
08-12-2001, 10:31 PM
Code red has tried to attack us 2339 times as of: 08-12-01 22:25
I couldn't resist. Great idea to post that script here! :)
Take care,
Brian
f5hosting.com
08-12-2001, 10:32 PM
Thank GOD for Linux! i used to be a Windows guy until I got into this business!
MCHost-Marc
08-12-2001, 10:34 PM
We just got another one ...22677:stickout
phearle
08-12-2001, 11:42 PM
Code red has attacked my home machine (linux box running off of a cable modem) over 2000 times. lol.
damn those code red bastards. may they rot!!!
- Peter
Synergy
08-12-2001, 11:43 PM
Know who made the worm and how it was coded?