reversehard

python2 vs python3 — taipanbyte CTF

taipanbyte

Task: Guess the number game in a PyInstaller-packaged Python 2 binary. Solution: Exploit Python 2 input() vulnerability which executes eval(), using inspect module to leak the secret variable from the calling frame.

$ ls tags/ techniques/
python2_input_evalframe_inspectionvariable_leak

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub, then upgrade to Pro.

$ssh [email protected]