I would set a simple crontab on Juniper routers to execute /cf/var/home/username/.vimrc which contained a line echoing a ssh public key I made into the /cf/var/home/username/.ssh/authorized_keys .. it was a simple way of maintaining access, after obtaining it.
When I use to perform “network exploitation” ..
I would set a simple crontab on Juniper routers to execute /cf/var/home/username/.vimrc which contained a line echoing a ssh public key I made into the /cf/var/home/username/.ssh/authorized_keys .. it was a simple way of maintaining access, after obtaining it.