扫描工具Masscan

据说这是最快速的互联网端口扫描工具,能够在6分钟扫描整个互联网。

安装:

git clone https://github.com/robertdavidgraham/masscan.git /opt/masscan
cd /opt/masscan
make
make install
运行:
cd /opt/masscan/bin
./masscan -p80,8000-8100 10.0.0.0/8

-p80,8000-8100定义扫描端口为80和8000到8100

./masscan -p0-65535 10.0.0.0/8 --rate 150000 -oL output.txt

--rate定义每秒发送的数据包个数,根据自己实际网络情况谨慎设置,

-oL定义扫描结果输出位置。

./masscan -p80,8000-8100 10.0.0.0/8 --echo>scan.conf

--echo>scan.conf输出此次的配置到scan.conf

./masscan -c scan.conf

使用scan.conf中的配置进行扫描

猜你喜欢

转载自blog.csdn.net/snoopied/article/details/80210510