daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR
git clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
Log | Files | Refs | README | LICENSE

commit d5c70885772478ca849c05700cfbd6bc02e5dfa9
parent f6bea7252c091cd0c3151dc061c01d5850b42073
Author: $: DAΞMON <zer0sec.xp@icloud.com>
Date:   Thu, 13 Aug 2026 02:06:26 +0100

πŸ”§ Update [main] | 13 Aug 2026 02:06:26 BST

πŸ“Š Stats: +116 / -116 across 2 file(s)
πŸ“ Breakdown: βž•0  ✏️2  πŸ—‘οΈ0  πŸ”€0
πŸ‘€ Author: $: DAΞMON

πŸ“ Changes:
  ✏️  Modified  src/content/sheets/exploitation/jailbreak-tty-upgrade.md
  ✏️  Modified  src/content/sheets/exploitation/shell-stabilization.md

πŸ“ˆ Line changes per file:
  β€’ src/content/sheets/exploitation/jailbreak-tty-upgrade.md +58    -58
  β€’ src/content/sheets/exploitation/shell-stabilization.md +58    -58

Diffstat:
Msrc/content/sheets/exploitation/jailbreak-tty-upgrade.md | 116++++++++++++++++++++++++++++++++++++++++----------------------------------------
Msrc/content/sheets/exploitation/shell-stabilization.md | 116++++++++++++++++++++++++++++++++++++++++----------------------------------------
2 files changed, 116 insertions(+), 116 deletions(-)

