GetAlName它是一個小腳本,用于發(fā)現(xiàn)可直接從HTTPS網(wǎng)站為您提供DNS名稱或虛擬服務(wù)器的SSL證書提取主題替代名稱的子域。
它在筆測試評估的發(fā)現(xiàn)階段非常有用,該工具可以為您提供有關(guān)您的目標(biāo)和范圍的更多信息。
GetAltName的特性來發(fā)現(xiàn)子域
GetAlName子域提取工具的用法
您可以輸出到文本文件,也可以將輸出作為List或Single行字符串復(fù)制到剪貼板,如果您試圖使用Nmap或其他工具快速掃描,這非常有用。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
usage: getaltname.py [-h] [-p PORT] [-s [timeout]] [-m] [-o OUTPUT] [-c {l,s}]
[-d]
hostname
positional arguments:
hostname Host to analyze.
optional arguments:
-h, –help show this help message and exit
-p PORT, –port PORT Destiny port (default 443)
-s [timeout], –search-crt [timeout] Retrieve subdomains found in crt.sh
-m, –matching-domain Show matching domain name only
-o OUTPUT, –output OUTPUT Set output filename
-c {l,s}, –clipboard {l,s} Copy the output to the clipboard as a
List or a Single string
-d, –debug Set debug enable
|
GetAltName需求
還有其他DNS發(fā)現(xiàn)和提取工具使用不同的方法,包括暴力破解,例如:
下載:getaltname-1.0.0.zip(https://github.com/franccesco/getaltname/archive/1.0.0.zip)
原文:https://www.darknet.org.uk/2018/03/getaltname-discover-sub-domains-from-ssl-certificates/?utm_source=rss&utm_medium=social&utm_campaign=darknetfeed