成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

chaos:一款整合了ChatGPT的源IP掃描工具

安全 應用安全
chaos是一款功能強大的源IP地址掃描工具,該工具整合了ChatGPT的功能,主要面向的是安全滲透測試人員和漏洞Hunter。

關于chaos

chaos是一款功能強大的源IP地址掃描工具,該工具整合了ChatGPT的功能,主要面向的是安全滲透測試人員和漏洞Hunter。

這里所說的源IP,指的是通過第三方公開服務托管的網站所使用的最終公共IP目的地址。

功能介紹

1、支持多線程以實現高性能運行;

2、實時狀態更新和進度條,適用于大規模掃描;

3、針對各種場景和限制設置了靈活的用戶參數選項;

4、減少數據集以縮短掃描時間;

5、易于使用;

6、支持CSV格式輸出;

工具安裝

由于該工具基于純Python 3開發,因此我們首先需要在本地設備上安裝并配置好Python 3環境。接下來,廣大研究人員可以使用下列命令將該項目源碼克隆至本地:

git clone https://github.com/r57-labs/chaos.git

然后切換到項目目錄中,使用pip3命令安裝該工具所需的其他依賴組件,并激活虛擬環境:

pip3 install -U pip setuptools virtualenv

virtualenv env

source env/bin/activate

(env) pip3 install -U -r ./requirements.txt

最后,運行下列命令即可開始使用chaos:

(env) ./chaos.py -h

工具參數選項

-h, --help             顯示工具幫助信息和退出

-f FQDN, --fqdn FQDN  FQDN文件路徑,每一個FQDN單獨一行

-i IP, --ip IP            HTTP請求的IP地址,逗號分隔

-a AGENT, --agent AGENT  請求的User-Agent Header值

-C, --csv              將CSV輸出追加到OUTPUT_FILE.csv

-D, --dns             在請求之前對FQDN/IP值執行fwd/rev DNS查詢

-j JITTER, --jitter JITTER   設置隨機延遲間隔,單位為秒

-o OUTPUT, --output OUTPUT  將控制臺輸出追加到文件中

-p PORTS, --ports PORTS   要使用的TCP端口列表,逗號分隔,默認為"80,443"

-P, --no-prep          不使用`GET /`對每一個IP/端口執行預掃描,使用`Host: {IP:Port}` Header執行預掃描以去除無響應的主機

-r, --randomize        隨機化要測試的IP/端口列表

-s SLEEP, --sleep SLEEP   在線程執行完后要休眠的時間,單位為秒

-t TIMEOUT, --timeout TIMEOUT   等待未響應主機的時間,單位為秒

-T, --test            測試模式,不發送任何請求

-v, --verbose         啟用Verbose模式輸出

-x, --singlethread    單線程執行,針對1-2個核心的系統,默認線程數=核心數-1

工具使用樣例

本地主機測試

啟用Python HTTP服務器:

% python3 -u -m http.server 8001

