跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • BlackWater 基于 RUST 的端口扫描器 撼动 NMAP 地位
未分類
30 12 月 2020

BlackWater 基于 RUST 的端口扫描器 撼动 NMAP 地位

BlackWater 基于 RUST 的端口扫描器 撼动 NMAP 地位

資深大佬 : DollarKiller 8

https://github.com/dollarkillerx/blackwater

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

吊打传统测试软件 NMAP

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

[email protected]:~/$ 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  [email protected]:~/$ 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  [email protected]:~/$ 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  [email protected]:~/$ 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 -t timeout time)
  2. cpu processing super link performance is insufficient (solution: reduce the number of concurrent)
  • Extranet scan, not missing a port
    • Modify thread parameters -c Calculation 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 -c Calculation 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
大佬有話說 (12)

  • 資深大佬 : janxin

    nmap 的强项不是速度快是功能全…速度本来就不快…

  • 資深大佬 : laminux29

    传统软件功能多,业务复杂。一旦复杂起来,就很难追求极致的性能。这是软件开发的原理,没办法的。

    Blackwater 如果发展起来,功能增多后,同样也会面临这个问题。

    看看早期的 nginx 、redis 、mongodb 、mysql,Java 、.Net 、CPP,甚至 CPU 、GPU 的发展史,也都遇到过这些问题。

  • 資深大佬 : liuxu

    我第一次见人这么吹的

  • 資深大佬 : arischow

    作者是你自己,却用第三方的口吻叙述,多少会让别人感到困惑,甚至反感。

  • 主 資深大佬 : DollarKiller

    @arischow
    @liuxu
    抱歉 令您感到不快
    宝宝知道错了 /(ㄒoㄒ)/~~

  • 資深大佬 : David1119

    在 v2 推广就老老实实讲干货,搞标题党很容易被怼的

  • 資深大佬 : IDAEngine

    nmap 很慢很慢,一点都不快

  • 資深大佬 : datou

    建议主别滥用 jsdelivr 呀

  • 資深大佬 : ragnaroks

    端口扫描,不是越快越容易被屏蔽?

  • 主 資深大佬 : DollarKiller

    @ragnaroks 当你很快时 对方还没有反映多来 就扫描完了

  • 資深大佬 : Dogtler

    我用 Mac 交叉 编译了一下,无法扫描到任何东西啊。

  • 主 資深大佬 : DollarKiller

    @Dogtler 参考阅读 Parameter adjustment, solve the problem of packet loss

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具