forked from greedalbadi/ReaperProgram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFilterC.py
57 lines (57 loc) · 2.34 KB
/
FilterC.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
import RequestsC, SystemC, SocketC, IinjC, moves, Remote, Payload, rscan, Wifipoint
class Filter_class:
def __init__(self):
self.wifipoint = Wifipoint.AccessPointGenerat()
self.Iprangscan = rscan.Ip_range_scanner()
self.payload = Payload.Payload_runner()
self.rdpcrack = Remote.Rdp_breach()
self.rdpconnect = Remote.Rdp_connect()
self.slay = moves.slay_attack()
self.files = SystemC.Fiels()
self.request = RequestsC.RequestsCommands()
self.imageinj = IinjC.Imageinj()
self.request_S = RequestsC.RequestsScanners()
self.system = SystemC.System_Commands()
self.request_pannel_scanner = RequestsC.Requestportscanner()
self.sockets = SocketC.SocketCommands()
self.commands = {
"gap": self.wifipoint.Process,
"exit": self.system.Exit,
"ips": self.Iprangscan.Filter_info,
"payload": self.payload.Valuescheck,
"rdcon": self.rdpconnect.Filter_info,
"rdcrack": self.rdpcrack.Valuesfix,
"v": self.system.Version,
"V": self.system.Version,
"cmd": self.system.Cmd,
"slay": self.slay.Ready,
"ab": self.imageinj.Apbytes,
"rs": self.imageinj.Restoredata,
"me": self.system.Iconfig,
"mc": self.system.Arp,
"rb": self.files.Readbytes,
"irb": self.imageinj.Readinj,
'dom': self.request_S.Domainscanner,
"cls": self.system.Clear,
"clear": self.system.Clear,
"is": self.system.Wordsearch,
"ping": self.system.Ping,
"gog": self.sockets.Get_og,
"fuc": self.sockets.Focus,
"bn": self.sockets.Getbanner,
"scan": self.sockets.PortScanner,
"gc": self.request.Get_content,
"ip": self.request.Ipinfo,
"gh": self.request.Getheaders,
"gsc": self.request.Getstatuscode,
"pscan": self.request_pannel_scanner.Panelscanner,
"gwi": self.sockets.pageip,
"gs": self.request.Getjsondata,
}
def Filter(self, user_input):
try:
user_input = user_input[0].split()
commands = self.commands.get(user_input[0])(user_input)
return commands
except TypeError:
return None