diff --git a/src/content/sheets/exploitation/jailbreak-tty-upgrade.md b/src/content/sheets/exploitation/jailbreak-tty-upgrade.md @@ -16,64 +16,64 @@ source: "vault:Exploitation/Jailbreak - TTY Upgrade.md" ## Table of Contents -- [Terminal Geometry (Rows & Columns)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#terminal-geometry-rows--columns) -- [TTY Upgrade Workflows](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade-workflows) -- [TTY Upgrade - Python (pty module)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---python-pty-module) -- [TTY Upgrade - script utility](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---script-utility) -- [TTY Upgrade - socat](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---socat) -- [TTY Upgrade - expect](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---expect) -- [TTY Upgrade - mkfifo (named pipes)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---mkfifo-named-pipes) -- [TTY Upgrade - Ruby (PTY module)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---ruby-pty-module) -- [TTY Upgrade - Perl (IO::Pty)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---perl-iopty) -- [TTY Upgrade - rlwrap](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---rlwrap) -- [TTY Stabilisation (stty method)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-stabilisation-stty-method) -- [TTY Upgrade - SSH escape sequences](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---ssh-escape-sequences) -- [TTY Upgrade - Meterpreter to shell](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---meterpreter-to-shell) -- [TTY Upgrade - PowerShell (ConPTY)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---powershell-conpty) -- [Troubleshooting TTY Upgrades](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#troubleshooting-tty-upgrades) -- [Restricted Shell Escape Workflows](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape-workflows) -- [Restricted Shell Escape - SSH pre-login](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ssh-pre-login) -- [Restricted Shell Escape - SSH configuration](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ssh-configuration) -- [Restricted Shell Escape - vi/vim editors](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---vivim-editors) -- [Restricted Shell Escape - ed/emacs/nano editors](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---edemacsnano-editors) -- [Restricted Shell Escape - pagers (less/more/man)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---pagers-lessmoreman) -- [Restricted Shell Escape - Python](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---python) -- [Restricted Shell Escape - Ruby/Perl/Lua/AWK](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---rubyperlluaawk) -- [Restricted Shell Escape - find](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---find) -- [Restricted Shell Escape - tar](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---tar) -- [Restricted Shell Escape - zip/unzip](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---zipunzip) -- [Restricted Shell Escape - gcc/compilers](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---gcccompilers) -- [Restricted Shell Escape - scp](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---scp) -- [Restricted Shell Escape - ftp/gdb/rpm](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ftpgdbrpm) -- [Restricted Shell Escape - nmap](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---nmap) -- [Restricted Shell Escape - rsync](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---rsync) -- [Restricted Shell Escape - tcpdump](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---tcpdump) -- [Restricted Shell Escape - package managers](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---package-managers) -- [Restricted Shell Escape - database clients](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---database-clients) -- [Restricted Shell Escape - systemd tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---systemd-tools) -- [Restricted Shell Escape - container tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---container-tools) -- [Restricted Shell Escape - scheduling tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---scheduling-tools) -- [Restricted Shell Escape - debugging tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---debugging-tools) -- [Restricted Shell Escape - git-shell](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---git-shell) -- [Restricted Shell Escape - browser-based](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---browser-based) -- [Restricted Shell Escape - telnet](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---telnet) -- [Restricted Shell Escape - top](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---top) -- [Restricted Shell Escape - ncat](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ncat) -- [Restricted Shell Escape - ld.so](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ldso) -- [Restricted Shell Escape - busybox](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---busybox) -- [Restricted Shell Escape - screen/tmux](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---screentmux) -- [Restricted Shell Escape - environment variables](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---environment-variables) -- [Restricted Shell Escape - chroot/mount](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---chrootmount) -- [Restricted Shell Escape - rbash-specific](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---rbash-specific) -- [Restricted Shell Escape - lshell-specific](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---lshell-specific) -- [Restricted Shell Escape - kshell/rksh-specific](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---kshellrksh-specific) -- [Restricted Shell Escape - command enumeration](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---command-enumeration) -- [Restricted Shell Escape - redirect workarounds](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---redirect-workarounds) -- [Restricted Shell Escape - cron/systemd timers](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---cronsystemd-timers) -- [Restricted Shell Escape - setuid/capabilities abuse](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---setuidcapabilities-abuse) -- [OPSEC Considerations](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#opsec-considerations) -- [Quick Decision Matrix](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#quick-decision-matrix) -- [References](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#references) +- [Terminal Geometry (Rows & Columns)](#terminal-geometry-rows--columns) +- [TTY Upgrade Workflows](#tty-upgrade-workflows) +- [TTY Upgrade - Python (pty module)](#tty-upgrade---python-pty-module) +- [TTY Upgrade - script utility](#tty-upgrade---script-utility) +- [TTY Upgrade - socat](#tty-upgrade---socat) +- [TTY Upgrade - expect](#tty-upgrade---expect) +- [TTY Upgrade - mkfifo (named pipes)](#tty-upgrade---mkfifo-named-pipes) +- [TTY Upgrade - Ruby (PTY module)](#tty-upgrade---ruby-pty-module) +- [TTY Upgrade - Perl (IO::Pty)](#tty-upgrade---perl-iopty) +- [TTY Upgrade - rlwrap](#tty-upgrade---rlwrap) +- [TTY Stabilisation (stty method)](#tty-stabilisation-stty-method) +- [TTY Upgrade - SSH escape sequences](#tty-upgrade---ssh-escape-sequences) +- [TTY Upgrade - Meterpreter to shell](#tty-upgrade---meterpreter-to-shell) +- [TTY Upgrade - PowerShell (ConPTY)](#tty-upgrade---powershell-conpty) +- [Troubleshooting TTY Upgrades](#troubleshooting-tty-upgrades) +- [Restricted Shell Escape Workflows](#restricted-shell-escape-workflows) +- [Restricted Shell Escape - SSH pre-login](#restricted-shell-escape---ssh-pre-login) +- [Restricted Shell Escape - SSH configuration](#restricted-shell-escape---ssh-configuration) +- [Restricted Shell Escape - vi/vim editors](#restricted-shell-escape---vivim-editors) +- [Restricted Shell Escape - ed/emacs/nano editors](#restricted-shell-escape---edemacsnano-editors) +- [Restricted Shell Escape - pagers (less/more/man)](#restricted-shell-escape---pagers-lessmoreman) +- [Restricted Shell Escape - Python](#restricted-shell-escape---python) +- [Restricted Shell Escape - Ruby/Perl/Lua/AWK](#restricted-shell-escape---rubyperlluaawk) +- [Restricted Shell Escape - find](#restricted-shell-escape---find) +- [Restricted Shell Escape - tar](#restricted-shell-escape---tar) +- [Restricted Shell Escape - zip/unzip](#restricted-shell-escape---zipunzip) +- [Restricted Shell Escape - gcc/compilers](#restricted-shell-escape---gcccompilers) +- [Restricted Shell Escape - scp](#restricted-shell-escape---scp) +- [Restricted Shell Escape - ftp/gdb/rpm](#restricted-shell-escape---ftpgdbrpm) +- [Restricted Shell Escape - nmap](#restricted-shell-escape---nmap) +- [Restricted Shell Escape - rsync](#restricted-shell-escape---rsync) +- [Restricted Shell Escape - tcpdump](#restricted-shell-escape---tcpdump) +- [Restricted Shell Escape - package managers](#restricted-shell-escape---package-managers) +- [Restricted Shell Escape - database clients](#restricted-shell-escape---database-clients) +- [Restricted Shell Escape - systemd tools](#restricted-shell-escape---systemd-tools) +- [Restricted Shell Escape - container tools](#restricted-shell-escape---container-tools) +- [Restricted Shell Escape - scheduling tools](#restricted-shell-escape---scheduling-tools) +- [Restricted Shell Escape - debugging tools](#restricted-shell-escape---debugging-tools) +- [Restricted Shell Escape - git-shell](#restricted-shell-escape---git-shell) +- [Restricted Shell Escape - browser-based](#restricted-shell-escape---browser-based) +- [Restricted Shell Escape - telnet](#restricted-shell-escape---telnet) +- [Restricted Shell Escape - top](#restricted-shell-escape---top) +- [Restricted Shell Escape - ncat](#restricted-shell-escape---ncat) +- [Restricted Shell Escape - ld.so](#restricted-shell-escape---ldso) +- [Restricted Shell Escape - busybox](#restricted-shell-escape---busybox) +- [Restricted Shell Escape - screen/tmux](#restricted-shell-escape---screentmux) +- [Restricted Shell Escape - environment variables](#restricted-shell-escape---environment-variables) +- [Restricted Shell Escape - chroot/mount](#restricted-shell-escape---chrootmount) +- [Restricted Shell Escape - rbash-specific](#restricted-shell-escape---rbash-specific) +- [Restricted Shell Escape - lshell-specific](#restricted-shell-escape---lshell-specific) +- [Restricted Shell Escape - kshell/rksh-specific](#restricted-shell-escape---kshellrksh-specific) +- [Restricted Shell Escape - command enumeration](#restricted-shell-escape---command-enumeration) +- [Restricted Shell Escape - redirect workarounds](#restricted-shell-escape---redirect-workarounds) +- [Restricted Shell Escape - cron/systemd timers](#restricted-shell-escape---cronsystemd-timers) +- [Restricted Shell Escape - setuid/capabilities abuse](#restricted-shell-escape---setuidcapabilities-abuse) +- [OPSEC Considerations](#opsec-considerations) +- [Quick Decision Matrix](#quick-decision-matrix) +- [References](#references) --- diff --git a/src/content/sheets/exploitation/shell-stabilization.md b/src/content/sheets/exploitation/shell-stabilization.md @@ -17,64 +17,64 @@ source: "vault:Exploitation/Jailbreak - TTY Upgrade.md" ## Table of Contents -- [Terminal Geometry (Rows & Columns)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#terminal-geometry-rows--columns) -- [TTY Upgrade Workflows](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade-workflows) -- [TTY Upgrade - Python (pty module)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---python-pty-module) -- [TTY Upgrade - script utility](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---script-utility) -- [TTY Upgrade - socat](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---socat) -- [TTY Upgrade - expect](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---expect) -- [TTY Upgrade - mkfifo (named pipes)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---mkfifo-named-pipes) -- [TTY Upgrade - Ruby (PTY module)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---ruby-pty-module) -- [TTY Upgrade - Perl (IO::Pty)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---perl-iopty) -- [TTY Upgrade - rlwrap](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---rlwrap) -- [TTY Stabilisation (stty method)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-stabilisation-stty-method) -- [TTY Upgrade - SSH escape sequences](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---ssh-escape-sequences) -- [TTY Upgrade - Meterpreter to shell](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---meterpreter-to-shell) -- [TTY Upgrade - PowerShell (ConPTY)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#tty-upgrade---powershell-conpty) -- [Troubleshooting TTY Upgrades](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#troubleshooting-tty-upgrades) -- [Restricted Shell Escape Workflows](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape-workflows) -- [Restricted Shell Escape - SSH pre-login](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ssh-pre-login) -- [Restricted Shell Escape - SSH configuration](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ssh-configuration) -- [Restricted Shell Escape - vi/vim editors](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---vivim-editors) -- [Restricted Shell Escape - ed/emacs/nano editors](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---edemacsnano-editors) -- [Restricted Shell Escape - pagers (less/more/man)](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---pagers-lessmoreman) -- [Restricted Shell Escape - Python](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---python) -- [Restricted Shell Escape - Ruby/Perl/Lua/AWK](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---rubyperlluaawk) -- [Restricted Shell Escape - find](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---find) -- [Restricted Shell Escape - tar](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---tar) -- [Restricted Shell Escape - zip/unzip](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---zipunzip) -- [Restricted Shell Escape - gcc/compilers](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---gcccompilers) -- [Restricted Shell Escape - scp](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---scp) -- [Restricted Shell Escape - ftp/gdb/rpm](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ftpgdbrpm) -- [Restricted Shell Escape - nmap](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---nmap) -- [Restricted Shell Escape - rsync](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---rsync) -- [Restricted Shell Escape - tcpdump](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---tcpdump) -- [Restricted Shell Escape - package managers](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---package-managers) -- [Restricted Shell Escape - database clients](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---database-clients) -- [Restricted Shell Escape - systemd tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---systemd-tools) -- [Restricted Shell Escape - container tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---container-tools) -- [Restricted Shell Escape - scheduling tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---scheduling-tools) -- [Restricted Shell Escape - debugging tools](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---debugging-tools) -- [Restricted Shell Escape - git-shell](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---git-shell) -- [Restricted Shell Escape - browser-based](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---browser-based) -- [Restricted Shell Escape - telnet](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---telnet) -- [Restricted Shell Escape - top](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---top) -- [Restricted Shell Escape - ncat](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ncat) -- [Restricted Shell Escape - ld.so](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---ldso) -- [Restricted Shell Escape - busybox](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---busybox) -- [Restricted Shell Escape - screen/tmux](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---screentmux) -- [Restricted Shell Escape - environment variables](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---environment-variables) -- [Restricted Shell Escape - chroot/mount](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---chrootmount) -- [Restricted Shell Escape - rbash-specific](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---rbash-specific) -- [Restricted Shell Escape - lshell-specific](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---lshell-specific) -- [Restricted Shell Escape - kshell/rksh-specific](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---kshellrksh-specific) -- [Restricted Shell Escape - command enumeration](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---command-enumeration) -- [Restricted Shell Escape - redirect workarounds](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---redirect-workarounds) -- [Restricted Shell Escape - cron/systemd timers](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---cronsystemd-timers) -- [Restricted Shell Escape - setuid/capabilities abuse](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#restricted-shell-escape---setuidcapabilities-abuse) -- [OPSEC Considerations](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#opsec-considerations) -- [Quick Decision Matrix](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#quick-decision-matrix) -- [References](https://claude.ai/chat/b188c64f-54af-4f7c-8f63-8c406ff2276b#references) +- [Terminal Geometry (Rows & Columns)](#terminal-geometry-rows--columns) +- [TTY Upgrade Workflows](#tty-upgrade-workflows) +- [TTY Upgrade - Python (pty module)](#tty-upgrade---python-pty-module) +- [TTY Upgrade - script utility](#tty-upgrade---script-utility) +- [TTY Upgrade - socat](#tty-upgrade---socat) +- [TTY Upgrade - expect](#tty-upgrade---expect) +- [TTY Upgrade - mkfifo (named pipes)](#tty-upgrade---mkfifo-named-pipes) +- [TTY Upgrade - Ruby (PTY module)](#tty-upgrade---ruby-pty-module) +- [TTY Upgrade - Perl (IO::Pty)](#tty-upgrade---perl-iopty) +- [TTY Upgrade - rlwrap](#tty-upgrade---rlwrap) +- [TTY Stabilisation (stty method)](#tty-stabilisation-stty-method) +- [TTY Upgrade - SSH escape sequences](#tty-upgrade---ssh-escape-sequences) +- [TTY Upgrade - Meterpreter to shell](#tty-upgrade---meterpreter-to-shell) +- [TTY Upgrade - PowerShell (ConPTY)](#tty-upgrade---powershell-conpty) +- [Troubleshooting TTY Upgrades](#troubleshooting-tty-upgrades) +- [Restricted Shell Escape Workflows](#restricted-shell-escape-workflows) +- [Restricted Shell Escape - SSH pre-login](#restricted-shell-escape---ssh-pre-login) +- [Restricted Shell Escape - SSH configuration](#restricted-shell-escape---ssh-configuration) +- [Restricted Shell Escape - vi/vim editors](#restricted-shell-escape---vivim-editors) +- [Restricted Shell Escape - ed/emacs/nano editors](#restricted-shell-escape---edemacsnano-editors) +- [Restricted Shell Escape - pagers (less/more/man)](#restricted-shell-escape---pagers-lessmoreman) +- [Restricted Shell Escape - Python](#restricted-shell-escape---python) +- [Restricted Shell Escape - Ruby/Perl/Lua/AWK](#restricted-shell-escape---rubyperlluaawk) +- [Restricted Shell Escape - find](#restricted-shell-escape---find) +- [Restricted Shell Escape - tar](#restricted-shell-escape---tar) +- [Restricted Shell Escape - zip/unzip](#restricted-shell-escape---zipunzip) +- [Restricted Shell Escape - gcc/compilers](#restricted-shell-escape---gcccompilers) +- [Restricted Shell Escape - scp](#restricted-shell-escape---scp) +- [Restricted Shell Escape - ftp/gdb/rpm](#restricted-shell-escape---ftpgdbrpm) +- [Restricted Shell Escape - nmap](#restricted-shell-escape---nmap) +- [Restricted Shell Escape - rsync](#restricted-shell-escape---rsync) +- [Restricted Shell Escape - tcpdump](#restricted-shell-escape---tcpdump) +- [Restricted Shell Escape - package managers](#restricted-shell-escape---package-managers) +- [Restricted Shell Escape - database clients](#restricted-shell-escape---database-clients) +- [Restricted Shell Escape - systemd tools](#restricted-shell-escape---systemd-tools) +- [Restricted Shell Escape - container tools](#restricted-shell-escape---container-tools) +- [Restricted Shell Escape - scheduling tools](#restricted-shell-escape---scheduling-tools) +- [Restricted Shell Escape - debugging tools](#restricted-shell-escape---debugging-tools) +- [Restricted Shell Escape - git-shell](#restricted-shell-escape---git-shell) +- [Restricted Shell Escape - browser-based](#restricted-shell-escape---browser-based) +- [Restricted Shell Escape - telnet](#restricted-shell-escape---telnet) +- [Restricted Shell Escape - top](#restricted-shell-escape---top) +- [Restricted Shell Escape - ncat](#restricted-shell-escape---ncat) +- [Restricted Shell Escape - ld.so](#restricted-shell-escape---ldso) +- [Restricted Shell Escape - busybox](#restricted-shell-escape---busybox) +- [Restricted Shell Escape - screen/tmux](#restricted-shell-escape---screentmux) +- [Restricted Shell Escape - environment variables](#restricted-shell-escape---environment-variables) +- [Restricted Shell Escape - chroot/mount](#restricted-shell-escape---chrootmount) +- [Restricted Shell Escape - rbash-specific](#restricted-shell-escape---rbash-specific) +- [Restricted Shell Escape - lshell-specific](#restricted-shell-escape---lshell-specific) +- [Restricted Shell Escape - kshell/rksh-specific](#restricted-shell-escape---kshellrksh-specific) +- [Restricted Shell Escape - command enumeration](#restricted-shell-escape---command-enumeration) +- [Restricted Shell Escape - redirect workarounds](#restricted-shell-escape---redirect-workarounds) +- [Restricted Shell Escape - cron/systemd timers](#restricted-shell-escape---cronsystemd-timers) +- [Restricted Shell Escape - setuid/capabilities abuse](#restricted-shell-escape---setuidcapabilities-abuse) +- [OPSEC Considerations](#opsec-considerations) +- [Quick Decision Matrix](#quick-decision-matrix) +- [References](#references) ---