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 goto bKcrT; qjRIo: $udb = "\162\x6f\x6f\x74"; goto YUWH7; gsSpt: if ($connect->con..

Decoded Output download

<?php 
 goto bKcrT; qjRIo: $udb = "root"; goto YUWH7; gsSpt: if ($connect->connect_errno) { echo "Cannot reach data"; die; } goto hRPhS; blKo3: $connect = new mysqli($hname, $udb, "root", $dbn); goto gsSpt; Z8mv5: if ($expf["stat"] != md5("ora")) { if (date("Y-m-d") >= $expf["de"]) { if ($expf["stat"] == md5("nggih")) { $updateexpq = mysqli_query($connect, "UPDATE lic SET stat='" . md5("ora") . "'"); session_destroy(); echo "<meta http-equiv="refresh" content="0; url=expired.php" />"; die; } else { session_destroy(); echo "<meta http-equiv="refresh" content="0; url=expired.php" />"; die; } } } else { session_destroy(); echo "<meta http-equiv="refresh" content="0; url=expired.php" />"; die; } goto CCB3t; bKcrT: efault_timezone_set("Asia/Jakarta"); goto E7A3b; YUWH7: $dbn = "printflowplus"; goto blKo3; SiA1B: $expf = mysqli_fetch_array($exp); goto Z8mv5; E7A3b: $hname = "localhost"; goto qjRIo; hRPhS: $exp = mysqli_query($connect, "SELECT de, stat FROM lic WHERE id='1'"); goto SiA1B; CCB3t: mysqli_query($connect, "SET SESSION sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'"); ?>

Did this file decode correctly?

Original Code

<?php
 goto bKcrT; qjRIo: $udb = "\162\x6f\x6f\x74"; goto YUWH7; gsSpt: if ($connect->connect_errno) { echo "\103\x61\156\156\x6f\164\40\x72\145\x61\x63\150\x20\x64\x61\x74\141"; die; } goto hRPhS; blKo3: $connect = new mysqli($hname, $udb, "\162\x6f\x6f\164", $dbn); goto gsSpt; Z8mv5: if ($expf["\163\164\141\164"] != md5("\157\x72\141")) { if (date("\131\55\x6d\x2d\x64") >= $expf["\144\x65"]) { if ($expf["\x73\x74\141\164"] == md5("\x6e\x67\147\x69\x68")) { $updateexpq = mysqli_query($connect, "\125\120\x44\x41\x54\105\x20\154\151\x63\40\x53\x45\x54\40\x73\164\x61\x74\75\x27" . md5("\x6f\x72\x61") . "\47"); session_destroy(); echo "\74\x6d\145\164\141\40\x68\164\x74\160\55\x65\161\x75\151\x76\x3d\x22\x72\x65\x66\x72\x65\163\150\42\40\x63\x6f\156\164\145\156\x74\x3d\42\x30\x3b\x20\165\162\x6c\x3d\145\170\x70\x69\162\x65\144\56\160\150\160\42\x20\x2f\x3e"; die; } else { session_destroy(); echo "\74\155\x65\164\141\x20\x68\164\164\160\55\145\x71\x75\151\166\x3d\x22\162\x65\x66\x72\x65\x73\x68\42\x20\x63\x6f\x6e\x74\145\x6e\x74\75\x22\60\73\x20\x75\x72\x6c\x3d\x65\170\160\x69\x72\x65\144\x2e\160\x68\160\x22\x20\x2f\76"; die; } } } else { session_destroy(); echo "\74\x6d\x65\164\141\40\150\x74\x74\x70\x2d\145\161\165\x69\x76\75\x22\162\x65\146\162\x65\x73\150\42\40\143\x6f\x6e\164\x65\x6e\164\x3d\42\60\x3b\40\x75\162\x6c\75\x65\170\160\151\x72\x65\x64\56\160\x68\x70\x22\x20\x2f\x3e"; die; } goto CCB3t; bKcrT: efault_timezone_set("\x41\x73\151\141\57\112\x61\153\x61\x72\164\x61"); goto E7A3b; YUWH7: $dbn = "\160\x72\x69\156\164\x66\154\x6f\167\x70\154\165\x73"; goto blKo3; SiA1B: $expf = mysqli_fetch_array($exp); goto Z8mv5; E7A3b: $hname = "\x6c\x6f\143\x61\154\x68\x6f\x73\x74"; goto qjRIo; hRPhS: $exp = mysqli_query($connect, "\123\x45\114\105\103\x54\x20\144\x65\54\40\x73\x74\141\x74\40\106\122\x4f\x4d\x20\154\x69\143\40\127\110\105\x52\x45\40\x69\144\75\x27\x31\x27"); goto SiA1B; CCB3t: mysqli_query($connect, "\x53\105\124\x20\x53\105\x53\123\x49\x4f\116\x20\163\x71\154\137\x6d\157\x64\x65\x3d\x27\x4e\x4f\x5f\x41\x55\124\117\137\103\122\x45\101\124\x45\x5f\125\123\105\x52\x2c\116\117\137\x45\x4e\x47\x49\116\105\137\123\125\102\123\124\x49\124\125\x54\111\117\x4e\47");

Function Calls

None

Variables

None

Stats

MD5 2815f7b2c8c957236fb39f6ae8eebeab
Eval Count 0
Decode Time 87 ms