mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Clarify the need of the SUID cp+chmod command in the examples
This commit is contained in:
parent
1f9dbbf6eb
commit
6baf0c2d0e
@ -24,6 +24,8 @@ layout: common
|
||||
|
||||
{% capture code %}
|
||||
{%- if function_id == 'suid' or function_id == 'limited-suid' %}
|
||||
# create a local SUID copy of the binary for the sake of the example
|
||||
# in a real world scenario ignore this line and use the proper path below
|
||||
sudo sh -c 'cp $(which {{ bin_name }}) .; chmod +s ./{{ bin_name }}'
|
||||
{% endif %}
|
||||
{%- if function_id == 'capabilities' %}
|
||||
|
Loading…
Reference in New Issue
Block a user