Shell | 拼接PHP100下载地址

今天打算下php100的教程~狡猾,虽然不看但下下来先留着,省的等想找的时候找不到。
打开
PHP100shipinjiaocheng我去100个?汗,每个都要打开下载打开下载,打开4、5个,发现下载地址有规律,我笑了~在一看左下角VM开着呢~疯狂了,直接写个小循环生成链接地址不就得了~最少简单不少
有继续打开了一些下载地址,发现在41~81直接是没有多大规律的~想了想,还是可以实现下载的。不过太多了~不过shell现在也很强大,应该还是可以实现~现在没空先不弄哈哈(上传的人也挺聪明的,改了些包名,不然狡猾)
嘿嘿~
注释
红色为无规律下载地址(并不全)
    :蓝色为有规律下载地址(1~40,82~100)
●小程序代码在下面

http://dx.php100.com:88/php100-40_c.rar
http://dx.php100.com:88/10/php100-81.zip
http://dx.php100.com:88/10/php100-80_s.zip
http://dx.php100.com:88/10/php100-79_u.zip
http://dx.php100.com:88/10/php100-78.zip
http://dx.php100.com:88/10/php100-77_p.zip
http://dx.php100.com:88/10/php100-76_u.rar
http://dx.php100.com:88/10/php100-75-vip.rar
http://dx.php100.com:88/10/php100-74_z.rar
http://dx.php100.com:88/10/php100-73_h.rar
http://dx.php100.com:88/10/php100-72_x.rar
http://dx.php100.com:88/10/php100-71_s.rar
http://dx.php100.com:88//10/php100-70.rar

http://dx.php100.com:88/09/php100-69_d.rar
http://dx.php100.com:88/09/php100-68_m.rar
http://dx.php100.com:88/09/php100-66_p.rar
http://dx.php100.com:88/09/php100-64.rar
http://dx.php100.com:88/09/php100-63-1_x.rar
http://dx.php100.com:88//09/php100-62_u.rar
http://dx.php100.com:88//09/php100-61_!.rar
http://dx.php100.com:88/09/php100-60.rar
http://dx.php100.com:88/09/php100-59_a.rar
http://dx.php100.com:88/09/php100-58_d.rar
http://dx.php100.com:88/09/php100-55_j.rar

当然我也怕shell下完了,对方服务器设置某些参数来限制这种作弊行为,所以实验了一下,如图:
12

成功!

 

SHELL小程序~简单的不能在简单的~记录~

#!/bin/bash
#小写的LL
ll=0
h=""
for ((i=1;i<=100;i++))
do
           if  (( "$i" >= "82"  )) ; then
                h="10/"
                ll=$i
echo "$ll"
          else if (( "$i" <= 40 )) ;then
                ll=$i  
                  fi
           fi
        echo "
http://dx.php100.com:88/${h}php100-${ll}.rar"  >> lianjie.txt
done
exit

解释如何下载无规律的:(其实还是有60%左右为有规律)
可以这样解决,大概说下我的想法,可能不能实现啊~也可能发放有些笨拙

http://dx.php100.com:88/

10/

php100-82

.rar
IP段 文件夹 文件名 扩展名

注释:
1.IP前段地址为固定地址,即:http://dx.php100.com:88/,是不变的;
2.文件夹“10/ 是可变的,据我查看,有09,10文件夹名称;
3.文件名肯定是可变的~而且只有50%规律可寻找;
4.扩展名在77~81之间是ZIP格式。
在这个脚本里已经写了文件夹名的变量,那么就只要改文件名和扩展名即可

php100-81 _*.*,假设设置两个变量"_a”,”b”
_a=a~z+“ ”(空格)+!
b=zip或者rar
结果php100-81${_a}.${b}

然后用下面这个去取a~z字母当然你也可以自己定义个文件哦~
echo {a..z} > temp.txt
i=1
while (( i<=26 ))
do
        cut -f {$i} -d ‘ ‘ temp.txt
#在cut –f {$i} d ‘ ’ ,在‘’直接是空格
        i=i++
done

接下来,就要发挥想象力去组合了~

http://dx.php100.com:88/php100-1.rar
http://dx.php100.com:88/php100-2.rar
http://dx.php100.com:88/php100-3.rar
http://dx.php100.com:88/php100-4.rar
http://dx.php100.com:88/php100-5.rar
http://dx.php100.com:88/php100-6.rar
http://dx.php100.com:88/php100-7.rar
http://dx.php100.com:88/php100-8.rar
http://dx.php100.com:88/php100-9.rar
http://dx.php100.com:88/php100-10.rar
http://dx.php100.com:88/php100-11.rar
http://dx.php100.com:88/php100-12.rar
http://dx.php100.com:88/php100-13.rar
http://dx.php100.com:88/php100-14.rar
http://dx.php100.com:88/php100-15.rar
http://dx.php100.com:88/php100-16.rar
http://dx.php100.com:88/php100-17.rar
http://dx.php100.com:88/php100-18.rar
http://dx.php100.com:88/php100-19.rar
http://dx.php100.com:88/php100-20.rar
http://dx.php100.com:88/php100-21.rar
http://dx.php100.com:88/php100-22.rar
http://dx.php100.com:88/php100-23.rar
http://dx.php100.com:88/php100-24.rar
http://dx.php100.com:88/php100-25.rar
http://dx.php100.com:88/php100-26.rar
http://dx.php100.com:88/php100-27.rar
http://dx.php100.com:88/php100-28.rar
http://dx.php100.com:88/php100-29.rar
http://dx.php100.com:88/php100-30.rar
http://dx.php100.com:88/php100-31.rar
http://dx.php100.com:88/php100-32.rar
http://dx.php100.com:88/php100-33.rar
http://dx.php100.com:88/php100-34.rar
http://dx.php100.com:88/php100-35.rar
http://dx.php100.com:88/php100-36.rar
http://dx.php100.com:88/php100-37.rar
http://dx.php100.com:88/php100-38.rar
http://dx.php100.com:88/php100-39.rar

http://dx.php100.com:88/10/php100-82.rar
http://dx.php100.com:88/10/php100-83.rar
http://dx.php100.com:88/10/php100-84.rar
http://dx.php100.com:88/10/php100-85.rar
http://dx.php100.com:88/10/php100-86.rar
http://dx.php100.com:88/10/php100-87.rar
http://dx.php100.com:88/10/php100-88.rar
http://dx.php100.com:88/10/php100-89.rar
http://dx.php100.com:88/10/php100-90.rar
http://dx.php100.com:88/10/php100-91.rar
http://dx.php100.com:88/10/php100-92.rar
http://dx.php100.com:88/10/php100-93.rar
http://dx.php100.com:88/10/php100-94.rar
http://dx.php100.com:88/10/php100-95.rar
http://dx.php100.com:88/10/php100-96.rar
http://dx.php100.com:88/10/php100-97.rar
http://dx.php100.com:88/10/php100-98.rar
http://dx.php100.com:88/10/php100-99.rar
http://dx.php100.com:88/10/php100-100.rar 
 

- THE END -
版权声明:
转载原创文章请注明,文章出处://kinggoo.com
原文地址:https://kinggoo.com/xtyy-chengxu-shell-php100shell.htm
发表评论?

2 条评论。

  1. 右边那个打打的”9″是做什么用的啊?

    • 哈哈,是我的博客站标+logo啊
      就想把他放在文章里,最初想把他放到文章的最上面,后来觉得不是很友好就放到下面了~
      因为这样,会吸引访问者去看相关文章这块哈哈~

发表评论


此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据