#!/usr/bin/perl # Folgende Variable bitte anpassen: # full system path to the user password file including the file itself $AuthUserFile = "/opt/www/etc/.htpasswd"; # mail program $mailprog = "/usr/lib/sendmail"; # webmasters email address. $yourmail = "webmaster\@netzmafia.de"; # The script will send you an email if somebody entered a wrong password # for entering the admin script. (n=off, y=on) $alert = "y"; # Nothing to be changed below (please leave this line unchanged) ####################################################################### $exlock=2; $unlock=8; read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $input{$name} = $value; } print "Content-type: text/html\n\n"; print "