介紹
前期通過各種方式獲取到了一批子域名/相關域名,可能有上千個,這時候就需要一個工具解析這些域名。domain2ip.py 批量解析子域名,獲取IP地址、所在地、ISP、ASN網段、ASN描述信息、簡單端口掃描、嘗試獲取HTTP狀態碼、httpserver及網頁標題,並保存到csv文件方便進一步篩選目標。
使用:
比如:domain2ip.py -w subdomains.txt -p 80,443,8080 -t 8 -o output.csv
domain2ip.py -h
optional arguments:
-h, --help show this help message and exit
-w WORDLIST, --wordlist WORDLIST Lines contain domain names, one per line
-p PORTS, --port PORTS Ports to scan
-t THREADS, --threads THREADS Number of threads
-o OUTPUT_FILENAME, --output OUTPUT_FILENAME Write output to a csv file
截圖:
轉載請注明出處。