-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathMikrotikSploit.py
More file actions
42 lines (32 loc) · 852 Bytes
/
MikrotikSploit.py
File metadata and controls
42 lines (32 loc) · 852 Bytes
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
#!/usr/bin/python3
# coding=utf-8
# *******************************************************************
# *** MikrotikSploit ***
# * Version:
# v0.1
# * Date:
# 28 - 08 - 2019 { Wed 28 Aug 2019 }
# * Facebook:
# http://fb.com/mhm.hack
# * Author:
# Hathem Ahmed
# *******************************************************************
import sys,os
sys.path.append('./modules/')
from home import RunScript
class MIK(object):
def __init__(self):
pass
def HOME(self):
script, *values = sys.argv
RunScript().run2() \
if values == [] \
else RunScript().run3()
if __name__ == '__main__':
try:
_FIND_ = os.listdir("..")
if "logs" not in _FIND_: os.system("mkdir logs")
except OSError:
print(f"{W}[{R} - {W}]{B} Error mkdir logs ")
exit()
MIK().HOME()