the Junkyard: Nimda treatment and vaccination
 
Starsiege Series Tribes Series Halo Series
Nimda treatment and vaccination

Nimda treatment and vaccination

Posted by: Charles 'grey wolf' Banas on Wed Sep 19th, 2001 at 9:28 AM
Return to article listing.

Previous   1   2  


If you're lucky enough to be running Linux or have a Linux router, run this script:

#!/bin/sh

for LUSER in `grep "winnt" /var/log/httpd/error_log | awk '{print $8}' | sed -e s/]//`; do
if [ ! "`ipchains -L -n | grep $LUSER`" ]
then ipchains -A input -s $LUSER -d 0/0 -j DENY
fi
done


This script will block all of the guys that are infected and keep your bandwidth from being hogged.

Previous   1   2  


email this article to a friend! find more articles by Charles 'grey wolf' Banas printer friendly
Powered by Sitekore