Esempio n. 1
0
def getAction():

    print """
   __    _  __       _  __ ____   ___ 
  / /   (_)/ /__ __ | |/_// __ \ / _ \ 
 / /__ / // // // /_>  < / /_/ // , _/
/____//_//_/ \_, //_/|_| \____//_/|_| 
            /___/                   0.0.1 beta\n  
	Original(LilyMail) by: Xiaolong Cheng \n   
"""
    filess()
    print 'Only encrypts outgoing emails'
    print '\n[OPTIONS: login, quit, sxor...]\n'
    action = ask('command: ')
    if action == 'quit':
        sys.exit(0)
    elif action == 'login':
        print 'Please verify your identity '
        login()
    elif action == 'help':
        print '[login] start a login session\n [quit] exit program\n [sxor] SimpleXOR'
    elif action == 'sxor':
        SimpleXOR.action()
    else:
        print 'invalid command...back to sxor'
Esempio n. 2
0
def getAction():
	
	print """
   __    _  __       _  __ ____   ___ 
  / /   (_)/ /__ __ | |/_// __ \ / _ \ 
 / /__ / // // // /_>  < / /_/ // , _/
/____//_//_/ \_, //_/|_| \____//_/|_| 
            /___/                   0.0.1 beta\n  
	Original(LilyMail) by: Xiaolong Cheng \n   
"""
	filess()
	print 'Only encrypts outgoing emails'
	print '\n[OPTIONS: login, quit, sxor...]\n'
	action=ask('command: ')
	if action=='quit':
		sys.exit(0)
	elif action=='login':
		print 'Please verify your identity '
		login()
	elif action=='help':
		print '[login] start a login session\n [quit] exit program\n [sxor] SimpleXOR'
	elif action=='sxor':
		SimpleXOR.action()
	else:
		print 'invalid command...back to sxor'