PKkRRaesELF>@K@8 @@@@pp11000=MM=MM888 XXXDDStd888 Ptdl0l0l0QtdRtd=MM00/lib64/ld-linux-x86-64.so.2GNUGNU,A„BYBx zPGNUem9  BmIf P_ 3",`Pfreadexitputcharfopen__libc_start_mainstderr__cxa_finalizefcloseprintf__isoc99_scanffwritestrcmpmmaplibc.so.6GLIBC_2.7GLIBC_2.34GLIBC_2.2.5_ITM_deregisterTMCloneTable__gmon_start___ITM_registerTMCloneTablerii |ui MMXPXPOOO OO`PPPPP P(P0P 8P @P HP HH?HtH5?%?@%?h%?h%?h%?h%?h%?h%?h%?hp%?h`%?h P% ?f1I^HHPTE11H=>>f.@H=I?HB?H9tH>Ht H=?H5?H)HH?HHHtHm>HtfD=>u+UH=J>Ht H=>)d>]wUHHAA"jHs>Hl>Hu HU>HHP>EEEE1Ey1ЈEEE1ЈEEE1ЈEEE1ЈEEy E1ЈEE2EE1E1E1ЈEH=EHUc}=H~=cE(Hc=H d=EHHHЋUE}~ϐUHH}HuEEHEHЋUHUHEHEHЋUHUHEHEHЋUHUHEHEHЋUHUHE}TEEEUHEHEEHEHEEHEHEEHEHEEEEEEEEEEEEH;EHEH;EHEH;EHEH;EHEUEH1ЈEEEEEUHEH0MUHEH1ΉEHEHUEHEH1ʈEHEHUEHEH1ʈEHEHUEHEH1ʈE}+=]UHHH}HuH:Hu HEHUHH0UHHuHU؈EE|ElMUHEHcHcHHʋ EEЍEHcHEHuU1HEHcHcHH E}vE}z]UHH}E^ENH9uMHEHcHcHHHuMHEHcHcHHE}vE}v]UHH}HE@EHEPHEPHEP$HEPHEP4HEP$UHEP4HE@EHEP(HEPUHEP(HE@EHEP8HEPUHEP8HE@ EHEP 100: print("All right, I think that's enough for now.") break menu() line = input() if line.strip() == "exit": print("Bye.") break what, rest = line.split(" ", 1) if what == "encrypt": cmd = rest.split(" ")[0] if cmd not in whitelist: print("I won't encrypt that. ('%s' not in whitelist)" % cmd) continue regex = [cmd] if whitelist[cmd]: regex.append(whitelist[cmd]) regex = " ".join(regex) match = re.fullmatch(regex, rest) if not match: print("I won't encrypt that. ('%s' does not match '%s')" % (rest, regex)) continue res = helper("encrypt", rest) print("Encrypted command:", res.hex()) elif what == "run": command = helper("decrypt", rest).rstrip(b"\x00") cmd = command.split(b" ")[0] if cmd not in whiteset: print("I won't run that. (%s not in whitelist)" % cmd) continue res = subprocess.run(command, shell = True, stdout = subprocess.PIPE, stderr = subprocess.STDOUT, check = False) print("Output:", res.stdout.decode()) else: print("What?") PKkRRaesPKeRchal.pyPKfZ