Guest User

CTF trend micro

a guest
Aug 5th, 2016
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. c = 'x'*18
  2. pwd = "654321"
  3. admin = "admin"
  4. qwerty = "qwerty"
  5. l = [0,2,1,12,7,15,5,4,8,16,17,3,9,10,14,11,13,6,0]
  6. i = 0
  7. j = 0
  8. while i < 18:
  9.   i += 1
  10.   c = c[:l[i]] + pwd[j] + c[l[i]+1:]
  11.   i += 1
  12.   c = c[:l[i]] + qwerty[j] + c[l[i]+1:]
  13.   i += 1
  14.   if (j < 5):
  15.     c = c[:l[i]] + admin[j] + c[l[i]+1:]
  16.   j += 1
  17. print 'TMCTF{' + c[1:] + '}'
Add Comment
Please, Sign In to add comment