def check(): if 'linux' in sys.platform or 'darwin' == sys.platform: os.system('clear') elif 'win32' == sys.platform or 'win64' == sys.platform: os.system('cls') else: sys.exit('Sorry, This version of software just could be run on linux/osx/windows.') if version() is 2 or version() is 3: pass else: sys.exit('Your python version is not supported!') return
def check(): if 'linux' in sys.platform or 'darwin' == sys.platform: os.system('clear') elif 'win32' == sys.platform or 'win64' == sys.platform: os.system('cls') else: sys.exit( 'Sorry, This version of software just could be run on linux/osx/windows.' ) if version() is 2 or version() is 3: pass else: sys.exit('Your python version is not supported!') return
def check(): if 'linux' in sys.platform: os.system('clear') #elif 'darwin' == sys.platform: # os.system('clear') #elif 'win32' == sys.platform or 'win64' == sys.platform: # os.system('cls') else: sys.exit('Sorry, This version of software just could be run on linux') if version() is 2: pass if version() is 3: sys.exit('this script is not test with python 3 yet,please use 2.x.') else: sys.exit('Your python version is not supported!') return
#!/usr/bin/env python ''' OWASP ZSC | ZCR Shellcoder ZeroDay Cyber Research Z3r0D4y.Com Ali Razmjoo ''' import sys from lib import analyser from core import start from core import color from core.pyversion import version version = version() def exist(): check_num = False if len(sys.argv) > 1: check_num = True return check_num def check(): checkargv = False if len(sys.argv) is 2: if str(sys.argv[1]) == '-oslist': checkargv = True start.oslist(1) if str(sys.argv[1]) == '-joblist': checkargv = True start.joblist(1) if str(sys.argv[1]) == '-types': checkargv = True start.types(1)
#!/usr/bin/env python ''' OWASP ZSC | ZCR Shellcoder ZeroDay Cyber Research Z3r0D4y.Com Ali Razmjoo ''' from core.pyversion import version version = version() from core import color if version is 2: from urllib import urlopen if version is 3: from urllib.request import urlopen def startu(__version__): url = 'https://raw.githubusercontent.com/Ali-Razmjoo/ZCR-Shellcoder-Archive/master/last_version' up_url = 'https://raw.githubusercontent.com/Ali-Razmjoo/ZCR-Shellcoder-Archive/master/' err = 0 try: last_version = urlopen(url).read() last_version = last_version.rsplit()[0] except: print ('%sConnection Error!%s\n\n'%(color.color('red'),color.color('reset'))) err = 1 if err is 0: update = True if str(last_version) == str(__version__): print ('%syou are using the last version of software : %s%s%s'%(color.color('green'),color.color('red'),last_version,color.color('reset'))) update = False if update is True:
#!/usr/bin/env python ''' OWASP ZSC | ZCR Shellcoder ZeroDay Cyber Research Z3r0D4y.Com Ali Razmjoo ''' import sys from core import update as upd from core.pyversion import version version = version() #python version __version__ = '1.0.8' __key__ = 'F[ed]T' __release_date__ = '2015 October 25' from core import color def zcr(): print (color.color('red') + ''' ______ __ _____ _____ ___________ _____ / __ \ \ / /\ / ____| __ \ |___ / ____| __ \ | | | \ \ /\ / / \ | (___ | |__) | / / | | |__) | | | | |\ \/ \/ / /\ \ \___ \| ___/ / /| | | _ / | |__| | \ /\ / ____ \ ____) | | / /_| |____| | \ \ \____/ _ \/ _\/_/___ \_\_____/|_| ____/_____\_____|_|__\_\_ _____ _ / ____| | | | ____| | | | / ____/ __ \| __ \| ____| __ \ | | | (___ | |__| | |__ | | | | | | | | | | | | | |__ | |__) | | | \___ \| __ | __| | | | | | | | | | | | | | __| | _ / | | ____) | | | | |____| |____| |___| |___| |__| | |__| | |____| | \ \ |_| |_____/|_| |_|______|______|______\_____\____/|_____/|______|_| \_\ (_)
#!/usr/bin/env python ''' OWASP ZSC | ZCR Shellcoder ZeroDay Cyber Research Z3r0D4y.Com Ali Razmjoo ''' import sys from core import update as upd from core.pyversion import version version = version() #python version __version__ = '1.0.8' __key__ = 'F[ed]T' __release_date__ = '2015 October 25' from core import color def zcr(): print( color.color('red') + ''' ______ __ _____ _____ ___________ _____ / __ \ \ / /\ / ____| __ \ |___ / ____| __ \ | | | \ \ /\ / / \ | (___ | |__) | / / | | |__) | | | | |\ \/ \/ / /\ \ \___ \| ___/ / /| | | _ / | |__| | \ /\ / ____ \ ____) | | / /_| |____| | \ \ \____/ _ \/ _\/_/___ \_\_____/|_| ____/_____\_____|_|__\_\_ _____ _ / ____| | | | ____| | | | / ____/ __ \| __ \| ____| __ \ | | | (___ | |__| | |__ | | | | | | | | | | | | | |__ | |__) | | | \___ \| __ | __| | | | | | | | | | | | | | __| | _ / | |