Guest User

Untitled

a guest
Dec 4th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. # -*- coding: utf8 -*-
  2. import string
  3. pub = '5e8a88305912b43d10e20a3a536098b1'
  4. encoded = '223:261:190:262:271:118:199:198:252:208:247:203:297:208:250:254:249:201:301:206:249:251:252:260:202:112:235:210:261:212:297:114:254:257:252:246:266:226'
  5.  
  6. encoded = encoded.split(':')
  7.  
  8. for c1 in string.printable:
  9. for c2 in string.printable:
  10. for c3 in string.printable:
  11. for c4 in string.printable:
  12.  
  13. key = c1 + c2 + c3 + c4
  14. s = ''
  15.  
  16. try:
  17. for i in range(len(key)):
  18. s += chr( int(encoded[i]) - ord(pub[i % len(pub)]) - ord(key[i % len(key)]))
  19. if (s[len(s) - 1] not in string.ascii_letters):
  20. s=''
  21. break
  22. if len(s) == len(key):
  23. print key, s
  24. except:
  25. pass
  26. print c1
Advertisement
Add Comment
Please, Sign In to add comment