Move the SUID clarification to the function descriptions

This commit is contained in:
Andrea Cardaci
2020-01-07 21:01:38 +01:00
parent 55409b238c
commit 70eca64eb2
2 changed files with 8 additions and 4 deletions

View File

@@ -24,8 +24,6 @@ layout: common
{% capture code %}
{%- if function_id == 'suid' or function_id == 'limited-suid' %}
# This example creates a local SUID copy of the binary and runs it to maintain elevated privileges.
# To exploit an existing SUID binary instead, skip the following command and run it using its full path.
sudo sh -c 'cp $(which {{ bin_name }}) .; chmod +s ./{{ bin_name }}'
{% endif %}
{%- if function_id == 'capabilities' %}