-
Notifications
You must be signed in to change notification settings - Fork 0
/
disc-osint-brute.py
56 lines (52 loc) · 2.56 KB
/
disc-osint-brute.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/python
# coding: utf8
import os
import sys
from termcolor import colored
print ""
print(colored("╔════════════════════════════════════════════════════════════════╗",'green'))
print(colored("║ Automatic Osint Discovery ║",'green'))
print(colored("╚════════════════════════════════════════════════════════════════╝",'green'))
print ""
print("Used Tools :")
print(colored("* Nmap",'green'))
print(colored("* Automater",'green'))
print(colored("* Dnsmap",'green'))
print(colored("* DnsEnum",'green'))
print(colored("* Testssl.sh",'green'))
print(colored("* Dirb",'green'))
print(colored("* Nikto",'green'))
print(colored("* WafW00f",'green'))
print(colored("* THEHARVESTER",'green'))
print ""
print ""
#Entreprise ?
host = raw_input("Entreprise ? ")
path = os.getcwd()
print(colored("Repertoire : ",'green')) + path
print ""
print "╔════════════════════════════════════════════════════════════════╗"
print "║ Nmap ║"
print "╚════════════════════════════════════════════════════════════════╝"
#Nmap
def nmap():
nmap = "nmap -sS -sV -oA nmap"
print(colored("Command : ",'green')) + nmap, host
os.system(nmap + ' ' + host)
nmap()
copie = "cp nmap.nmap brutespray/"
os.system(copie)
print ""
print "╔════════════════════════════════════════════════════════════════╗"
print "║ BruteSpray ║"
print "╚════════════════════════════════════════════════════════════════╝"
# BruteSpray
def brute():
brute = "python brutespray/brutespray.py -f nmap.nmap"
print(colored("Command : ",'green')) + brute
os.system(brute)
brute()
create = "mkdir " + host
os.system(create)
copie2 = "cp -R *.nmap *.html *.txt *.gmap " + host
os.system(copie2)