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

Signing you up...

Thank you for signing up!

PHP Decode

{ goto V6QxJ; V6QxJ: $this_server_name = getenv("SERVER_NAME") ?: $_SERVER["SERVER_N..

Decoded Output download

<?  {  
    goto V6QxJ; V6QxJ: $this_server_name = getenv("SERVER_NAME") ?: $_SERVER["SERVER_NAME"] ?: getenv("HTTP_HOST") ?: $_SERVER["HTTP_HOST"]; goto qpycU; EWvia: $varUrl = "https://newcodex.propernaam.co.in/api/activate_license?key=543D768822DAEED8EA39&url={$this_url}&ip={$this_ip}&product_id=0A8911DC&license_code={$request->license}&client_name={$request->package}&verify_type=non_envato"; goto hjKMm; JOcue: $this_ip = getenv("SERVER_ADDR") ?: $_SERVER["SERVER_ADDR"] ?: $this->get_ip_from_third_party() ?: gethostbyname(gethostname()); goto EWvia; EX9CM: $chk = json_decode($contents, true); goto pO6uR; qpycU: $this_http_or_https = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on" or isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) and $_SERVER["HTTP_X_FORWARDED_PROTO"] === "https") ? "https://" : "http://"; goto GzIbs; hjKMm: $context = stream_context_create(array("ssl" => array("verify_peer" => false, "verify_peer_name" => false))); goto BeW1v; BeW1v: if (ini_get("allow_url_fopen")) { $contents = file_get_contents($varUrl, false, $context); } else { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $varUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $contents = curl_exec($ch); if (curl_errno($ch)) { echo $error_msg = curl_error($ch); } curl_close($ch); } goto EX9CM; pO6uR: $msg = $chk["message"]; goto z80h9; GzIbs: $this_url = $this_http_or_https . $this_server_name . $_SERVER["REQUEST_URI"]; goto JOcue; z80h9: if ($chk["status"]) { $admin = Admin::find(1); $admin->license = $request->license; $admin->package_name = $request->package; $admin->save(); return redirect(route("admin.dashboard"))->with("status-success", $msg); } else { return redirect(route("admin.license"))->with("status-alert", $msg); } 
    } ?>

Did this file decode correctly?

Original Code

{ 
    goto V6QxJ; V6QxJ: $this_server_name = getenv("SERVER_NAME") ?: $_SERVER["SERVER_NAME"] ?: getenv("HTTP_HOST") ?: $_SERVER["HTTP_HOST"]; goto qpycU; EWvia: $varUrl = "https://newcodex.propernaam.co.in/api/activate_license?key=543D768822DAEED8EA39&url={$this_url}&ip={$this_ip}&product_id=0A8911DC&license_code={$request->license}&client_name={$request->package}&verify_type=non_envato"; goto hjKMm; JOcue: $this_ip = getenv("SERVER_ADDR") ?: $_SERVER["SERVER_ADDR"] ?: $this->get_ip_from_third_party() ?: gethostbyname(gethostname()); goto EWvia; EX9CM: $chk = json_decode($contents, true); goto pO6uR; qpycU: $this_http_or_https = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on" or isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) and $_SERVER["HTTP_X_FORWARDED_PROTO"] === "https") ? "https://" : "http://"; goto GzIbs; hjKMm: $context = stream_context_create(array("ssl" => array("verify_peer" => false, "verify_peer_name" => false))); goto BeW1v; BeW1v: if (ini_get("allow_url_fopen")) { $contents = file_get_contents($varUrl, false, $context); } else { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $varUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $contents = curl_exec($ch); if (curl_errno($ch)) { echo $error_msg = curl_error($ch); } curl_close($ch); } goto EX9CM; pO6uR: $msg = $chk["message"]; goto z80h9; GzIbs: $this_url = $this_http_or_https . $this_server_name . $_SERVER["REQUEST_URI"]; goto JOcue; z80h9: if ($chk["status"]) { $admin = Admin::find(1); $admin->license = $request->license; $admin->package_name = $request->package; $admin->save(); return redirect(route("admin.dashboard"))->with("status-success", $msg); } else { return redirect(route("admin.license"))->with("status-alert", $msg); }
    }

Function Calls

None

Variables

None

Stats

MD5 e8893df054f9146e79b7b5cb20f1380d
Eval Count 0
Decode Time 45 ms