Shell Balancing
after initial access into machine we need to stable our shell so there are various ways to do this we will be looking over them ..
Last updated
after initial access into machine we need to stable our shell so there are various ways to do this we will be looking over them ..
Last updated
During reciving connection form target machine we can use rlwrap
we can also mitigate some of the restrictions of poor netcat shells by wrapping the netcat listener with the rlwrap
command.
This is not installed by default so we need to install it using sudo apt rlwrap
.
This is a generic shell command that receive the default system shell.
script comes pre-installed
check the man page
-q is for quite , -c is for command
ctrl+z
Python is great tool for balancing the shell.
ctrl+z
If python is not installed or perl avilable on box then we can use this .
if ruby is installed on box.
Using wget and python's SimpleHttpServer NC was easily moved over to the target
here we copy nc to victum machine and then receive the shell.
never sue nc while receiving connections ,use socat it will give you more generic shell like ssh.