Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crypt # IMPORTAMOS LA LIBRERIA DE "CRYPT"
- max_attempts = 6 ## ADD ITEMS <, >
- attempt = 0
- try: #// Iniciamos ciclo "while"
- while attempt < max_attempts:
- uname = input('[ sudo ] USERNAME: ') #// Introducimos nuestro nombre de usuario @ferzac.root
- password = input('''[ sudo ] PASSWORD FOR ADMIN ( credentials = [ True]
- [ OK ] ACCESS ...
- [ OK ] ...
- [ OK ] SCANING COMPUTER...
- [ OK ] ATTACKING OPEN: [D0NE]
- [ OK ] ACCESS GARANTED
- [ OK ] YOU HAVE ACCCES COMPUTER SCANING... [ DATA ]
- [ADD_I ] ENTER CREDENTIALS: ''') #// Verificando el usuario $_
- if uname == 'admin@ferzac.hack' and password == '@ferzac.hack':
- for X in range(0, 2):
- print("")
- print(" || || ||||||||| |||||||| ||| || ")
- print("|| || || || || ||| ||| ")
- print("|||||||| ||||||||| || ||||||| ")
- print("|||| || || || || || ||| || ")
- print("|| || || || ||||||| ||| |||| @ferchozac_ANP ")
- for key in range(0, 3):
- print("")
- #// Introducimos las intrucciones deseadas
- name = input("Cual es tu nombre?: ")
- sentence = input("Escribe el texto a cifrar: ")
- password_option = crypt.crypt(sentence,"def")
- print("La palabra cifrada es:\n"+ password_option)
- break
- else:
- attempt =+1
- if attempt == max_attempts:
- raise RuntimeError("\nYou've reached the maximum number of attempts allowed.")
- else:
- print('Wrong credentials.\n Try again or press <ctrl+c> to exit.\n')
- continue
- except RuntimeError as e:
- print("Goodbye")
Add Comment
Please, Sign In to add comment