• Ralf Schmitt's avatar
    make 'locals()' not spew out __builtin__.__dict__ in backdoor · 3ac51150
    Ralf Schmitt authored
    __builtins__ may either be the __builtin__ module or
    __builtin__.__dict__. in the latter case typing locals() at the
    backdoor prompt spews out lots of useless stuff. In the former case it
    just prints "{'__builtins__': <module '__builtin__' (built-in)>,..."
    3ac51150
test__backdoor.py 2.63 KB