Rating:

A nice, simple writeup for the pplc challenges. tl;dr:

Private: eval("p."+dir(p)[0])()
Local: get_func.func_code.co_consts
Comment: comment_flag.__doc__

Original writeup (https://advancedpersistentjest.com/2017/09/04/writeup-restricted_python-rev-rev-rev-twctf-general-updates-hardware-flash-recovery/).