#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from __builtin__ import iter as var import random import hashlib __,____,___,_____ = sys,open,eval,False random.seed(hashlib.sha1(open(__file__).read()).hexdigest()) _ = lambda x : x+1 v = var(___("__ohvygvaf__.enj_vachg".encode("rot_13")+"()").encode("uu")) exec("w=[];".encode("rot_13")) while 1<2: try: j = j+[v.next()] except StopIteration: r = ____(__file__[:-(len(j))]).read() z=var(''.join(j[::-1])) # :D _____,j = not 1,[] while hashlib.sha1(r[:500]+r[-500:]).hexdigest() == "3b32b5601c722e59fd5b0ba81c31f230c3666ca1": try: x = z.next() j = j+[x] except StopIteration: if ''.join(j).index("5=UMW22!50") == 37: import antigravity __.exit("You van validate with the flag :)") if (_____ == 7 and ord(j[_____]) != _____+25) or \ (_____ == 8 and ord(j[_____]) != _____+24) or \ (_____ == 10 and j[_____] != r[-201]) or \ (_____ == 11 and j[_____] != chr(ord(r[0])^ord(r[7]))) or \ (_____ == 12 and j[_____] != r[240].upper()) or \ (_____ == 13 and j[_____] != chr(ord(str(not True)[0])^ord("`"))) or \ (_____ == 14 and j[_____] != ",") or \ (_____ == 15 and j[_____] != chr(ord("L")+5)) or \ (_____ == 16 and j[_____] != str(int(r[1088])-1)) or \ (_____ == 17 and j[_____] != """'""") or \ (_____ == 18 and j[_____] != chr(ord("+")+2)) or \ (_____ == 9 and j[_____] != r[-845]): sys.exit() _____ += 1 while len(__file__)%2: break __file__ += chr(random.randint(32,0x7e)) if (_____ == 28 and j[_____] != "]") or \ (_____ == 40 and j[_____] != ")") or \ (_____ == 29 and j[_____] != "E") or \ (_____ == 30 and j[_____] != "3") or \ (_____ == 41 and not (j[_____-10] == j[_____] == "F")) or \ (_____ == 43 and j[_____] != "7") or \ (_____ == 38 and not (j[_____] == j[_____-6] == ",")) or \ (_____ == 33 and j[_____] != "P") or \ (_____ == 34 and j[_____] != str(int(j[_____-4])*3)) or \ (_____ == 35 and j[_____] != "#") or \ (_____ == 46 and not (j[_____-2] == j[_____] == j[_____-10] == "-") or \ (_____ == 37 and j[_____] != "?") or \ (_____ == 39 and j[_____] != "&") or \ (_____ == 42 and j[_____] != "=") or \ (_____ == 45 and j[_____] != chr(ord(j[_____-0x10])-2))): __.exit(":(") _(_____)