hueristiq/xurlfind3r
GitHub: hueristiq/xurlfind3r
xurlfind3r 是一款基于被动数据源的域名 URL 发现工具,帮助安全人员快速获取公开可用的链接信息。
Stars: 689 | Forks: 77
# xurlfind3r
 [](https://goreportcard.com/report/github.com/hueristiq/xurlfind3r) [](https://github.com/hueristiq/xurlfind3r/releases) [](https://github.com/hueristiq/xurlfind3r/issues?q=is:issue+is:open) [](https://github.com/hueristiq/xurlfind3r/issues?q=is:issue+is:closed) [](https://github.com/hueristiq/xurlfind3r/blob/master/LICENSE)  [](https://github.com/hueristiq/xurlfind3r/blob/master/CONTRIBUTING.md)
`xurlfind3r` 是一个命令行工具,旨在以简单、高效的方式发现给定域名的 URL。它通过从各种被动来源收集信息来工作,这意味着它不直接与目标交互,而是收集已经公开可用的数据。这使得 `xurlfind3r` 成为安全研究人员、IT 专业人员以及任何想要了解与域名相关的 URL 的人的强大工具。
## 资源
- [Features](#features)
- [Installation](#installation)
- [Install release binaries (Without Go Installed)](#install-release-binaries-without-go-installed)
- [Install source (With Go Installed)](#install-source-with-go-installed)
- [`go install ...`](#go-install)
- [`go build ...` the development version](#go-build--the-development-version)
- [Install on Docker (With Docker Installed)](#install-on-docker-with-docker-installed)
- [Post Installation](#post-installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [Licensing](#licensing)
## 特性
- 从多个在线被动来源获取 URL,提供丰富的结果
- 支持 `stdin` 和 `stdout`,便于在自动化工作流中集成
- 支持多种输出格式(JSONL、文件、stdout)
- 跨平台(Windows、Linux 和 macOS)
## 安装
### 安装发布二进制文件(无 Go 环境)
访问 [releases page](https://github.com/hueristiq/xurlfind3r/releases) 并为您的操作系统和架构找到合适的压缩包。使用浏览器下载压缩包或复制其 URL 并使用 `wget` 或 `curl` 获取:
- ...使用 `wget`:
wget https://github.com/hueristiq/xurlfind3r/releases/download/v/xurlfind3r--linux-amd64.tar.gz
- ...或使用 `curl`:
curl -OL https://github.com/hueristiq/xurlfind3r/releases/download/v/xurlfind3r--linux-amd64.tar.gz
...然后,解压二进制文件:
```
tar xf xurlfind3r--linux-amd64.tar.gz
```
...将 `xurlfind3r` 二进制文件移动到您的 `PATH` 中的某个位置。例如,在 GNU/Linux 和 OS X 系统上:
```
sudo mv xurlfind3r /usr/local/bin/
```
### 安装源代码(已安装 Go)
在从源码安装之前,您需要确保系统已安装 Go。您可以按照官方文档为您的操作系统安装 Go。这里假设 Go 已经安装。
#### `go install ...`
```
go install -v github.com/hueristiq/xurlfind3r/cmd/xurlfind3r@latest
```
#### `go build ...` 开发版本
- 克隆仓库
git clone https://github.com/hueristiq/xurlfind3r.git
- 构建工具
cd xurlfind3r/cmd/xurlfind3r && \
go build .
- 将 `xurlfind3r` 二进制文件移动到您的 `PATH` 中的某个位置。例如,在 GNU/Linux 和 OS X 系统上:
sudo mv xurlfind3r /usr/local/bin/
Windows 用户可以参考 [How to: Add Tool Locations to the PATH Environment Variable](https://msdn.microsoft.com/en-us/library/office/ee537574(v=office.14).aspx 将 `xurlfind3r` 添加到他们的 `PATH`。
### 在 Docker 上安装(已安装 Docker)
在 Docker 中安装 `xurlfind3r`:
- 拉取 Docker 镜像:
docker pull hueristiq/xurlfind3r:latest
- 使用镜像运行 `xurlfind3r`:
docker run --rm hueristiq/xurlfind3r:latest -h
## 安装后
`xurlfind3r` 将在 [installation](#installation) 后立即工作。但某些来源需要 API 密钥才能使用。这些密钥可以添加到 `$HOME/.config/xurlfind3r/config.yaml` 配置文件中(首次运行时创建),或设置为环境变量。
API 密钥的环境变量示例:
```
XURLFIND3R_KEYS_BEVIGIL=your_bevigil_key
XURLFIND3R_KEYS_ONTELX=your_intelx_key
```
## 使用
要开始使用 `xurlfind3r`,打开终端并运行以下命令以查看选项列表:
```
xurlfind3r -h
```
以下是帮助信息的示例:
```
_ __ _ _ _____
__ ___ _ _ __| |/ _(_)_ __ __| |___ / _ __
\ \/ / | | | '__| | |_| | '_ \ / _` | |_ \| '__|
> <| |_| | | | | _| | | | | (_| |___) | |
/_/\_\\__,_|_| |_|_| |_|_| |_|\__,_|____/|_|
v1.3.0
USAGE:
xurlfind3r [OPTIONS]
CONFIGURATION:
-c, --configuration string (default: $HOME/.config/xurlfind3r/config.yaml)
INPUT:
-d, --domain string[] target domain
-l, --list string target domains file path
For multiple domains, use comma(,) separated value with `--domain`,
specify multiple `--domains`, load from file with `--list` or load from stdin.
SCOPE:
--include-subdomains bool match subdomain's URLs
SOURCES:
--sources bool list supported sources
-u, --sources-to-use string[] comma(,) separated sources to use
-e, --sources-to-exclude string[] comma(,) separated sources to exclude
OUTPUT:
--jsonl bool output in JSONL(ines)
-o, --output string output write file path
-O, --output-directory string output write directory path
-m, --monochrome bool stdout in monochrome
-s, --silent bool stdout in silent mode
-v, --verbose bool stdout in verbose mode
```
## 许可
该软件包遵循 [MIT license](https://opensource.org/license/mit) 授权。只要您遵守许可证条款,即可自由使用、修改和分发。您可以在仓库中找到完整的许可证文本 - [Full MIT license text](https://github.com/hueristiq/xurlfind3r/blob/master/LICENSE)。
标签:DNS解析, EVTX分析, EVTX分析, EVTX分析, Go语言, HTTP 参数枚举, Sigma 规则, URL发现, 域名分析, 安全检测, 安全研发, 开源项目, 数据安全, 日志审计, 检测规则, 程序破解, 网络安全, 网络情报, 网络资产发现, 被动信息收集, 规则库, 请求拦截, 隐私保护