Codebook
Tags: General Skills, shell, Python
Author: LT ‘syreal’ Jones
Description
Run the Python script code.py in the same directory as codebook.txt.
- Download code.py
- Download codebook.txt
Hints
- On the webshell, use
lsto see if both files are in the directory you are in - The
str_xorfunction does not need to be reverse engineered for this challenge.Approach
Same directory means same folder in the computer. Just make sure to download them into the same folder. After downloading, navigate to the folder with terminal (so
cdand your path, eg.cd Documents/Codebook) then run the file with eitherpython code.pyorpython3 code.pydepending on what version of Python you have installed.Flag
picoCTF{c0d3b00k_455157_197a982c}
- On the webshell, use