Macos Python Env Injection

macOS Python application injection via PYTHONWARNINGS and BROWSER environment variables. Use this skill whenever you need to achieve code execution through Python on macOS, especially when you have write access to environment variables or can influence how Python is invoked. Trigger this for privilege escalation scenarios, CTF challenges involving Python, or when you need to bypass Python's isolated mode (-I flag). This technique works by exploiting how Python processes warning configurations and browser handlers.

abelrguezr Updated 23 repo stars

File contents

abelrguezr/hacktricks-skills commit 18334cc863

Frequently asked questions

npx get-skill add abelrguezr/macos-python-env-injection