su: must be run from a terminal

su: must be run from a terminal

how can I spwn a shell without python pty ? I have perl…

thanks

thanks so much

also you add autocomplete feature to your shell by using .

export TERM=xterm

thanks

This is a pretty well explained guide…Upgrading Simple Shells to Fully Interactive TTYs - ropnop blog

/usr/bin/script -qc /bin/bash /dev/null this works most of the time on Linux.

2 Likes

@MinatoTW said:

/usr/bin/script -qc /bin/bash /dev/null this works most of the time on Linux.

Nice bro never seen that before

2 Likes

Type your comment> @MinatoTW said:

/usr/bin/script -qc /bin/bash /dev/null this works most of the time on Linux.

you killed it man awesome :slight_smile:

1 Like

Just tested. Work great !!!

@MinatoTW Great Job man!
Never seen that before!

Type your comment> @black0x0 said:

also you add autocomplete feature to your shell by using .

export TERM=xterm

@black0x0 Will this work to tab autocomplete on a reverse shell via a netcat listener? Or am I out of luck in that situation?

try ctrl + z
stty raw -echo
fg