dumb to interactive shell
When spawning new web shell, it is commonly just nothing but the dumb terminal. To explorer target system better, it is mandatory to use fully interactive shell. There are few ways to make it, but I believe those two options were the best. Python pty module target$python -c ‘import pty; pty.spawn(“/bin/bash”)’ target$ctrl+z host$stty raw -echo…