wateverCTF_2019_Repyc

[watevrCTF 2019]Repyc

pyc文件

image-20230323185637439

单纯的把变量名换成奇奇怪怪的东西

image-20230323185731660

写脚本

1
2
3
4
5
flag = "á×äÓâæíäàßåÉÛãåäÉÖÓÉäàÓÉÖÓåäÉÓÚÕæïèäßÙÚÉÛÓäàÙÔÉÓâæÉàÓÚÕÓÒÙæäàÉäàßåÉßåÉäàÓÉÚÓáÉ·Ôâ×ÚÕÓÔɳÚÕæïèäßÙÚÉÅä×ÚÔ×æÔÉ×Úïá×ïåÉßÉÔÙÚäÉæÓ×ÜÜïÉà×âÓÉ×ÉÑÙÙÔÉâßÔÉÖãäÉßÉæÓ×ÜÜïÉÓÚÞÙïÉäàßåÉåÙÚÑÉßÉàÙèÓÉïÙãÉáßÜÜÉÓÚÞÙïÉßäÉ×åáÓÜܗÉïÙãäãÖӚÕÙۙá×äÕà©â«³£ï²ÕÔÈ·±â¨ë"
for i in range(len(flag)):
x = ord(flag[i])
x = ((x+15) ^ 135)
print(chr(x&0xff), end="")

watevr{this_must_be_the_best_encryption_method_evr_henceforth_this_is_the_new_Advanced_Encryption_Standard_anyways_i_dont_really_have_a_good_vid_but_i_really_enjoy_this_song_i_hope_you_will_enjoy_it_aswell!_youtube.com/watch?v=E5yFcdPAGv0}