-
Notifications
You must be signed in to change notification settings - Fork 87
/
optiva.py
191 lines (151 loc) · 3.9 KB
/
optiva.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
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
#!/usr/bin/env python
#
# Author : Joker-Security
# Optiva-framework - Web application scanner
# Twitter: https://twitter.com/SecurityJoker
# Channel ; https://www.youtube.com/c/Professionalhacker25
# FACE Pg : https://facebook.com/kali.linux.pentesting.tutorials
#modules
import os
import sys
import time
import hashlib
import datetime
sys.path.append('core/')
from gost import *
from coder import *
from update import *
from banner import *
from command import *
sys.path.append('modules/')
from hashc import *
from hashk import *
from hashm import *
from hashs import *
from hashz import *
from xssy import *
from info import *
from sqldork import *
from adm import *
from who import *
from por import *
from rce import *
from sqll import *
from iplocator import *
from reverse import *
from header import *
try:
from termcolor import colored, cprint
except ImportError as ie:
print(str(ie))
def clear():
if system() == 'Linux':
os.system("clear")
if system() == 'Windows':
os.system('cls')
os.system('color a')
else:
pass
class OptivaMain(object):
def joker(self):
__version__ = '1.0.4'
__author__ = "Joker-Security"
__Github__ = "https://github.com/joker25000"
__Twitter__ = "https://twitter.com/SecurityJoker"
__Channel__ = "https://www.youtube.com/c/Professionalhacker25"
__Facebook__ = "https://facebook.com/kali.linux.pentesting.tutorials"
__date__ = datetime.datetime.now()
__tools__ = "15"
try:
github = raw_input("\n\033[92m[\033[91m0ptiva\033[92m]\033[93m$>")
if github == 'exit':
print '\033[1;91mThanks for Usage \033[96mOptivaframework !'
sys.exit(0)
if github == 'clear':
os.system('clear')
Banner()
GostBanner()
return Optiva.joker()
if github == 'version':
os.system('clear')
Banner()
GostBanner()
print("\033[41mVersion: " + colored(__version__, 'white'))
return Optiva.joker()
if github == 'banner':
Banner()
GostBanner()
return Optiva.joker()
if github == 'xss':
xssvu()
return Optiva.joker()
if github == 'whois':
whois()
return Optiva.joker()
if github == 'iplocator':
iploc()
return Optiva.joker()
if github == 'dork':
sdork()
return Optiva.joker()
if github == 'rce':
rceScan()
return Optiva.joker()
if github == 'sql':
sqlvuln()
return Optiva.joker()
if github == 'info':
infor()
return Optiva.joker()
if github == 'admin':
adminv()
return Optiva.joker()
if github == 'md5':
md5hash()
return Optiva.joker()
if github == 'sha1':
sha1hash()
return Optiva.joker()
if github == 'show modules':
modules()
return Optiva.joker()
if github == 'update':
Optivaf()
return Optiva.joker()
if github == 'SHA256':
SHA256hash()
return Optiva.joker()
if github == 'SHA384':
SHA384hash()
return Optiva.joker()
if github == 'SHA512':
SHA512hash()
return Optiva.joker()
if github == 'author':
Gostauto()
return Optiva.joker()
if github == 'help':
cmd()
return Optiva.joker()
elif github == 'port':
port()
return Optiva.joker()
elif github == 'reverse':
revip()
return Optiva.joker()
elif github == 'header':
head()
return Optiva.joker()
except KeyboardInterrupt:
cprint("\n[!] You Press Ctrl + C! To Quit.", 'red')
sys.exit(1)
except:
pass
def banner():
Banner()
GostBanner()
if __name__ == "__main__":
Banner()
GostBanner()
Optiva = OptivaMain()
Optiva.joker()