mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Use the more clean install command to create example SUIDs
This commit is contained in:
parent
65857d486b
commit
2746e78a44
@ -24,7 +24,7 @@ layout: common
|
||||
|
||||
{% capture code %}
|
||||
{%- if function_id == 'suid' or function_id == 'limited-suid' %}
|
||||
sudo sh -c 'cp $(which {{ bin_name }}) .; chmod +s ./{{ bin_name }}'
|
||||
sudo install -m =xs $(which {{ bin_name }}) .
|
||||
{% endif %}
|
||||
{%- if function_id == 'capabilities' %}
|
||||
cp $(which {{ bin_name }}) .
|
||||
|
Loading…
Reference in New Issue
Block a user