phf_abuse_log.cgi revision 09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1
# This script can be used to detect people trying to abuse the security hole which
# existed in A CGI script direstributed with Apache 1.0.3 and earlier versions.
# httpd.conf.
#
# The format logged to is "[date] remote_addr remote_host [date] referrer user_agent".
require "ctime.pl";
print LOG "[$when] $ENV{REMOTE_ADDR} $ENV{REMOTE_HOST} $ENV{$HTTP_REFERER} $ENV{HTTP_USER_AGENT}\n";