Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

pygolf

made by lydxn

challenge

main.py

#!/usr/bin/python3 -S
flag = 'ictf{redacted}'
eval(input()[:8])

solution

Python performs NFKC normalization on identifiers before parsing them. Use this to write flag in three chars via the fl ligature. int() leaks the flag through stderr.

my solution (unintended)

{}[flag] leaks flag through stderr

in theory, 7 chars is the minimum here because of this