Serving HTTP on :: port 8001 (http://[::]:8001/) ...

啟動ncat(HTTP檢測為SSL),使用循環執行檢測:

% while true; do ncat -lvp 8443 -c 'printf "HTTP/1.0 204 Plaintext OK\n\n<html></html>\n"'; done

Ncat: Version 7.94 ( https://nmap.org/ncat )

Ncat: Listening on [::]:8443

Ncat: Listening on 0.0.0.0:8443

以SSL啟動ncat:

% while true; do ncat --ssl -lvp 8444 -c 'printf "HTTP/1.0 202 OK\n\n<html></html>\n"'; done    

Ncat: Version 7.94 ( https://nmap.org/ncat )

Ncat: Generating a temporary 2048-bit RSA key. Use --ssl-key and --ssl-cert to use a permanent one.

Ncat: SHA-1 fingerprint: 0208 1991 FA0D 65F0 608A 9DAB A793 78CB A6EC 27B8

Ncat: Listening on [::]:8444

Ncat: Listening on 0.0.0.0:8444

準備一個FQDN文件:

% cat ../test_localhost_fqdn.txt

www.example.com

localhost.example.com

localhost.local

localhost

notreally.arealdomain

準備一個IP文件/列表:

% cat ../test_localhost_ips.txt

127.0.0.1

127.0.0.0/29

not_an_ip_addr

-6.a

=4.2

::1

執行掃描:

% ./chaos.py -f ../test_localhost_fqdn.txt -i ../test_localhost_ips.txt,::1/126 -p 8001,8443,8444 -x -s0.2 -t1   

2023-06-21 12:48:33 [WARN] Ignoring invalid FQDN value: localhost.local

2023-06-21 12:48:33 [WARN] Ignoring invalid FQDN value: localhost

2023-06-21 12:48:33 [WARN] Ignoring invalid FQDN value: notreally.arealdomain

2023-06-21 12:48:33 [WARN] Error: invalid IP address or CIDR block =4.2

2023-06-21 12:48:33 [WARN] Error: invalid IP address or CIDR block -6.a

2023-06-21 12:48:33 [WARN] Error: invalid IP address or CIDR block not_an_ip_addr

2023-06-21 12:48:33 [INFO] * ---- <META> ---- *

2023-06-21 12:48:33 [INFO] * Version: 0.9.4

2023-06-21 12:48:33 [INFO] * FQDN file: ../test_localhost_fqdn.txt

2023-06-21 12:48:33 [INFO] * FQDNs loaded: ['www.example.com', 'localhost.example.com']

2023-06-21 12:48:33 [INFO] * IP input value(s): ../test_localhost_ips.txt,::1/126

2023-06-21 12:48:33 [INFO] * Addresses parsed from IP inputs: 12

2023-06-21 12:48:33 [INFO] * Port(s): 8001,8443,8444

2023-06-21 12:48:33 [INFO] * Thread(s): 1

2023-06-21 12:48:33 [INFO] * Sleep value: 0.2

2023-06-21 12:48:33 [INFO] * Timeout: 1.0

2023-06-21 12:48:33 [INFO] * User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36 ch4*0s/0.9.4

2023-06-21 12:48:33 [INFO] * ---- </META> ---- *

2023-06-21 12:48:33 [INFO] 36 unique address/port addresses for testing

Prep Tests: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 36/36 [00:29<00:00,  1.20it/s]

2023-06-21 12:49:03 [INFO] 9 IP/ports verified, reducing test dataset from 72 entries

2023-06-21 12:49:03 [INFO] 18 pending tests remain after pre-testing

2023-06-21 12:49:03 [INFO] Queuing 18 threads

  ++RCVD++ (200 OK) www.example.com @ :::8001                                                                                                                                                    

  ++RCVD++ (204 Plaintext OK) www.example.com @ :::8443                                                                                                                                          

  ++RCVD++ (202 OK) www.example.com @ :::8444                                                                                                                                                    

  ++RCVD++ (200 OK) www.example.com @ ::1:8001                                                                                                                                                   

  ++RCVD++ (204 Plaintext OK) www.example.com @ ::1:8443                                                                                                                                         

  ++RCVD++ (202 OK) www.example.com @ ::1:8444                                                                                                                                                   

  ++RCVD++ (200 OK) www.example.com @ 127.0.0.1:8001                                                                                                                                             

  ++RCVD++ (204 Plaintext OK) www.example.com @ 127.0.0.1:8443                                                                                                                                   

  ++RCVD++ (202 OK) www.example.com @ 127.0.0.1:8444                                                                                                                                             

  ++RCVD++ (200 OK) localhost.example.com @ :::8001                                                                                                                                              

  ++RCVD++ (204 Plaintext OK) localhost.example.com @ :::8443                                                                                                                                    

  ++RCVD++ (202 OK) localhost.example.com @ :::8444                                                                                                                                              

  ++RCVD++ (200 OK) localhost.example.com @ ::1:8001                                                                                                                                             

  ++RCVD++ (204 Plaintext OK) localhost.example.com @ ::1:8443                                                                                                                                   

  ++RCVD++ (202 OK) localhost.example.com @ ::1:8444                                                                                                                                             

  ++RCVD++ (200 OK) localhost.example.com @ 127.0.0.1:8001                                                                                                                                       

  ++RCVD++ (204 Plaintext OK) localhost.example.com @ 127.0.0.1:8443                                                                                                                             

  ++RCVD++ (202 OK) localhost.example.com @ 127.0.0.1:8444                                                                                                                                       

Origin Scan: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 18/18 [00:06<00:00,  2.76it/s]

2023-06-21 12:49:09 [RSLT] Results from 5 FQDNs:

  ::1

    ::1:8444 => (202 / OK)

    ::1:8443 => (204 / Plaintext OK)

    ::1:8001 => (200 / OK)

 

  127.0.0.1

    127.0.0.1:8001 => (200 / OK)

    127.0.0.1:8443 => (204 / Plaintext OK)

    127.0.0.1:8444 => (202 / OK)

 

  ::

    :::8001 => (200 / OK)

    :::8443 => (204 / Plaintext OK)

    :::8444 => (202 / OK)

 

  www.example.com

    :::8001 => (200 / OK)

    :::8443 => (204 / Plaintext OK)

    :::8444 => (202 / OK)

    ::1:8001 => (200 / OK)

    ::1:8443 => (204 / Plaintext OK)

    ::1:8444 => (202 / OK)

    127.0.0.1:8001 => (200 / OK)

    127.0.0.1:8443 => (204 / Plaintext OK)

    127.0.0.1:8444 => (202 / OK)

 

  localhost.example.com

    :::8001 => (200 / OK)

    :::8443 => (204 / Plaintext OK)

    :::8444 => (202 / OK)

    ::1:8001 => (200 / OK)

    ::1:8443 => (204 / Plaintext OK)

    ::1:8444 => (202 / OK)

    127.0.0.1:8001 => (200 / OK)

    127.0.0.1:8443 => (204 / Plaintext OK)

    127.0.0.1:8444 => (202 / OK)

 

 

rst@r57 chaos %

工具運行截圖

許可證協議

本項目的開發與發布遵循GPL-3.0開源許可證協議。

項目地址

chaos:【GitHub傳送門】

參考資料

https://r57labs.com/labs_chaos

本文作者:Alpha_h4ck, 轉載請注明來自FreeBuf.COM

責任編輯:武曉燕 來源: ?FreeBuf.COM
相關推薦

2021-07-09 10:14:05

IP工具命令

2017-07-24 07:29:47

2014-08-29 15:34:27

Web安全

2021-12-28 15:33:36

安全工具Stacs憑證掃描

2023-03-29 23:40:24

2020-10-05 21:26:32

工具代碼開發

2011-01-11 10:29:46

2022-02-20 18:59:23

漏洞安全掃描工具

2021-01-27 13:16:39

ScreenLinux命令

2021-02-16 10:58:50

ScreenLinux命令

2023-04-27 11:52:54

人工智能Claude軟件

2023-03-31 07:59:02

2013-10-15 09:26:12

2020-12-22 10:30:47

Nagios工具監控

2010-12-31 13:35:39

2024-02-23 08:13:25

Excalidraw白板工具開源

2021-03-25 16:15:24

SQL工具慢查詢

2011-05-10 09:55:14

2011-01-11 13:45:20

2025-01-22 16:13:07

點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 精品一区在线 | 国产精品久久一区二区三区 | 久草网址 | 欧美aⅴ片 | 国产精品高潮呻吟久久久久 | 国产在线中文字幕 | 日韩a在线 | 在线观看中文视频 | 日韩资源| 欧美激情 亚洲 | 日韩二区| 日韩伦理电影免费在线观看 | 日本精品国产 | 国产露脸国语对白在线 | 亚洲精品乱码久久久久久久久 | 亚洲欧美日韩国产综合 | 天天操 夜夜操 | 国产福利视频在线观看 | 五月综合久久 | 精品电影 | 久久久久九九九九 | 国产成人精品a视频 | 天堂资源 | 在线免费亚洲视频 | 日本精品一区二区三区在线观看 | 99视频在线 | 日本福利片 | 欧美成人高清视频 | 九九热这里只有精品在线观看 | 欧美国产日韩在线 | 久草在线青青草 | 在线亚洲精品 | 亚洲欧美中文日韩在线v日本 | 国产一区2区 | 精品伊人久久 | 成人在线精品视频 | 欧州一区 | 国产高清一区二区三区 | pacopacomama在线 | 亚洲一区二区三区在线视频 | 欧美一级久久 |