forked from 0xInfection/TIDoS-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscanenum.py
More file actions
154 lines (127 loc) · 4.82 KB
/
Copy pathscanenum.py
File metadata and controls
154 lines (127 loc) · 4.82 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#-:-:-:-:-:-:-:-:-:-:-:-:#
# TIDoS Framework #
#-:-:-:-:-:-:-:-:-:-:-:-:#
#Author: @_tID
#This script is a part of TIDoS Framework
#https://github.com/0xInfection/TIDoS-Framework
from __future__ import print_function
import sys
import time
import os
sys.path.append('modules/0x02-Scanning+Enumeration/')
from nmapmain import *
from webscan import *
from bannergrab import *
from osdetect import *
from webtech import *
from waf import *
from ssltlsscan import *
from core.Core.colors import *
from core.Enumeration.scanenumban import *
from core.Enumeration.Crawling.crawlers import *
from core.Enumeration.PortScans.portscan import *
def scanenum(web):
print(B+' [+] Module Selected : '+C+'Scanning and Enumeation')
scanenumban()
v = raw_input(''+O+' \033[4mTID\033[1;0m '+GR+':> ' + color.END)
print('\n')
if v.strip() == '1':
print(B+' [!] Type Selected :'+C+' WAF Analysis'+O)
waf(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == '2':
print(B+' [!] Type Selected :'+C+' Port Scanning')
portscan(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == '3':
print(B+' [!] Type Selected :'+C+' Interactive NMap')
nmapmain(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == '4':
print(B+' [!] Type Selected :'+C+' WebTech Fingerprinting')
webtech(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == '5':
print(B+' [!] Type Selected :'+C+' SSL Enumeration')
ssltlsscan(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == '6':
print(B+' [!] Type Selected :'+C+' OS Fingerprinting')
osdetect(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == '7':
print(B+' [!] Type Selected :'+C+' Banner Grab')
bannergrab(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == '8':
print(B+' [!] Type Selected :'+C+' IP Crawler')
webscan(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenumban()
scanenum(web)
elif v.strip() == '9':
print(B+' [!] Type Selected :'+C+' Web Crawlers')
crawlers(web)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
scanenum(web)
elif v.strip() == 'A':
print(' [!] Type Selected : All Modules')
time.sleep(0.5)
print(B+' [*] Firing up module -->'+C+' WAF Analysis'+O)
waf(web)
print(B+' [!] Module Completed -->'+C+' WAF Analysis\n')
time.sleep(1)
print(B+' [*] Firing up module -->'+C+' Port Scanning ')
portscan(web)
print(B+' [!] Module Completed -->'+C+' Port Scanning \n')
time.sleep(1)
print(B+' [*] Firing up module -->'+C+' Interactive NMap')
nmapmain(web)
print(B+' [!] Module Completed -->'+C+' NMap\n')
time.sleep(1)
print(B + ' [*] Firing up module -->' + C + ' WebTech Fingerprinting')
webtech(web)
print(B + ' [!] Module Completed -->' + C + ' WebTech\n')
time.sleep(1)
print(B + ' [*] Firing up module -->' + C + ' SSL Enumeration')
ssltlsscan(web)
print(B + ' [!] Module Completed -->' + C + ' SSL Enumeration\n')
time.sleep(1)
print(B + ' [*] Firing up module -->' + C + ' OS Detect')
osdetect(web)
print(B + ' [!] Module Completed -->' + C + ' OS Detect\n')
time.sleep(1)
print(B + ' [*] Firing up module -->' + C + ' Banner Grabbing')
bannergrab(web)
print(B + ' [!] Module Completed -->' + C + ' Banner Grabbing\n')
time.sleep(1)
print(B + ' [*] Firing up module -->' + C + ' Webserver Scanning')
webscan(web)
print(B + ' [!] Module Completed -->' + C + ' Webserver Scanning\n')
time.sleep(1)
print(B+' [*] Firing up module -->'+C+' Crawlers')
crawlers(web)
print(B+' [!] Module Completed -->'+C+' Crawlers\n')
time.sleep(0.5)
print(G+' [+] All modules successfully completed!')
time.sleep(0.5)
raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
print(GR+' [*] Going back...')
elif v.strip() == '99':
print('[!] Back')
time.sleep(0.7)
else:
dope = ['You high dude?','Hey there! Enter a valid option','Whoops! Thats not an option','Sorry fam! You just typed shit']
print(dope[randint(0,3)])
time.sleep(0.7)
os.system('clear')
scanenum(web)