Flag ← "nbctf{redacted}" Flag ← utf Flag ÷ⁿ:⌈η;⍢(⌊÷⁅ⁿ⌈ηπ:+◿⁅ⁿ⌈ηπ,:)(≠-×⁅ηπτ):-×⁅ηπτ⋅∘⍥(+,:)⋅∘⍥(+,:)⌊τ..⌊η-×⁅ηπτ;⍢(: ↯:⍉:↯⌊η:↯⊟.⌈√,:⧻. ☇-×⁅ηπτ↻×⁅π,◫+⁅-⌊ητ,↻-⁅π,◿ⁿ:⌈η;⍢(⌊÷⁅ⁿ⌈ηπ:+◿⁅ⁿ⌈ηπ,:)(≠-×⁅ηπτ):-×⁅ηπτ⋅∘⍥(+,:)⋅∘⍥(+,:)⌊τ..⌊η-×⁅ηπτ-:ⁿ:⌈η;⍢(⌊÷⁅ⁿ⌈ηπ:+◿⁅ⁿ⌈ηπ,:)(≠-×⁅ηπτ):-×⁅ηπτ⋅∘⍥(+,:)⋅∘⍥(+,:)⌊τ..⌊η-×⁅ηπτ:-⌊η)(>-×⁅ηπτ)⁅ₙ⋅∘⍥(+,:)⌈π.⌊η×η⧻.Flag ↯ 300_300_3 ⧻ Flag # 49
# key = [] # for i in range(49): # key.append(256 - i) # print(str(key).replace(", ", " " ))
ind = [...] ind = [ind[3 * i:3 * i + 3] for i in range(len(ind) // 3)] flag = np.array(Image.open("flag.png")) weiht, height = flag.shape[0], flag.shape[1] F = [257] * 49 for i in range(weiht): for j in range(height): for k in range(3): F[ind[300 * i + j][k]] = flag[i][j][k] if 257 not in F: F = [chr(255 - i) for i in F] print("".join(F)) exit(0) # nbctf{TBH_1_h4t3d_m4kin6_7h1s_ch4ll_6d1a32fe482b}