Skip to main content

Codebook

  • Description: Run the Python script code.py in the same directory as codebook.txt.
  • Difficulty: Easy

🔎 Solution

This is a fairly straightforward challenge. Place both code.py and codebook.txt in the same directory. Then, simply execute the Python script. If the files are positioned correctly, the script will run without issue and output the flag.

┌──(kali㉿kali)-[~/Desktop]
└─$ ls
codebook.txt code.py

┌──(kali㉿kali)-[~/Desktop]
└─$ python code.py
picoCTF{c0d3b00k_455157_d9aa2df2}

🚩Flag

picoCTF{c0d3b00k_455157_d9aa2df2}