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
ls
to see if both files are in the directory you are in - The
str_xor
function 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
cd
and your path, eg.cd Documents/Codebook
) then run the file with eitherpython code.py
orpython3 code.py
depending on what version of Python you have installed.Flag
picoCTF{c0d3b00k_455157_197a982c}
- On the webshell, use