Thank you!! I imagine other sites have been hit as well. I've located this subroutine http://www.devdaily.com/...u/articles/pl010014/ that looks like it will address it. Just can't seem to get the proper syntax when calling the sub from html.pl.
I've added this sub to db.cgi:
sub limitHostAccess {
$trustedHosts = "devdaily.com|mydomain.com"; # define your domain here
$remoteHost = $ENV{'REMOTE_HOST'};
if ( $remoteHost =~ /$trustedHosts$/i ) {
return;
} else {
print "\n";
exit 1;
}
}
1;
But I haven't been successful in calling the sub from html.pl when adding it under the sub html_send_email_form:
#---------------------------------------------#
&limitHostAccess; # program exits here if REMOTE_HOST is wrong #
#---------------------------------------------#
I've added this sub to db.cgi:
sub limitHostAccess {
$trustedHosts = "devdaily.com|mydomain.com"; # define your domain here
$remoteHost = $ENV{'REMOTE_HOST'};
if ( $remoteHost =~ /$trustedHosts$/i ) {
return;
} else {
print "\n";
exit 1;
}
}
1;
But I haven't been successful in calling the sub from html.pl when adding it under the sub html_send_email_form:
#---------------------------------------------#
&limitHostAccess; # program exits here if REMOTE_HOST is wrong #
#---------------------------------------------#