1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-04-19 16:33:47 +02:00

Use the more clean install command to create example SUIDs

This commit is contained in:
Andrea Cardaci 2020-12-20 19:21:37 +01:00
parent 65857d486b
commit 2746e78a44

View File

@ -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 }}) .