全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1739|回复: 14

[翻译] 帮忙看下这个是后门吗,结束

[复制链接]
发表于 2019-5-22 21:57:05 | 显示全部楼层 |阅读模式
本帖最后由 av88xyz 于 2019-5-22 22:53 编辑

一个程序下载下来,我用百度在线查杀了下,说是有后门这个文件php,麻烦看下解释下这个可以做什么,谢谢大佬

session_start();//首先要启动session
header('Content-type:image/jpeg');
$width=120;
$height=40;
$element=array('a','b','c','d','e','f','g','h','i','j','k','m','n','o','p','q','r','s','t','u','v','w','x','y','z');
$string='';
for ($i=0;$i<4;$i++){
        $string.=$element[rand(0,count($element)-1)];
}
$img=imagecreatetruecolor($width, $height);
$colorBg=imagecolorallocate($img,rand(200,255),rand(200,255),rand(200,255));
$colorBorder=imagecolorallocate($img,rand(200,255),rand(200,255),rand(200,255));
$colorString=imagecolorallocate($img,rand(10,100),rand(10,100),rand(10,100));
imagefill($img,0,0,$colorBg);
imagerectangle($img,0,0,$width-1,$height-1,$colorBorder);
for($i=0;$i<100;$i++){
        imagesetpixel($img,rand(0,$width-1),rand(0,$height-1),imagecolorallocate($img,rand(100,200),rand(100,200),rand(100,200)));
}
for($i=0;$i<3;$i++){
        imageline($img,rand(0,$width/2),rand(0,$height),rand($width/2,$width),rand(0,$height),imagecolorallocate($img,rand(100,200),rand(100,200),rand(100,200)));
}
//imagestring($img,5,0,0,$string,$colorString);

$_SESSION['yzm'] = $string;
imagettftext($img,45,rand(-5,5),rand(5,15),rand(30,35),$colorString,'font/PSL153.ttf',$string);
imagejpeg($img);
imagedestroy($img);
发表于 2019-5-22 21:57:56 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2019-5-22 21:58:53 | 显示全部楼层
我也看不出来~~恕我眼拙~~
发表于 2019-5-22 22:00:07 | 显示全部楼层
看不出来,好像在画图
 楼主| 发表于 2019-5-22 22:04:27 | 显示全部楼层
 楼主| 发表于 2019-5-22 22:05:34 | 显示全部楼层
h2o 发表于 2019-5-22 21:57
我怎么看不出是后门呢?

我上百度检测的图了,看下是不是
 楼主| 发表于 2019-5-22 22:07:04 | 显示全部楼层
yidaomm 发表于 2019-5-22 21:58
我也看不出来~~恕我眼拙~~

我上截图了,麻烦再看下,大佬
 楼主| 发表于 2019-5-22 22:08:51 | 显示全部楼层

我上百度的截图了,麻烦再看下,老哥
 楼主| 发表于 2019-5-22 22:11:35 | 显示全部楼层
既然大家都说不是,那就放心了,百度查杀说是有毒,我也看不出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-23 22:48 , Processed in 0.063981 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表