This repository has been archived by the owner on Dec 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3f99e5
commit e863123
Showing
1 changed file
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,47 @@ | ||
# findSubDomains | ||
A tool finding sub-domains of a target site for us penetesters. | ||
|
||
Switch to python3 for simplication @2019.5.13. | ||
|
||
## Preface | ||
这个脚本源自lijiejie/subDomainsBrute, 用来探测子域名,我删除了很多代码,也添加了不少注释,使得代码变得更简练和清晰。 | ||
|
||
你可以在这看到找到这个项目: https://github.com/lijiejie/subDomainsBrute | ||
|
||
## Dependencies | ||
|
||
pip install dnspython gevent | ||
pip3 install dnspython gevent | ||
|
||
## Usage | ||
|
||
python findSubDomains.py [your target domain] | ||
python3 findSubDomains.py [your target domain] | ||
|
||
## Example | ||
|
||
➜ subDomainsBrute git:(master) ✗ python findSubDomains.py baidu.com | ||
[*] Validate DNS servers ... | ||
[+] Check DNS Server 223.6.6.6 < OK > Found 4 | ||
[*] Found 4 available DNS Servers in total | ||
[+] Load sub names ... | ||
[+] Load sub names ... | ||
[*] Exploiting sub domains of baidu.com | ||
[+] There are 15372 subs waiting for trying ... | ||
-------------------------------------- | ||
[*] Initializing 100 threads | ||
123.baidu.com 115.239.210.27, 115.239.211.112 | ||
0.baidu.com 180.149.144.203 | ||
1.baidu.com 61.135.186.115 | ||
11.baidu.com 220.181.57.55 | ||
12.baidu.com 220.181.57.166 | ||
100.baidu.com 180.149.131.33 | ||
1111.baidu.com 180.97.93.38 | ||
2013.baidu.com 180.149.131.33 | ||
2014.baidu.com 115.239.210.174, 180.97.33.136 | ||
365.baidu.com 180.149.131.33 | ||
3g.baidu.com 115.239.217.67, 115.239.217.68 | ||
7.baidu.com 61.135.185.212 | ||
starnight:findSubDomains starnight$ python3 findSubDomains.py qq.com | ||
[*] Validate DNS servers ... | ||
[+] Check DNS Server 119.29.29.29 < OK > Found 4 | ||
[*] Found 4 available DNS Servers in total | ||
[+] Load sub names ... | ||
[+] Load sub names ... | ||
[*] Exploiting sub domains of qq.com | ||
[+] There are 15372 subs waiting for trying ... | ||
-------------------------------------- | ||
[*] Initializing 100 threads | ||
007.qq.com 61.129.7.119 | ||
108.qq.com 180.153.105.147, 180.153.105.153, 180.153.105.161, 180.153.105.162, 180.153.105.173, 180.153.105.195 | ||
114.qq.com 183.61.51.35 | ||
2010.qq.com 61.129.7.47 | ||
2011.qq.com 61.129.7.47 | ||
2014.qq.com 61.129.7.47 | ||
123.qq.com 180.163.26.39 | ||
1.qq.com 101.89.15.139 | ||
2012.qq.com 61.129.7.47 | ||
2008.qq.com 180.163.26.39 | ||
12.qq.com 180.163.26.39 | ||
17.qq.com 183.3.225.113 | ||
3.qq.com 180.153.105.147, 180.153.105.153, 180.153.105.161, 180.153.105.162, 180.153.105.173, 180.153.105.195 | ||
3g.qq.com 61.151.168.204 | ||
3d.qq.com 180.153.105.147, 180.153.105.153, 180.153.105.161, 180.153.105.162, 180.153.105.173, 180.153.105.195 | ||
|
||
|