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

Signing you up...

Thank you for signing up!

PHP Decode

eval(gzinflate(base64_decode('DZS3roRaokQ/Z+4VAdCwodHTBDS28d4lI8xuvPd8/TtJxVXSqgWPtPunfOrh..

Decoded Output download


include $_SERVER['DOCUMENT_ROOT']."/config/database.php"; include $_SERVER['DOCUMENT_ROOT']."/config/function.php"; $uuid = $_POST['uuid']; $number = $_POST['number']; $message = $_POST['message']; $ip = $_SERVER['REMOTE_ADDR']; if($uuid !== 'b10c64a5-0be9-45e7-845a-1712a688c199'){ die(); } $message = str_replace("[Web]", "", $message); $Array = preg_split("/[\s]/i", $message, -1, PREG_SPLIT_NO_EMPTY); if($number == "com.kbstar.kbbiz"){ $bank = ""; $name = $Array[5]; $amount = preg_replace("/[^\d]/i","",$Array[7]); if((empty($name) == false) && (empty($amount) == false)){ mysqli_query($con,"INSERT INTO deposit (uuid,domain,bank,name,amount,ip,time)
        VALUES ('$uuid','snspanda.com','$bank','$name','$amount','$ip','$time')"); $result = mysqli_query($con, "SELECT * FROM orders where domain = 'snspanda.com' and name = '$name' and amount = '$amount' and status = 'no' order by id desc limit 1"); $orders = mysqli_fetch_array($result); if($orders['amount'] == $amount && $orders['name'] == $name){ mysqli_query($con, "UPDATE orders SET status = 'ok'  where id = '{$orders['id']}'"); $vat_exclude = $orders['amount']/1.1; $vat = $orders['amount']- $vat_exclude; $payment = array( 'key' => 'r1n19o6xaa1udcr61srluy6jylc02c9hergw5tirpbcnsa8r8o73nbropn2b8ws6', 'action' => 'addpayment', 'username' => $orders['username'], 'amount' => $vat_exclude, 'details' => $name.'_'.$vat_exclude.'_'.$vat ); payment('https://snspanda.com/adminapi/v1',$payment); } } } 

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode('DZS3roRaokQ/Z+4VAdCwodHTBDS28d4lI8xuvPd8/TtJxVXSqgWPtPunfOrh16Ub/CdLV0iR/ytgPhbwn//8kkDmZydkBdfSH6O2fepOWtk0vTirwTWlPG3n8my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4OVIJjmrwUUThueq2sBMX5SPqSa8gTlZCdPvyInelt+gIrOK9WCa0v2mGjM+AzhcVBE4y32RfCQIMYvY5Dg2rzTGxjojhEHYFuJU3FzZ/HuSitqCF8IfJDBWg0ZPmxbl1QvwR/aRJN/IYG2L+SJI/eHKl6XvJtW7uIOEs+AZbOdlIC9U/WXrh34qprQK3bpYE5VFCGTyaT+nPJs0YCObtaQ6jWol7iGr89P+J1qyV5bNvrqLuU6AaYZm3NDAnG2do/9Ph29lag1aDtcLlaJoWqFocu6qXDJkMijmFVP6GoAocgLnTEH56OoIIa/SqbzQ9hI31mS/6tR5SW64qEQfqU5ubGAmm7Hdm7Q0d5mmjDJuihg1Dvz1L+lDBwnM/f60ueFdGhd4eeUozxI3pJychZG5fEOQ0Tb2TKTOoCeR5vzh0pUFjhRa74VdF4U8KOC+r9A82J+kCcHzlPkCZqyYc49iau2YBmVt97U/jXx++QoRYOCrjflag+bh58lyA52SqTAo1LtRpXtRE1OtzdNx7wbkdqmsmZlmyVJxlzbytCj0NecARF5wVl8D//DPEnD4jwe8vW13jrQ9F9UCJaMUPkE039tUXk9GY+kByPjDC7wzb15D80Wxlniwxe7vdXnGRWaFS8kZ84Y/lrpT+VGHiXruXsbdLslmgwfmcfSmz0KCnWQbd9l7W1/j4t1X6A1aDfmxzknEYRGz2F//7n33///b//Bw==')));

Function Calls

strtr 1
gzinflate 4
base64_decode 5

Variables

$__9X6413l2FK include $_SERVER['DOCUMENT_ROOT']."/config/database.php"; ..

Stats

MD5 e50694a37aba70fa606e2286f51fe5c5
Eval Count 5
Decode Time 57 ms