Useful tools.

[insert_php]
if (!empty($_GET)) {
echo “ GET variable injected! Variables values:
“;
foreach ($_GET as $nazwa => $wartosc) {
$nazwa = stripslashes($nazwa);
$nazwa = htmlspecialchars($nazwa);
$wartosc = stripslashes($wartosc);
$wartosc = htmlspecialchars($wartosc);
$nazwa = preg_replace(“//”,”>”,$nazwa);
$wartosc = preg_replace(“//”,”>”,$wartosc);
echo “Variable “.$nazwa.” is “.$wartosc.”
“;
}
}
if (isset ($show_cookies)) {
if (!empty($_COOKIE)) {
echo “ COOKIE variables values:
“;
foreach ($_COOKIE as $nazwa => $wartosc) {
$nazwa = htmlspecialchars($nazwa);
$wartosc = htmlspecialchars($wartosc);
echo “Cookie variable: “.$nazwa.” is “.$wartosc.”.
“;
}
}
}
echo “


“;
echo << Choose coding / encrypting / ciphering / hash function

Encode -> encodes / crypts text, Decode -> decoding, decrypting text


Type or paste text below:



!! Injection attempt: <script>
";
if (preg_match("/ !! Link injection attempt: <a href=".." >
";
if (preg_match("/