macOS ◆ xterm-256color ◆ zsh 546 views

Virseccon CTF Whitepages solution using Chepy.

https://github.com/securisec/chepy

In python:

from chepy import Chepy
c = Chepy("whitepages.txt", "r")
print(
    c.load_file()
    # replace unicode whitespace
    .find_replace("\\u2003", "0")
    # replace whitespace
    .find_replace(" ", "1")
    # decode binary
    .from_binary()
    # search flag
    .search_ctf_flags("LLS")
)