From 55409b238c439caf15a24f65724fc4c828084eb6 Mon Sep 17 00:00:00 2001 From: Emilio Date: Tue, 7 Jan 2020 19:50:38 +0000 Subject: [PATCH] Polish clarification about SUID binaries --- _layouts/bin.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/bin.html b/_layouts/bin.html index c884ccb..2a44ce9 100644 --- a/_layouts/bin.html +++ b/_layouts/bin.html @@ -24,8 +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 +# 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' %}