自动化的Web侦察工具,在一个模块化框架中提供标头分析、DNS枚举、子域名发现、目录扫描、SSL检查和端口扫描。

Twitter - Telegram - thewhiteh4t 的博客
FinalRecon 是一个用 Python 编写的多合一自动化网络侦察工具。它的目标是在短时间内提供目标的概览,同时保持结果的准确性。它无需依次执行多个工具,就能提供类似的结果,并且依赖小巧简单。
FinalRecon 提供如下详细信息:
某些模块使用 API 密钥从不同资源获取数据,这些是可选的。如果你不使用 API 密钥,它们将被直接跳过。
如果设置了环境变量,则从环境变量读取密钥;否则从配置目录加载。
FR_BEVIGIL_KEY, FR_HUNTER_KEY, FR_NETLAS_KEY,
FR_SHODAN_KEY, FR_VT_KEY, FR_ZOOMEYE_KEY,
FR_CHAOS_KEY, FR_GITHUB_KEY, FR_LEAKIX_KEY
# Example :
export FR_SHODAN_KEY="kl32lcdqwcdfv"
你可以使用 -k 添加密钥,它们将被自动保存到配置目录
# Usage
python3 finalrecon.py -k '<API NAME>@<API KEY>'
Valid Keys : 'bevigil', 'chaos', 'github', 'hunter', 'leakix', 'netlas', 'shodan', 'virustotal', 'zoomeye'
# Example :
python3 finalrecon.py -k 'shodan@kl32lcdqwcdfv'
Path = $HOME/.config/finalrecon/keys.json
默认配置文件位于 ~/.config/finalrecon/config.json
{
"common": {
"timeout": 30,
"dns_servers": "8.8.8.8, 8.8.4.4, 1.1.1.1, 1.0.0.1"
},
"ssl_cert": {
"ssl_port": 443
},
"port_scan": {
"threads": 50
},
"dir_enum": {
"threads": 50,
"redirect": false,
"verify_ssl": false,
"extension": ""
},
"export": {
"format": "txt"
}
}
FinalRecon 是一款面向渗透测试人员的工具,专为 Linux 操作系统设计,不支持其他平台如 Windows 和 Termux。
sudo apt install finalrecon
sudo pacman -S finalrecon
doas pkg_add finalrecon
git clone https://github.com/thewhiteh4t/FinalRecon.git
cd FinalRecon
pip3 install -r requirements.txt
docker pull thewhiteh4t/finalrecon
docker run -it --entrypoint /bin/sh thewhiteh4t/finalrecon
此外,Docker 用户可以使用此别名以普通 CLI 用户的身份运行 finalrecon:
alias finalrecon="docker run -it --rm --name finalrecon --entrypoint 'python3' thewhiteh4t/finalrecon finalrecon.py"
然后使用 finalrecon 启动扫描。
备注
如果你有任何 API 密钥,可以轻松地将该镜像提交到本地机器。
此 Docker 使用方法需要 root 权限才能运行 docker 命令。
FinalRecon - All in One Web Recon | v1.1.6
options:
-h, --help show this help message and exit
--url URL Target URL
--headers Header Information
--sslinfo SSL Certificate Information
--whois Whois Lookup
--crawl Crawl Target
--dns DNS Enumeration
--sub Sub-Domain Enumeration
--dir Directory Search
--wayback Wayback URLs
--ps Fast Port Scan
--full Full Recon
Extra Options:
-nb Hide Banner
-dt DT Number of threads for directory enum [ Default : 30 ]
-pt PT Number of threads for port scan [ Default : 50 ]
-T T Request Timeout [ Default : 30.0 ]
-w W Path to Wordlist [ Default : wordlists/dirb_common.txt
]
-r Allow Redirect [ Default : False ]
-s Toggle SSL Verification [ Default : True ]
-sp SP Specify SSL Port [ Default : 443 ]
-d D Custom DNS Servers [ Default : 1.1.1.1 ]
-e E File Extensions [ Example : txt, xml, php ]
-o O Export Format [ Default : txt ]
-cd CD Change export directory [ Default :
~/.local/share/finalrecon ]
-k K Add API key [ Example : shodan@key ]
# 检查头部
python3 finalrecon.py --headers --url https://example.com
# 检查 SSL 证书
python3 finalrecon.py --sslinfo --url https://example.com
# 检查 Whois 信息
python3 finalrecon.py --whois --url https://example.com
# 爬取目标
python3 finalrecon.py --crawl --url https://example.com
# 目录搜索
python3 finalrecon.py --dir --url https://example.com -e txt,php -w /path/to/wordlist
# 完整扫描
python3 finalrecon.py --full --url https://example.com
由 Lohitya Pushkar (thewhiteh4t) 创建
| Source | Module | Link |
|---|
| VirusTotal | 子域名枚举 | https://www.virustotal.com/gui/my-apikey |
| Shodan | 子域名枚举 | https://developer.shodan.io/api/requirements |
| BeVigil | 子域名枚举 | https://bevigil.com/osint-api |
| Chaos | 子域名枚举 | https://cloud.projectdiscovery.io |
| LeakIX | 子域名枚举 | https://leakix.net |
| GitHub | 子域名枚举 | https://github.com/settings/tokens |
| Netlas | 子域名枚举 | https://docs.netlas.io/getting_started/ |
| ZoomEye | 子域名枚举 | https://www.zoomeye.ai/ |
| Hunter | 子域名枚举 | https://hunter.how/search-api |