PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [PHP] IP Crypter



A.N.C.
23.09.2010, 15:33
Ein einfacher script zum verstecken eurer ip
?php

// This simple algorithm crypts an ip address to a single number.
// For example, I pinged google.com and got the ip 209.85.171.99, but when it is crypted it comes out to 3512052579.
// http://3512052579/
// I don't know why you would this ,but you can use this code to crypte some malicious URL that contain malicious code

if(isset($_GET["IP"])) {
$s = explode(".",$_GET["IP"]);
$i = ($s[0] * 16777216) + ($s[1] * 65536) + ($s[2] * 256) + $s[3];
echo "Your crypted IP address is <strong>" . $i . "</strong><br />";
}
?>

<font color=red>Enter IP address:</font>
<form method="get">
<input type="text" name="IP">
<input type="submit">
</form>
<b><font color=blue>Visit <a href=http://anc.com>http://anc.com</a></font>
<br><b><font color=blue>A.N.C.</font><br><font color=blue>coded by : </font><font color=red>-by A.N.C.</font>

blackberry
23.09.2010, 16:01
Und der Sinn soll sein?
Von "crypten" kann außerdem nicht die Rede sein.

Außerdem gibt es auch eine Funktion dafür:
PHP: ip2long - Manual (http://www.php.net/manual/en/function.ip2long.php)

GregorSamsa
24.09.2010, 00:12
Wtf? Fail!

I don't know why you coded this ,but you can use this code to show your lame hax0r skillz

Märtyrer
24.09.2010, 00:18
Encrypt IP [PHP] (http://httpscript.com/index.php?topic=3675.0;wap2)

Scripte klauen ist ne ganz ganz böse Angewohnheit.

Barbers
24.09.2010, 05:57
ich frag mich da wirklich nach dem sin der ganzen sache

j0.keR
24.09.2010, 06:15
ich frag mich da wirklich nach dem sin der ganzen sache



// For example, I pinged google.com and got the ip 209.85.171.99, but when it is crypted it comes out to 3512052579

Moin barbers ;)

Ken
24.09.2010, 08:54
Es macht einfach keinen Sinn. Und wenn man z.B. eine IP-Sperre einbauen möchte, aber nicht die IP-Adressen im Klartext speichern will, dann benutzt man halt md5, oder so.

A.N.C.
25.09.2010, 14:09
Ist nicht von mir geschrieben, habe ich halt in meine scriptz sammlung, ich fand das interessant und wollte es sharen.

QpL
25.09.2010, 14:11
Ist nicht von mir geschrieben, habe ich halt in meine scriptz sammlung, ich fand das interessant und wollte es sharen.



<br><b><font color=blue>A.N.C.</font><br><font color=blue>coded by : </font><font color=red>-by A.N.C.</font>


Böse böse!

SFX
25.09.2010, 14:23
$ip = "127.0.0.1";
$encrypted = base64_encode($ip);


tihihi, jetzt haben ich auch so ne 1337g0il3 crypted IP, da kommt bestimmt keiner drauf :>

btw,
kodieren != verschlüsseln

und die Tatsache dass deine Funktion nur einen Input aber keinen Schlüssel annimmt lässt vermuten dass es sich um eine Kodierung handelt

A.N.C.
25.09.2010, 14:25
Böse böse!

:))

0x30
25.09.2010, 15:07
FAILHEAD entarnt.. Genau so ein Ripper wie alle anderen.