mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-04 02:38:43 +01:00 
			
		
		
		
	Clarify the need of the SUID cp+chmod command in the examples
This commit is contained in:
		@@ -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' %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user