[Python] Access to builtins without underscore [closed]

Discussão em 'Python' iniciado por Stack, Abril 12, 2025.

  1. Stack

    Stack Membro Participativo

    I tried in Python to access to all the builtins without any underscores, something like:

    payload = "payload-here"
    if ("_" in payload):
    exit(1)
    code = compile(payload, "", "exec")
    eval(code, {"__builtins__": {}}, {})


    How can I do it?

    Continue reading...

Compartilhe esta Página