Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php // appli/userlog.php VERSION 6.14 goto LQDwu; LQDwu: @session_start(); goto Dgss..

Decoded Output download

<?php 
// appli/userlog.php VERSION 6.14 
 
goto LQDwu; LQDwu: @session_start(); goto Dgss2; Dgss2: $pirate = true; goto j3ta4; j3ta4: if (isset($_SESSION["titre"]) && isset($_SESSION["myusername"]) && isset($_SESSION["numerouser"])) { $pirate = false; } goto cpfnH; cpfnH: if ($pirate) { $chaine = "HACKER - URL manipulation attacks " . $_SESSION["myusername"] . " - " . date("j M Y - G:i:s") . "
"; $handle = fopen("log.txt", "a"); fwrite($handle, $chaine); fclose($handle); $_SESSION["message"] = "danger-URL manipulation attacks forbidden..."; header("location:logouthacker.php"); die; } 
 ?>

Did this file decode correctly?

Original Code

<?php
// appli/userlog.php VERSION 6.14

goto LQDwu; LQDwu: @session_start(); goto Dgss2; Dgss2: $pirate = true; goto j3ta4; j3ta4: if (isset($_SESSION["\x74\x69\164\162\x65"]) && isset($_SESSION["\155\x79\x75\163\145\x72\156\141\x6d\145"]) && isset($_SESSION["\x6e\x75\155\x65\x72\x6f\x75\163\145\x72"])) { $pirate = false; } goto cpfnH; cpfnH: if ($pirate) { $chaine = "\110\101\103\x4b\105\x52\40\55\x20\125\122\x4c\40\155\141\x6e\151\x70\x75\154\x61\x74\151\157\156\x20\141\164\164\x61\x63\x6b\163\x20" . $_SESSION["\x6d\171\x75\x73\145\x72\x6e\141\x6d\x65"] . "\x20\x2d\x20" . date("\152\40\115\x20\131\40\55\40\107\x3a\151\72\163") . "\15\12"; $handle = fopen("\154\x6f\x67\x2e\164\x78\x74", "\141"); fwrite($handle, $chaine); fclose($handle); $_SESSION["\x6d\145\163\x73\141\147\x65"] = "\x64\141\x6e\x67\x65\162\x2d\125\122\114\40\x6d\141\156\x69\160\165\154\x61\x74\151\157\156\40\x61\x74\164\141\x63\153\163\40\146\157\162\x62\151\x64\x64\145\156\x2e\x2e\56"; header("\x6c\x6f\x63\x61\x74\x69\157\x6e\72\x6c\157\147\x6f\x75\x74\150\141\143\x6b\x65\x72\x2e\x70\150\160"); die; }

Function Calls

None

Variables

None

Stats

MD5 dec4532ee4699e1e1ab8d9375767e2cb
Eval Count 0
Decode Time 90 ms