Advertisement
fenix_of_fire

chippedLinux

Oct 25th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.18 KB | None | 0 0
  1. #!/usr/bin/python
  2. # coding: latin-1
  3.  
  4. #LIBRARIES
  5. import os
  6. import sys
  7. import crypt
  8.  
  9. #USAGE:
  10. os.system("clear")
  11. if len(sys.argv) != 2:
  12.     print "\033[1;33m##################################\n###### Desec - ChippedLinux ######\n#########   by: Init-0   #########\n## USAGE: ChippedLinux wordlist ##\n##################################\033[0m\n"
  13.     exit(1)
  14.  
  15. #INFORMATION GATHERING
  16. print "\033[0;34m##################################\n###### Desec - ChippedLinux ######\n#########   by: Init-0   #########\n##################################\033[0m\n"
  17. quebra = raw_input("Enter the hash: ")
  18. salt = raw_input("Enter the salt: ")
  19. f = open(sys.argv[1], 'r')
  20. os.system("clear")
  21.  
  22. #CODE
  23. for palavra in f:
  24.     palavra = palavra.strip("\n")
  25.     trinca = crypt.crypt(palavra, salt)
  26.     if trinca == quebra:
  27.         os.system("clear")
  28.         print "\033[0;34m##################################\n###### Desec - ChippedLinux ######\n#########   by: Init-0   #########\n##################################\033[0m\n"
  29.         print "\033[1;34mhash cracked: \033[0m",trinca+"\033[1;32m ",palavra+"\033[0m\n"
  30.         exit(0)
  31.     else:
  32.         print "\033[1;34mTrying...  \033[0m",trinca
  33. exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement