|
|
本帖最后由 maintell 于 2020-5-21 00:35 编辑
如题,前段时间用了各位大佬发的剑皇工具,发现各位大佬就用shell脚本和wget还是太慢了,居然不能打满带宽
所以用golang写了一个,可以跑满带宽。
比如GCP的小鸡在32线程的情况下可以跑2.7Gbps左右,一晚上干了十来个TB
这个时候就看对方服务器能不能扛得住了
用法:
- wget https://git.io/JfzHF -O webBenchmark_linux_x64
- chmod +x webBenchmark_linux_x64
- ./webBenchmark_linux_x64 -c 32 -s https://target.url
复制代码
代码是随手写的,请各位不要喷代码,源码:https://github.com/maintell/webBenchmark
golang写的,下载的就是二进制文件,不是shell脚本!
|
|