mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-07-25 19:54:14 +02:00
Drafting capabilities
This commit is contained in:
@@ -30,6 +30,10 @@ layout: common
|
||||
cp $(which {{ bin_name }}) .
|
||||
sudo sh -c 'chown 0 ./{{ bin_name }}; chmod +s ./{{ bin_name }}'
|
||||
{% endif %}
|
||||
{%- if function_name == 'capabilities-enabled' %}
|
||||
cp $(which {{ bin_name }}) .
|
||||
sudo setcap cap_setuid+ep {{ bin_name }}
|
||||
{% endif %}
|
||||
{{ example.code }}
|
||||
{% endcapture %}
|
||||
|
||||
|
Reference in New Issue
Block a user