import hashlib enc = 'key{liu' md5 = '87145027d8664fca1413e6a24ae2fbe7' for x in range(0,127): for y in range(0,127): for z in range(0,127): for k in range(0,127): temp1 = hashlib.md5(str(enc + chr(x) + chr(y) + chr(z) + chr(k) + "}").encode("utf-8")) temp2 = temp1.hexdigest() if(md5 == temp2): print(enc + chr(x) + chr(y) + chr(z) + chr(k) + "}") #key{liuyyds}
from PIL import Image MAX1 = 548 MAX2=72 pic = Image.new("RGB",(MAX1, MAX2)) str = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111100000111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000001111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111110000000011111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001100000000000001111110000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000011111100000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111110111111100000000111111110000000000000000000000000000000000000000000000001111111111111111111100000000000000000000011110000000000000000000000111100000000000011111000000000000111111000000000011111100000000111111111110000000000000000001001011111111111111111111111000000000000000000000111000000000000000000000000111110000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001010000000000000000000000000000000011110000000000000111111100000000000000000000000000011111111111110000000001111000000000000111111110000111111000000000111111110000000000000000000000000000000000000000000111111111111111111111111111111100000000000001111100000000000000000000011111100000000000111110000000000000111110000000111111111111000111111111111110000111100000011111111111111111111111111111111000000000000000000011111000000000000000000000011111100000000000011111100000011111111111111111111111111111111100000001111000000000000000000000000000000001111111100000000001111110000000000011111111000000000111111111000000000000000000000000011111111111111111000001111111100000000011111110000001111110000000000111111110000000000000000000000000000000000000000001111111111111111111111111111111100000000000111111000000000000000000000011111100000000000111100000000000001111100000001111111111100001111111111111100001111000000111111111111111111111111111111110000000000000000000111110000000000000000000000111110000000000000011111000000111111111111111111111111111111111000000111111111111111000000000000000000000011111111000000000011111110000000001111111110000000011111111110000000000000100000000000111111111111111110000011111111000000000111111000000111111100000000000111111110000000000000000000000000000000000000000011111111111111111111111111111111000000000011111110000000000000000000000111111100000000000000000000000000111111000000001111111111000111111111111111000111110000001111111111111111111111111111111100000000000000000001111100000000000000000000001111100000000000000111110000000111111111111111111111111111111110000001111111111111111100000000000000000000111111110000000000111111100000000001111111100000001111111111000000000000111000000000001111111111111111000000111111110000000011111100000111111111000000000000111111100000000000000000000000000000000000000000111111111111111111111111111111100000000000111111000000000000000000000000111111000000000000000000000000001111100000000011111111100001111111111111110001111100000000111111111111111111111111111111000000000000000000011111000000000000000000000011111000000000000001111100000001111111111111111111111111111100000000011111111111111111100000000000000000000111111000000000001111110000000000000110000000000111111111100000000000111110000000000011111111111111100000001111111110000000111111000011111111100000000000000111111100000000000000000000000000000000000000001111111110000011000000000000000000000000011111100000000000000000000000000111111000000000000000000000000111111000000000011111111000011111111111111100011111000000000000000000000000000000000000000000000000000000111111111100000000000000000000111110000000000000011111000000000000000000000000000000000000000000000111111111111111111100000000000000000000000000000000000000000000000000000000000000000001111111110000000000011111100000000000111111111111100000000011111111100000011111100001111111110000000000000000111111000000000000000000000000000000000000000011111000000000000000000000000000000000001111110000000000000000000000000000111111000000000000000000001111111100000000000011111100000011111111111111000111110000000000000000000000000000000000000000000000000111111111111111111111100000000000011111100000000000000111111000000000000000000000000000000000000000000000111111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111100000000001111110000000000001111111111110000000000111111111000000111110000011111110000000000000000001111111000000000000000000000000000000000000000111110000000000000000000000000000000000011111000000000000000000000000000001111110000000000000000111111111110000000000000111111000000000000011111110011111000000000000000000000000000000000000000000000000001111111111111111111111110000000000111110000000000000000111110000000000000000000000000000000000000000000000111100000001111111100000000000000000000000000000000000000000000000000000000000000000111111111000000001111111000000000000011111111110000000000001111111110000001111100001111110000000000000000000001111110000000000000000000000000000000000000001111100000000000000000000000000000000000111110000000000000000000000000000001111100000000000000001111111110000000000000000111100000000000000001111100111110000000000000000000000000000000000000000000000000011111111111111111111111110000000001111100000000000000001111100000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000111111110000000111111100001100000000111111111000000000000011111111100000111110000011111000000000000000000000011111100000000000000000000000000000000000000011111000000000000000000000000000000000011111000000000000000000000000000000001111100000000000000011111111111000000000000000110000000000000000111110001111100000000000000000000000000000000000000000000000000011111111111111111111111100000000011111000000000000000011111000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000111111100000111111110000111100000001111111000000000000000111111111000001111100001111110000000000000000000000011111000000000000000000000000000000000000000111111111000000011000000000000000000000111110000000000000000000000000000000011111000000000000000111111111111000000000000000000000000000000001111100011111000000000000000000000000000000000000000000000000000000001111111111011111111000000000111110000000000000000111110000000011111111111111111111111111000000000000000000000000001111111111111100000000111110000000000000000000000000000000111100000000000011111000011111111000111111000000011111100000000000000001111111100000011111000011111000000111000000000000000111110000000000000000000000000000000000000001111111111111111111111111111111000000001111100000000000000000000000000000000111110000000000000001111111111111000000000000000000000000000000011111001111100000000011111111111111111111111111111110000000000000000000111110000000111111000000001111100000000000000001111100000111111111111111111111111111111111000000000000000000000001111111111111100000011111111000000000000000000000000000111111110000000000111110011111111100011111110000000111110000000000000000011111111000000111110000111110000111111100000000000001111110000000000000000000000000000000000000011111111111111111111111111111110000000111110000000000000001111000000000000000111110000000000000000000001111111000000000000000000000000000000111100011111000000001111111111111111111111111111111100000000000000000001111100000000111110000000011111000000000000000011111000001111111111111111111111111111111111000000000111000000000001111111111111000000111111110000000000000000000000000011111111100000000001111111111111110000111111000000001111100000000000000000111111110000001111100011111000001111111000000000000001111100000000000000000000000000000000000000111111111111111111111111111111100000001111100000000000000111111000000000000001111100000000000000000000001111111000000000000000000000000000011111000111110000000011111111111111111111111111111111100000000000000000011111000000001111100000000111110000000000000000111110000001111111111111111111111111111111000000000001111000000000001111111111111000001111111100000000001111110000000000111111111000000000011111111111110000001111100000000011111000000000000000001111111100000011110000111110000111111110000000000000011111000000000000000000000000000000000000000111111111111111111111111111111100000011111000000000000011111111000000000000011111000000000000000000000001111110000000000000000000000000000111110001111100000000111111111111111111111111111111111000000000011100000111110000000011111000000001111100000000000000001111100000011111111111111111111111111111000000000000011110000000000000000011111110000001111111000000000111111110000000001111111100000000000111111111111000000000100000000000111100000000000000000011111111000000111100001111100001111111100000000000000111110000000000000000000000000000000000000000000000000000000000000001111111000000111110000000000000111111110000000000000111110000000000000000000000001111100000000000000000000000000001111100111110000000001111111111111111111111111111111110000000001111100001111100000000011110000000011111000000000000000011111000000000000000000000000000000000000000000000000111100000000000000000111111000000001111110000000011111111110000000011111100000000000001111111111111000000000000000000001111000000000000000000111111111000001111100011111000001111111000000000000001111100000000000000000000000000000000000000000000000000000000000000000111110000001111100000000000001111111100000000000001111100000000000000000000000011111100000000000000000000000000011110001111100000000011111000000000000000000000011111100000000011111100011111000000000111100000000111111000000000000001111110000000000000000000000000000000000000000000000011111000000000000000011111100000000001111100000000111111111100000000111110000000000000011111111111111111110000000000000011110000000000000000001111111100000011111000011111000011111110000000000000011110000000000000000000000000000000000000000000000000000000000000000001111100000011111000000000000011111111000000000000011111000000000000000000000000111111000000000000000000000000001111100011111000000000111110000000000000000000000011111000000000111111000111110000000011111000000000111110000000000000011111100000000000000000000000000000000000000000000000111110000000000000001111110000000000011111100000000111111111000000001111100000000000000111111111111111111100000000000000111100000000000000000011111110000000111110000111110000011111000000000000001111100000000000000000000000000000000000000000000000000000000000000000011111000000111110000000000000111111100000000000000111110000000000000000000000001111110000000000000000000000000011111000111110000000001111100000000000000000000000111110000000001111100001111100000000111110000000001111100000000000000111110000000000000000000000000000000000000000000000001111100000000000000111111000000000000011111000000000000000000000000011111000000000000001111111111111111111100000000000001111000000000000000000111111000000001111100001111100000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000111110000001111100000000000000111110000000000000001111100000011100000000000000011111100000000000000000000000000111110011111000000000011111000000000000000000000001111100000000001110000011111000000001111100000000011111000000000000001111100000000000000000000000000000000000000000000000011111000011110000011111100000000000000111110000000000000000000000000111110000000000000011111111111111111111000000000000011110000000000000000001111100000000011111100001111100000000000000000000000111110000000000000000000000000000000000000000000111000000000000011111111111100000011111000000000000000000000000000000000011111000011111100000000000000111111000000000000000000000000001111000111110000000000111110000000000000000000000011111000000000000000000111111000000011111000000000111110000000000000011111000000000000000000000000000000000000000000000000111110000111100001111110000000000000001111100000000000000000000000011111100000000000000111111010000011111110000000000000111100000000000000000011111000000000011111000011111100000000000000000000011111100000000000000000000000000000000000000001111111111111111111111111111111000000111110000000000000000000000000000000000111110000111111000000000000001111110000000000000000000000000111110001111100000000001111100000000000000000000000111110000000000000000111111111111111111110000000001111110000000000001111110000001111000000000000000000000000011110000000001111100001111100111111000000000000000011111000000000000000000000000111110000000000000001111110000000001111100000000000001111000000000000000000111100000000000111110000011111110000000011100000000111110000000000000000000000000000000000000000111111111111111111111111111111110000001111110000000000000000000000000000000011111100000111111000000000000111111000000000000000000000000001111100111111000000000011111000000000111000000000001111100000000000001111111111111111111111100000000001111100000000000011111000000011110000000000000000000000000111100000000011111000011111011111100000000000000000111111000000000000000000000001111100000000000000011111000000000011111000000000000011110000000000000000001111000000000001111110000111111111111111111000000011111100000000000000000000000000000000000000001111111111111111111111111111111000000001111100000000000000000000000000000000111110000001111110000000000011111110000000000000001100000000011111001111100000000000111110000000001111000000000011111000000000001111111111111111111111111000000000011111100000000001111110000000111100000000000000000000000001111000000000111110000111111111110000000000000000000111110000000000000000000000111111000000000000000111110000000000111110000000000000111100000000000000000011110000000000001111100000111111111111111110000000111111000000000000000000000000000000000000000011111111111111111111111111111110000000011111000000000000000000000011000000001111100000011111110000000001111111000000000000001111100000000111100011111000000000001111100000000011110000000000111110000000001111111111111111111111111110000000000111111100000000111111000000001111000000000000000000000000011110000000001111100001111111111000000000000000000001111110000000000000000000001111110000000000000001111100000000001111100000000000001111000000000000000000111100000000000011111100000111111111111111100000011111100000000000000000000000000000000000000000111111100000000000000000000000000000000111111000001111000000000001111100001111110000000011111111000001111111110000000000000011111000000011111000111110000000000011111000000000111110000000001111100000000111111111111100010111111111100000000000111111110000111111110000000011111000000000000000000000000111100000000011111000011111111100000000000000000000011111100000000000000000000111111000000000000000011111000000000011111000000000000011111000000000000000001111000000000000011111100000011111111111100000001111110000000000000000000000000000000000000000001111100000000000000000000000000000000000111111111111110001111100011111111111111100000000011111111111111111111000000000000000111111000000111110001111100000000000111110000000001111100000000011111000000001111111000000000000000011111000000000000111111111111111111000000000111110000000000000000000000001111000000000111110000111111110000000000000000000000011111100000000000000000001111110000000000000000111110000000000111111000000000000111110000000000000000011110000000000000111111100000001111111110000000111111100000000000000000000000000000000000000000011111000000000000000000000000000000000001111111111111100011111100011111111111110000000000011111111111111111100000000000000001111110000001111100111110000000000001111000000000011111000000000111110000000111111000000000000000000111110000000000001111111111111111110000000001111100000000000000000000000011110000000001111100011111111000000001000000000000000111111100000000000000000111111100000000000000001111100000000001111110000000000001111100000000000000000111100000000000000111111100000000000000000000011111110000000000000000000000000000000000000000000111110000000000000000111111111100000000001111111111110001111111100111111111111100000000000011111111111111110000000000000000011111110000111110001111100000000000011110000000000111110000000001111100000011111100000000000000000001111100000000000001111111111111111000000000011111000000000000000000000000111100000000011111000111111100000000111000000000000000111111100000000000000011111110000000000000000011111000000000011111100000000000011111100000000000000001111000000000000000111111100000000000000000001111111000000000000000000000000000000000000000000001111100000000000000001111111111000000000001111111111100111111111100111111111110000000000000011111111111110000000000000000000111111110011111100011111000000000000111100000000001111100000000011111000000111110000000000000000000011111000000000000000111111111111000000000000111110000000000000000000000001111000000000111110011111110000000011110000000000000001111111100000000000011111111000000000000000000111110000000000111111000000000000111111100000000000000011110000000000000000111111110000000000000001111111100000000000000000000000000000000000000000000011111111111111000000011111111110000000000001111111110011111111111000111111111000000000000000001111111110000000000000000000001111111111111111000111110000000000001111000000000011111110000011111110000001111100000000000000000000111110000000000000000011111111000000000000001111100000000000000000000000011110000000001111111111111000000000111110000000000000001111111111000000011111111100000000000000000001111100000000001111111000000000000111111110000000000000111100000000000000000111111111100000000011111111110000000000000000000000000000000000000000000000111111111111111111000011111111100000000000001111111100111111111111001111111100000000000000000000000000000000000000000000000011111111111111110011111000000000000011110000000000111111111111111111100000011110000000000000000000001111100000000000000000000000000000000000000011111000000000000000000000000111100000000001111111111100000000001111100000000000000001111111111111111111111110000000000000000000001111000000000111111111111000000001111111111111111000001111000000000000000000111111111111111111111111111000000000000000000000000000000000000000000000001111111111111111111000011111110000000000000001111110001111111111110001111100000000000000000000000000000000000000000000000000011111111111111000111110000000000000111000000000001111111111111111111000000111100000000000000000000001111000000000000000000000000000000000000000111100000000000000000000000001111000000000011111111110000000000011111000000000000000001111111111111111111111000000000000000000000011110000000011111111111111000000001111111111111110000011110000000000000000000011111111111111111111111100000000000000000000000000000000000000000000000011111111111111111110000011111000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000011111111111110001111100000000000000100000000000011111111111111111110000001111000000000000000000000011111000000000000000000000000000000000000001111000000000000000000000000011110000000000111111111000000000000111100000000000000000000111111111111111111100000000000000000000000111000000000111111111111110000000001111111111111100000111100000000000000000000011111111111111111111100000000000000000000000000000000000000000000000000011111111111111111000000011100000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000011111111111100001111000000000000000000000000000011111111111111111000000011110000000000000000000000111110000000000000000000000000000000000000011110000000000000000000000000111100000000001111111100000000000001111000000000000000000000011111111111111100000000000000000000000000110000000011111111111111000000000001111111111111000000111000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000001111101100000000000111000000000000000000000001111110000000000000000000000000000000000000011000000000000000000000000000110000000000000010100000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000011111111111100000000000000000000100000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" i = 0 for y in range (0,MAX2): for x in range (0,MAX1): if(str[i] == '1'): pic.putpixel([x,y],(0, 0, 0)) else: pic.putpixel([x,y],(255,255,255)) i = i+1 pic.show() pic.save("flag.png")
from Crypto.Util.number import * from itertools import product from math import gcd import gmpy2 n = 107803636687595025440095910573280948384697923215825513033516157995095253288310988256293799364485832711216571624134612864784507225218094554935994320702026646158448403364145094359869184307003058983513345331145072159626461394056174457238947423145341933245269070758238088257304595154590196901297344034819899810707 c = 46049806990305232971805282370284531486321903483742293808967054648259532257631501152897799977808185874856877556594402112019213760718833619399554484154753952558768344177069029855164888168964855258336393700323750075374097545884636097653040887100646089615759824303775925046536172147174890161732423364823557122495 list = [618066045261118017236724048165995810304806699407382457834629201971935031874166645665428046346008581253113148818423751222038794950891638828062215121477677796219952174556774639587782398862778383552199558783726207179240239699423569318, 837886528803727830369459274997823880355524566513794765789322773791217165398250857696201246137309238047085760918029291423500746473773732826702098327609006678602561582473375349618889789179195207461163372699768855398243724052333950197] h1, h2 = list for a, b in product(range(2**8), repeat=2): q = gcd(a * h1 - b * h2, n) if q != 1 and q < n: print(q, n) break q = 12951283811821084332224320465045864899191924765916891677355364529850728204537369439910942929239876470054661306841056350863576815710640615409980095344446711 p = n // q e = 65537 d = pow(e, -1, (p - 1) * (q - 1)) m = pow(c, d, n) print(long_to_bytes(m)) #game_over