#!/bin/sh

string=`echo "$QUERY_STRING" | awk -F"=" '{print $2}' | sed -f antihack.prikazy`



echo 'Content-type: text/html'
echo
echo
cat <<EOF
<HTML>
 <TITLE>cracks and serial numbers</TITLE>
 </HEAD>

<style type="text/css">
<!-
BODY {background-color="black"} 
A:link {text-decoration: none; font-size: 17px; color:#EFB000}
A:visited {text-decoration: none; font-size: 17px; color:#EFB000}
A:active {text-decoration: none; font-size: 17px; color:#EFB000}
A:hover { text-decoration: none; font-size: 17px; color:red }
->
</style>

 <BODY BGCOLOR=#000000 TEXT=#C0C0C0 SIZE=1 LINK=#FFFF00 VLINK=#C0C0C0>
 <P ALIGN=LEFT>
 <CENTER><IMG SRC="/wochter/images/wochter.jpg" ALT="logo" ALIGN=CENTER> 
<BR><A HREF="/wochter/index.html"><IMG SRC="/wochter/images/home.gif" ALIGN=CENTER BORDER=0 ALT="home"></A>
</CENTER>
<PRE>
EOF

more /www/wochter/serial/* | grep -i $string

cat <<EOF
</PRE><BR><P><A HREF="/wochter/index.html"><IMG SRC="/wochter/images/home.gif" BORDER=0 ALT="home"></A><BR>
<BR><A HREF="mailto:wochter@bigfoot.com"><FONT SIZE=3>wochter@bigfoot.com</FONT></A>
<BR><BR></BODY>
</HTML>
EOF
