1.客户端指定源端口:

#!/bin/bash
#起始源端口
Pno=39800
for ((i=1;i<=39800;i++)) ;
do
    Pno=`expr $Pno + 1`
     echo '=======' >> 1.log
     echo $Pno >> 1.log
     date >> 1.log
     curl -o /dev/null --local-port $Pno -s -w %{time_namelookup}::%{time_connect}::%{time_starttransfer}::%{time_total}::%{time_appconnect}"\n"   curl -o /dev/null -s -w %{time_namelookup}::%{time_connect}::%{time_starttransfer}::%{time_total}::%{time_appconnect}"\n"   http://10.20.192.92/ >> 1.log
     date >>1.log
         sleep 2
done

 

2.只要返回码:

curl -g -sL -w "%{http_code}\n" -o error.txt --header "User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" $sendhttp

3.代理转发:

curl -x 10.20.192.92:80 www.baidu.com

相关文章:

  • 2021-12-04
  • 2021-11-30
  • 2021-12-05
  • 2021-12-18
  • 2021-12-29
  • 2021-12-10
  • 2021-11-19
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2021-07-21
  • 2022-12-23
  • 2022-03-06
相关资源
相似解决方案