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 rV0a2; mYDZ6: $startMS = microtime(); goto uMIMP; eYvv7: $s_stmt = "\123\105\x..

Decoded Output download

<?php 
goto rV0a2; mYDZ6: $startMS = microtime(); goto uMIMP; eYvv7: $s_stmt = "SELECT astpp,astpp_id,astpp_dom,astpp_id_dom,server_ip from servers"; goto tbUMY; rV0a2: ob_start(); goto QPqWb; xWGZl: require "dbconnect_mysqli.php"; goto M9znl; QPqWb: session_start(); goto mYDZ6; M9znl: require "functions.php"; goto eYvv7; uMIMP: header("Content-type: text/html; charset=utf-8"); goto xWGZl; tbUMY: $s_rslt = mysql_to_mysqli($s_stmt, $link); goto RGlKI; RGlKI: while ($s_row = mysqli_fetch_assoc($s_rslt)) { $active_stmt = "SELECT user from vicidial_live_agents WHERE server_ip = '" . $s_row["server_ip"] . "'"; $rslt = mysql_to_mysqli($active_stmt, $link); $user_to_print = mysqli_num_rows($rslt); $maxchannels = 1; if ($user_to_print > 0) { $maxchannels = $user_to_print * 2; } if (!empty($s_row["astpp"])) { $url = "https://" . $s_row["astpp"] . "/api/accounts?id=" . $s_row["astpp_id"] . "&maxchannels=" . $maxchannels; $apiKey = "AlloPixis@123"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_HTTPHEADER, array("astpp-key: " . $apiKey)); $result = curl_exec($ch); curl_close($ch); } if (!empty($s_row["astpp_dom"])) { $url = "https://" . $s_row["astpp_dom"] . "/api/accounts?id=" . $s_row["astpp_id_dom"] . "&maxchannels=" . $maxchannels; $apiKey = "AlloPixis@123"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_HTTPHEADER, array("astpp-key: " . $apiKey)); $result = curl_exec($ch); curl_close($ch); } } ?>

Did this file decode correctly?

Original Code

<?php
goto rV0a2; mYDZ6: $startMS = microtime(); goto uMIMP; eYvv7: $s_stmt = "\123\105\x4c\x45\x43\x54\x20\x61\x73\x74\160\160\x2c\x61\x73\x74\x70\x70\x5f\x69\x64\54\141\x73\x74\x70\160\x5f\144\157\155\54\141\x73\164\x70\160\137\x69\144\137\144\x6f\155\x2c\163\x65\x72\x76\x65\162\x5f\151\x70\40\146\162\157\x6d\x20\x73\x65\x72\x76\145\162\x73"; goto tbUMY; rV0a2: ob_start(); goto QPqWb; xWGZl: require "\144\142\x63\157\x6e\156\145\x63\x74\x5f\x6d\171\x73\161\154\151\x2e\160\x68\160"; goto M9znl; QPqWb: session_start(); goto mYDZ6; M9znl: require "\146\165\x6e\x63\x74\x69\157\156\163\56\x70\150\160"; goto eYvv7; uMIMP: header("\103\157\156\x74\145\156\164\x2d\x74\x79\x70\145\x3a\x20\164\145\x78\x74\x2f\x68\164\155\x6c\x3b\40\x63\150\x61\x72\163\145\164\75\x75\x74\146\x2d\70"); goto xWGZl; tbUMY: $s_rslt = mysql_to_mysqli($s_stmt, $link); goto RGlKI; RGlKI: while ($s_row = mysqli_fetch_assoc($s_rslt)) { $active_stmt = "\123\x45\114\105\103\x54\40\165\163\x65\162\40\146\162\x6f\155\x20\166\x69\143\x69\144\x69\141\154\137\x6c\151\166\145\x5f\x61\147\x65\156\x74\x73\40\127\110\105\x52\x45\x20\x73\x65\162\166\x65\162\137\151\160\40\x3d\x20\x27" . $s_row["\x73\x65\162\x76\x65\x72\137\x69\160"] . "\x27"; $rslt = mysql_to_mysqli($active_stmt, $link); $user_to_print = mysqli_num_rows($rslt); $maxchannels = 1; if ($user_to_print > 0) { $maxchannels = $user_to_print * 2; } if (!empty($s_row["\141\163\x74\x70\x70"])) { $url = "\x68\164\164\160\163\72\57\57" . $s_row["\x61\163\x74\160\160"] . "\x2f\141\160\151\x2f\x61\x63\x63\157\165\x6e\x74\163\77\151\144\x3d" . $s_row["\141\x73\x74\x70\160\x5f\151\144"] . "\x26\155\x61\170\x63\x68\141\x6e\156\145\x6c\x73\x3d" . $maxchannels; $apiKey = "\x41\x6c\x6c\157\x50\151\170\151\163\100\x31\x32\x33"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_HTTPHEADER, array("\x61\163\164\160\x70\55\153\145\x79\x3a\x20" . $apiKey)); $result = curl_exec($ch); curl_close($ch); } if (!empty($s_row["\141\163\x74\x70\160\x5f\144\x6f\155"])) { $url = "\150\164\164\160\163\72\x2f\57" . $s_row["\141\x73\x74\x70\x70\137\144\x6f\155"] . "\x2f\141\160\x69\57\x61\x63\143\157\165\156\164\x73\77\x69\x64\75" . $s_row["\x61\163\x74\160\x70\137\151\144\x5f\144\157\x6d"] . "\46\x6d\x61\x78\x63\150\141\156\156\145\x6c\x73\x3d" . $maxchannels; $apiKey = "\x41\154\154\x6f\x50\x69\170\151\x73\100\61\62\63"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_HTTPHEADER, array("\141\x73\x74\160\160\x2d\153\145\x79\x3a\x20" . $apiKey)); $result = curl_exec($ch); curl_close($ch); } }

Function Calls

None

Variables

None

Stats

MD5 0551b436126e2d7b26f063d262966fd0
Eval Count 0
Decode Time 35 ms