From a67dcfcb3fd5dd1961b1540bdb73d2a1df0552ca Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Mon, 14 Aug 2023 21:25:31 +0100 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index af5306f..99031ac 100644 --- a/README.md +++ b/README.md @@ -1067,15 +1067,20 @@ exec python -c 'import pty; pty.spawn("/bin/bash")' ```sh # On the target host spwan a PTY using any of the above examples: python -c 'import pty; pty.spawn("/bin/bash")' - # Now Press Ctrl-Z to suspend the connection and return to your own terminal. +``` + +``` # On your terminal execute: stty raw -echo opost; fg +``` +``` # On target host export SHELL=/bin/bash -export TERM=xterm-256colorreset -stty rows 24 columns 80 +export TERM=xterm-256color +reset +stty rows 24 columns 180 # 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\] ' ```