Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- length = 0x4020b7 - 0x402008
- bytearr = []
- s = (GetManyBytes(0x402008,length))
- for i in s:
- bytearr.append(hex((ord(i))))
- print bytearr
- """
- import sys
- text = ""
- temp = []
- s = ['0xe0', '0x81', '0x89', '0xc0', '0xa0', '0xc1', '0xae', '0xe0', '0x81', '0xa5', '0xc1', '0xb6', '0xf0', '0x80', '0x81', '0xa5', '0xe0', '0x81', '0xb2', '0xf0', '0x80', '0x80', '0xa0', '0xe0', '0x81', '0xa2', '0x72', '0x6f', '0xc1', '0xab', '0x65', '0xe0', '0x80', '0xa0', '0xe0', '0x81', '0xb4', '0xe0', '0x81', '0xa8', '0xc1', '0xa5', '0x20', '0xc1', '0xa5', '0xe0', '0x81', '0xae', '0x63', '0xc1', '0xaf', '0xe0', '0x81', '0xa4', '0xf0', '0x80', '0x81', '0xa9', '0x6e', '0xc1', '0xa7', '0xc0', '0xba', '0x20', '0x49', '0xf0', '0x80', '0x81', '0x9f', '0xc1', '0xa1', '0xc1', '0x9f', '0xc1', '0x8d', '0xe0', '0x81', '0x9f', '0xc1', '0xb4', '0xf0', '0x80', '0x81', '0x9f', '0xf0', '0x80', '0x81', '0xa8', '0xc1', '0x9f', '0xf0', '0x80', '0x81', '0xa5', '0xe0', '0x81', '0x9f', '0xc1', '0xa5', '0xe0', '0x81', '0x9f', '0xf0', '0x80', '0x81', '0xae', '0xc1', '0x9f', '0xf0', '0x80', '0x81', '0x83', '0xc1', '0x9f', '0xe0', '0x81', '0xaf', '0xe0', '0x81', '0x9f', '0xc1', '0x84', '0x5f', '0xe0', '0x81', '0xa9', '0xf0', '0x80', '0x81', '0x9f', '0x6e', '0xe0', '0x81', '0x9f', '0xe0', '0x81', '0xa7', '0xe0', '0x81', '0x80', '0xf0', '0x80', '0x81', '0xa6', '0xf0', '0x80', '0x81', '0xac', '0xe0', '0x81', '0xa1', '0xc1', '0xb2', '0xc1', '0xa5', '0xf0', '0x80', '0x80', '0xad', '0xf0', '0x80', '0x81', '0xaf', '0x6e', '0xc0', '0xae', '0xf0', '0x80', '0x81', '0xa3', '0x6f', '0xf0', '0x80', '0x81', '0xad','0x0']
- a3 = 28
- def manipulate(i):
- v3 = 0
- v4 = 0
- if int(s[i],16) >> 3 == 30:
- v4 = (int(s[i+3],16)&0x3f) | ((int(s[i+2],16) & 0x3f)<<6) | ((int(s[i+1],16)&0x3f)<<12) | ((int(s[i+7],16)&7)<<18)
- v3 = 4
- elif int(s[i],16)>> 4 == 14:
- v4 = (int(s[i+2] ,16)&0x3f) | ((int(s[i+1],16) & 0x3f)<<6) | ((int(s[i+0],16)&0xf)<<12)
- v3 = 3
- elif int(s[i],16)>> 5 == 6:
- v4 = (int(s[i+1],16)&0x3f) | ((int(s[i+0],16) & 0x1f)<<6)
- v3 = 2
- else:
- v4 = (int(s[i],16))
- v3 = 1
- temp.append(v4)
- return v3
- for i in range(1):
- index = i
- for _ in range(56):
- index += manipulate(index)
- #print "index : " + str(index)
- print("")
- for i in temp:
- if not i > 0x400:
- sys.stdout.write( chr(i))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement