dnsenum VERSION:1.2.6 # dnsenum 的用法是:dnsenum + 可选参数 + 域名,例如:dnsenum sina.com Usage: dnsenum [Options] <domain> # 可选参数说明: [Options]: # 提示:如果没有使用 -f 参数指明使用哪个字典文件,就会默认使用 /usr/share/dnsenum/dns.txt # 这个文件或者使用 dnsenum.pl 所在目录中的 dns.txt 文件。 Note: If no -f tag supplied will default to /usr/share/dnsenum/dns.txt or the dns.txt file in the same directory as dnsenum.pl # 常用参数选项: GENERAL OPTIONS: # 使用这个选项指定 dns 服务器,如果不指定,默认使用 /etc/resolv.conf 中指定的 dns 服务器 --dnsserver <server> Use this DNS server for A, NS and MX queries. # 这是一个其他参数的组合,与 --threads 5 -s 15 -w 功能一样 --enum Shortcut option equivalent to --threads 5 -s 15 -w. # 这个参数是打开本帮助文档 -h, --help Print this help message. # 这个参数的作用是跳过反向查找操作 --noreverse Skip the reverse lookup operations. # 禁用 ANSI 颜色输出 --nocolor Disable ANSIColor output. # 在 domain_ips.txt 文件的末尾显示并保存私人 ips --private Show and save private ips at the end of the file domain_ips.txt. # 将扫描到的所有子域写入到这个参数指定的文件中 --subfile <file> Write all valid subdomains to this file. # 用于指定 tcp 和 udp 超时时间,单位秒,默认 10s -t, --timeout <value> The tcp and udp timeout values in seconds (default: 10s). # 指定将执行不同查询的线程数 --threads <value> The number of threads that will perform different queries. # 显示详细信息,显示所有进度和所有错误消息 -v, --verbose Be verbose: show all the progress and all the error messages. # 与 Google 搜索引擎结合的参数选项: GOOGLE SCRAPING OPTIONS: # 抓取 Google 搜索引擎搜索结果的页数,默认是抓取 5 个页面,必须指定 -s 参数 -p, --pages <value> The number of google search pages to process when scraping names, the default is 5 pages, the -s switch must be specified. # 从 Google 抓取的最大子域数量,默认为 15 -s, --scrap <value> The maximum number of subdomains that will be scraped from Google (default 15). # 暴力破解选项: BRUTE FORCE OPTIONS: # 指定暴力破解子域的字典文件,优先级大于默认的字典文件 -f, --file <file> Read subdomains from this file to perform brute force. (Takes priority over default dns.txt) # 更新 -f 指定的字典文件中可用的子域 -u, --update <a|g|r|z> Update the file specified with the -f switch with valid subdomains. # 使用所有结果 a (all) Update using all results. # 只使用 google 抓取的结果 g Update using only google scraping results. # 只使用反向查询到的子域结果 r Update using only reverse lookup results. # 只使用区域传输获取到的结果 z Update using only zonetransfer results. # 递归查询子域,暴力查询所有发现的具有 NS 记录的子域 -r, --recursion Recursion on subdomains, brute force all discovered subdomains that have an NS record. # whois 查询选项: WHOIS NETRANGE OPTIONS: # Whois 查询之间等待的秒数最大值,该值是随机定义的,默认值:3s -d, --delay <value> The maximum value of seconds to wait between whois queries, the value is defined randomly, default: 3s. # 在 c 类网络范围上执行 whois 查询 -w, --whois Perform the whois queries on c class network ranges. # 警告:这会产生很大的网络范围,执行反向查找将花费大量时间 **Warning**: this can generate very large netranges and it will take lot of time to perform reverse lookups. # 反向查找选项: REVERSE LOOKUP OPTIONS: # 从反向查找结果中排除与regexp 表达式匹配的 PTR 记录,这对无效的主机名很有用。 -e, --exclude <regexp> Exclude PTR records that match the regexp expression from reverse lookup results, useful on invalid hostnames. # 输出选项: OUTPUT OPTIONS: # 指定扫描结果以 xml 格式保存到文件中 -o --output <file> Output in XML format. Can be imported in MagicTree (www.gremwell.com)