超级快的端口扫描工具blackwater – 作者:Time master

超级快的端口扫描工具blackwater      吊打NMAP

https://github.com/dollarkillerx/blackwater

Blackwater是rust编写基于SCP并发模型的 端口扫描器
官方测试1秒内扫描6W个端口  并且极少的丢包率

吊打传统测试软件NMAP

官方貌似还打算更进分布式版本

ubuntu@ubuntu:~/$ time blackwater -i 110.242.68.3 -p1-65535

 _      _
| |    | |
| |_   | |   __
| | |  | |  |  |
| _ |  |_|  |  |
Black Water
Asynchronous Port Scanner written in rust
https://github.com/dollarkillerx/blackwater

110.242.68.3:80
110.242.68.3:443
110.242.68.3:2000
110.242.68.3:5060

real    0m1.637s
user    0m1.196s
sys     0m1.672s

ubuntu@ubuntu:~/$ time ./blackwater -i www.baidu.com -p1-65535 
 _      _
| |    | |
| |_   | |   __
| | |  | |  |  |
| _ |  |_|  |  |
Black Water
Asynchronous Port Scanner written in rust
https://github.com/dollarkillerx/blackwater

www.baidu.com:80
www.baidu.com:2000
www.baidu.com:443
www.baidu.com:5060

real    0m1.151s
user    0m0.654s
sys     0m0.697s

ubuntu@ubuntu:~/$ time ./blackwater -i www.bing.com -p1-65535 
 _      _
| |    | |
| |_   | |   __
| | |  | |  |  |
| _ |  |_|  |  |
Black Water
Asynchronous Port Scanner written in rust
https://github.com/dollarkillerx/blackwater

www.bing.com:80
www.bing.com:443
www.bing.com:2000

real    0m1.079s
user    0m0.589s
sys     0m0.442s

ubuntu@ubuntu:~/$ time ./blackwater -i github.com -p1-65535 
 _      _
| |    | |
| |_   | |   __
| | |  | |  |  |
| _ |  |_|  |  |
Black Water
Asynchronous Port Scanner written in rust
https://github.com/dollarkillerx/blackwater

github.com:2000
github.com:22
github.com:80
github.com:443
github.com:5060

real    0m1.137s
user    0m0.685s
sys     0m0.756s

Parameter adjustment, solve the problem of packet loss

There are many reasons for packet loss, roughly divided into two.

  1. network problems (solution: 1. switch to a better network 2. modify the -ttimeout time)
  2. cpu processing super link performance is insufficient (solution: reduce the number of concurrent)
  • Extranet scan, not missing a port
    • Modify thread parameters -cCalculation formula: Number of current CPU logical cores * 100
    • Example: Current CPU logical core is 4 cores Parameter is blackwater -i github.com -c 400 -p 1-65535
  • Intranet scan, not missing a port
    • Modify thread parameters -cCalculation formula: Number of current CPU logical cores * 250
    • Example: Current CPU logical core is 4 cores Parameter is blackwater -i 192.168.88.11 -c 1000 -p 1-65535

来源:freebuf.com 2020-12-15 19:20:08 by: Time master

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享
评论 抢沙发

请登录后发表评论