Skip to main content

获取帮助

使用 uncover -h 显示所有帮助选项。

uncover 选项

Usage:
  ./uncover [flags]

Flags:
INPUT:
   -q, -query string[]   搜索查询,支持:stdin,file,config 输入 (示例: -q 'example query', -q 'query.txt')
   -e, -engine string[]  要查询的搜索引擎 (shodan,shodan-idb,fofa,censys,quake,hunter,zoomeye,netlas,criminalip,publicwww,hunterhow) (默认 shodan)
   -asq, -awesome-search-queries string[] 使用优秀的搜索查询在互联网上发现暴露的资产 (示例: -asq 'jira')

SEARCH-ENGINE:
   -s, -shodan string[]       shodan 的搜索查询 (示例: -shodan 'query.txt')
   -sd, -shodan-idb string[]  shodan-idb 的搜索查询 (示例: -shodan-idb 'query.txt')
   -ff, -fofa string[]        fofa 的搜索查询 (示例: -fofa 'query.txt')
   -cs, -censys string[]      censys 的搜索查询 (示例: -censys 'query.txt')
   -qk, -quake string[]       quake 的搜索查询 (示例: -quake 'query.txt')
   -ht, -hunter string[]      hunter 的搜索查询 (示例: -hunter 'query.txt')
   -ze, -zoomeye string[]     zoomeye 的搜索查询 (示例: -zoomeye 'query.txt')
   -ne, -netlas string[]      netlas 的搜索查询 (示例: -netlas 'query.txt')
   -cl, -criminalip string[]  criminalip 的搜索查询 (示例: -criminalip 'query.txt')
   -pw, -publicwww string[]   publicwww 的搜索查询 (示例: -publicwww 'query.txt')
   -hh, -hunterhow string[]   hunterhow 的搜索查询 (示例: -hunterhow 'query.txt')

CONFIG:
   -pc, -provider string         提供商配置文件 (默认 "$CONFIG/uncover/provider-config.yaml")
   -config string                标志配置文件 (默认 "$CONFIG/uncover/config.yaml")
   -timeout int                  超时时间(秒)(默认 30)
   -rl, -rate-limit int          每秒最大 http 请求数
   -rlm, -rate-limit-minute int  每分钟最大请求数
   -retry int                    失败请求重试次数 (默认 2)

OUTPUT:
   -o, -output string  写入结果的输出文件
   -f, -field string   在输出中显示的字段 (ip,port,host) (默认 "ip:port")
   -j, -json           以 JSONL(ines) 格式写入输出
   -r, -raw            按远程 API 接收到的原始格式写入输出
   -l, -limit int      限制返回结果的数量 (默认 100)
   -nc, -no-color      禁用输出中的颜色

DEBUG:
   -silent   仅在输出中显示结果
   -version  显示项目版本
   -v        显示详细输出

注意事项:

  • 在运行或使用此项目之前需要配置 keys/credentials
  • query 标志仅支持搜索引擎支持的所有过滤器
  • 结果默认限制为 100,可以通过 limit 标志增加。
  • shodan-idb API 不需要 API 密钥,可以直接使用。
  • 当提供 IP/CIDR 作为输入时,会默认使用 shodan-idb API。