Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Re: GET //awstats.pl? in apache logs

Subject: Re: GET //awstats.pl? in apache logs
Date: Mon, 24 Oct 2005 22:47:43 +0100
On 10/24/05, S.A. Birl <sbirl@temple.edu> wrote:
    <snip>    Or, you could do what I did:    Write your own PERL script to 
caputre the offending IP, write it    out to an external blacklist (that Apache 
includes in it's httpd.conf);    restart Apache and viola!  IP banned.
    <snip implementation>

I like this idea and I will probably use it, not for banning butmaking a list 
of IPs making various requests. Thanks for providing theexample. I am not 
familiar with Perl so I have two questions relatingto your script if you don't 
mind. Thanks in advance.
Is there anyway a request is made as to $ENV{"REMOTE_ADDR"} to besomething 
other than expected form. i.e. a dotted quad IP?
system("/usr/bin/touch /usr/local/apache/nobody /restart"); # What isthis line 
doing?
Thanks again to everybody who replied to my original posting.K.

<Prev in Thread] Current Thread [Next in Thread>