bald geb ichs auf
Dragonskin 25.05.2002 - 22:09 589 7
Dragonskin
Banned
|
<? srand ((double) microtime() * 1000000); $zufall = rand(1000000,9999999); //zahl ermitteln if ($pwd == 47478); { echo <<<test <html> <head> <title>:: Admin bereich ::</title> </head> <body bgcolor="#F5D9AE" text="black"> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse;
text-align:center" bordercolor="#111111" width="47%" height="127" align="center"> <tr> <td bgcolor="#B4B4B4" width="100%" height="19"> <p style="text-align: left"><b>:: Admin Bereich für <font color="red"> $User </font> ::</b></td> </tr> <tr> <td width="100%" height="87"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
bordercolor="#111111" width="100%" height="65"> <tr> <BR> <form action="news.php" method="post"> <td width="29%" height="19">News schreiben</td> <td width="71%" height="19"><INPUT TYPE="HIDDEN" NAME="zot" VALUE="$zufall"> <input type="text" maxlength="8" size="20" name="rofl"><font size="-1" color="red">
*</font> <input type="submit" value="OK"></form></td> </td> </tr> <p> </tr> <tr> <BR> <form action="loesche.php" method="post"> <td width="29%" height="19">News löschen</td> <td width="71%" height="19"><INPUT TYPE="HIDDEN" NAME="zot" VALUE="$zufall"> <input type="text" maxlength="8" size="20" name="rofl"><font size="-1" color="red">
*</font> <input type="submit" value="OK"></form></td> </td> <tr> <td width="29%" height="19"> <p align="center"> <br> </CENTER></form></td> <td width="71%" height="19"> <font size="-1" color="red"> *</font> <font size="-1">Deine Automatisch generiert Nummer lautet:
$zufall </font> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#B4B4B4" width="100%" height="19"> <p align="right"><b><font size="2" color="#FFFFFF">© by [ETP]Grisu</font></b></td> </tr> </table> </center> </div> </body> </html> test; } else { $ip = getenv(REMOTE_ADDR); $datenbank = "ip.txt"; $datei = fopen($datenbank,"a"); fwrite($datei, $ip); fclose($datei); echo <<<muh <html> <head> <title>:: Ip Added ::</title> </head> <body bgcolor="#F5D9AE" text="black"> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse;
text-align:center" bordercolor="#111111" width="47%" height="127" align="center"> <tr> <td bgcolor="#B4B4B4" width="100%" height="19"> <p style="text-align: left"><b>:: IP <font color="red"> Added </font> ::</b></td> </tr> <tr> <td width="100%" height="87"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
bordercolor="#111111" width="316" height="65"> <tr> <BR> <td width="298" height="10"> <p align="center">Deine IP ( $ip ) wurde soeben <font color="#FF0000">gesperrt</font>.<p
align="center"> </td> <td width="19" height="19" rowspan="2"></td> </td> </tr> <tr> <td width="298" height="9"> </td> </tr> <p> </tr> </table> </td> </tr> <tr> <td bgcolor="#B4B4B4" width="100%" height="19"> <p align="right"><b><font size="2" color="#FFFFFF">© by [ETP]Grisu</font></b></td> </tr> </table> </center> </div> </body> </html> muh; } ?>
Parse error on line 59 oder so
|
noledge
CWNE #540
|
lösch den strichpunkt in der 4. zeile ich empfehl dir nochmal, lies ein gscheites php-tutorial!
|
Mupf
user
|
ich empfehl dir nochmal, lies ein gscheites php-tutorial! ![:)](/images/smilies/smile.gif) mmh und wie isser bis dohi gekommen ? mit am ungscheiten tutorial ?
|
Guest
Deleted User
|
der gepostete code schaut mir nach wildem herumprobieren aus da fehlts an den programmiergrundlagen - aber hauptsache eine ip-sperre, die nicht funktioniert ist drin also empfehle ich wirklich mal das studium eines tutorials. ajo, FYI: nochmal so an schwall sourcecode posten und du bist weg aus diesem forum
|
Mupf
user
|
|
Dragonskin
Banned
|
Die Ipsperre funkt einwandfrei--->Habs scho probiert aber derzeit funkts nu ned mit prooxy
|
Guest
Deleted User
|
lol bei einem 5-stelligen numerischen passwort hab ich das mit brute-force schneller als du sperren kannst. finds btw ziemlich dumm so a sperre ... vertippst dich einmal und weg bist
|
Dragonskin
Banned
|
*gG* aba fi a clanhp wirst ned extra brutforcen ... oiso voi unützte wollte nur mal mit php weil mas ned so leicht auserfind wie mit java
|