-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
subton.py
28 lines (22 loc) · 1.11 KB
/
subton.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import requests
print ("""
\033[94m███████ ██ ██ ██████ ████████ ██████ ███ ██
██ ██ ██ ██ ██ ██ ██ ██ ████ ██
███████ ██ ██ ██████ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███████ ██████ ██████ ██ ██████ ██ ████
\033[92m--------------------------@imhunterand------------------------
""")
domain = input("[+] Input domain list : ")
print ("[+] Waiting progress ... \n")
def main(domain):
url = "https://sonar.omnisint.io/subdomains/{}".format(domain)
data = requests.get(url).json()
print ("[+] Found : \n")
for i in data:
print(i)
open('Result.txt','a').write(str(i) + '\n')
if __name__ == '__main__':
main(domain)