forked from OWASP/ZSC
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshellcoder.py
More file actions
37 lines (36 loc) · 771 Bytes
/
Copy pathshellcoder.py
File metadata and controls
37 lines (36 loc) · 771 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
#!/usr/bin/env python
'''
ZCR Shellcoder
ZeroDay Cyber Research
Z3r0D4y.Com
Ali Razmjoo
'''
import time
import sys
import os
from time import strftime,gmtime
from core import start
from core import argv_control
from lib import analyser
if sys.platform == 'win' or sys.platform == 'win32' or sys.platform == 'win64':
clearing = 'cls'
else:
clearing = 'clear'
os.system(clearing)
def main():
'''
main function of ZCR Shellcoder
'''
if argv_control.exist() is not True:
process = start.start()
sys.exit(0)
if argv_control.exist() is True:
process_check = False
if argv_control.check() is True:
process_check = True
analyser.do(argv_control.run())
start.sig()
if process_check is False:
start.inputcheck()
if __name__ == "__main__":
main()