# subx **Repository Path**: jrsmith24/subx ## Basic Information - **Project Name**: subx - **Description**: subfinder + ksubdomain + httpx 子域名信息收集及存活探测 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2025-04-15 - **Last Updated**: 2025-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # subx `subfinder + ksubdomain + httpx` 子域名信息收集及存活探测 ## 工具 - subfinder version: 2.6.5 > https://github.com/projectdiscovery/subfinder 用来查询域名的子域名信息的工具,可以使用很多国内外安全网站的api接口进行自动化搜索子域名信息。 - ksubdomain version: 1.9.5 > https://github.com/boy-hack/ksubdomain 一款基于无状态的子域名爆破工具,类似无状态端口扫描,支持在Windows/Linux/Mac上进行快速的DNS爆破,拥有重发机制不用担心漏包。 - httpx version: 1.6.0 > https://github.com/projectdiscovery/httpx httpx是一个快速且多用途的HTTP工具包,允许使用retryyablehttp库运行多个探测。 ## subx.py 适用于 `Windows、Linux` - 用法 ``` D:\Code\Python\subx>python subx.py _ | | ___ _ _| |____ __ / __| | | | '_ \ \/ / \__ \ |_| | |_) > < |___/\__,_|_.__/_/\_\ author : mingy usage: python subx.py -t yijingsec.com python subx.py -f domain.txt optional arguments: -h, --help show this help message and exit -t TARGET, --target TARGET 域名 -f FILE, --file FILE 域名文件 ``` ![image](images/image-5.png) - 单域名 ``` python subx.py -t antvsion.com ``` ![image](images/image-6.png) - 批量域名 ``` python subx.py -f domain.txt ``` ## subx.sh 适用于 `Linux` ``` root@yijing-ms:~/subx# ./subx.sh _ | | ___ _ _| |____ __ / __| | | | '_ \ \/ / \__ \ |_| | |_) > < |___/\__,_|_.__/_/\_\ author : mingy >>> 用法: [+] bash ./subx.sh <域名> [+] bash ./subx.sh <域名文件> ``` ![image](images/image.png) - 单域名 ``` root@yijing-ms:~/subx# ./subx.sh antvsion.com ``` ![image](images/image-1.png) ![image](images/image-2.png) - 批量域名 ``` root@yijing-ms:~/subx# ./subx.sh domain.txt ``` ![image](images/image-3.png) ![image](images/image-4.png)