Prologue
An online CTF competition by ACSC, this competition is qualification for competing in ICC for ASIA category.
Transclude of dist-compyled-cd28f1dad3613ce9587e7d963cd82bff95c8156b.tar.gz
Write Up
Initial Analysis
We were given only one file pyc
Using uncompyle
to get the original source doesn’t work due to the unsupported version. And this has the same case with pycdc
too.
Well, Since we still can run the script, we can run it under ltrace
and get the history call from memory dump.
Exploitation
We can use -s
argument for preventing ltrace
to truncate the string
FLAG: ACSC{d1d_u_notice_the_oob_L04D_C0N5T?}