-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathStitch_Menu.py
44 lines (36 loc) · 1.25 KB
/
Stitch_Menu.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
#!/usr/bin/env python
# coding=UTF-8
#The first line allows this script to be executable
import os
import socket
import operator
from termcolor import colored
import sys
import StringIO
sys.stdout.write("\x1b[8;{rows};{cols}t".format(rows=64, cols=200)) # sets window to full screen
print colored('DISCLAIMER','red','on_white')
print """
Stitch is relatively easy to understand and use after installation.
And it's far better documented than either Metasploit or Pupy.
IMO it's 'targeted-for-dummies'
If you have any questions please refer to 'Crash Course of Stitch': https://github.com/nathanlopez/Stitch/wiki/Crash-Course
"""
def main():
opt_List = [
'\n\t#0. Return to Main Menu',
'#INSTALL, Run the Stitch Installer',
'#1. Run Stitch'
]
print ("\n\t".join(opt_List))
opt_Choice = str(raw_input("ENTER A OPTION: "))
if opt_Choice == "0":
os.system('python /root/EZPZ/ArmsCommander.py')
elif opt_Choice == "INSTALL":
os.system('python /root/EZPZ/remoteexploits/stitchInstaller.py')
elif opt_Choice == "1":
os.system('python /root/Stitch/main.py')
else:
print '[-] You have entered a invalid option or type "INSTALL" + [Enter] to install Stitch'
main()
return
main()