Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- epas ="IZHsD7DZSZ5mT5zVH35dPpDo"
- d = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/="
- magic = ["IZHs","D7DZ","SZ5m","T5zV","H35d","PpDo"]
- list1 = []
- def encode(input):
- di = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/="
- list = []
- i = 0
- b=0
- c=0
- while i < len(input):
- a = ord(input[i])
- i= i + 1
- if len(input) > 1:
- b = ord(input[i])
- i= i + 1
- if len(input) > 2:
- c = ord(input[i])
- i= i + 1
- d = (a << 16) + ((b | 0) << 8) + (c | 0)
- c1 = (d & (63 << 18)) >> 18
- c2 = (d & (63 << 12)) >> 12
- c3 = 64 if math.isnan(b) else (d & (63 << 6)) >> 6
- c4 = 64 if math.isnan(c) else (d & 63)
- list.append(di[c1])
- list.append(di[c2])
- list.append(di[c3])
- list.append(di[c4])
- return ''.join(str(e) for e in list)
- def check(s1):
- s= encode(s1)
- if s == magic[0] or s == magic[1] or s == magic[2] or s == magic[3] or s == magic[4] or s == magic[5]:
- if list1.count(s1+":"+s) == 0:
- list1.append(s1 + ':' + s)
- def magic2():
- for c1 in d:
- for c2 in d:
- for c3 in d:
- s1 = c1 + c2 + c3
- s2 = c3 + c1 + c2
- s3 = c2 + c3 + c1
- check(s1)
- check(s2)
- check(s3)
- print(list1)
- magic2()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement