Command_sh

1.) To view the IP address if normal commands are restricted from use.

awk '/32 host/ { print f } {f=$2}' <<< "$(</proc/net/fib_trie)" | sort -u

2.) SHELL STABLE COMMAND

script -q /dev/null -c /bin/bash

if bash not available do sh 

script -q /dev/null -c /bin/sh
 

3.) Shell stabler

python3 -c 'import pty; pty.spawn("/bin/bash")'

ctrl+z

stty raw -echo

fg

export TERM=xterm-256color

stty sane

stty rows $(tput lines) cols $(tput cols)

exec /bin/bash

clear

clear command in shell

up and down

Last updated

Was this helpful?