Documentation Index
Fetch the complete documentation index at: https://docs.bytejmp.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Plink is PuTTY’s command-line SSH client. Useful for pivoting from Windows targets that don’t have native SSH.Download
Pre-installed on many Windows systems with PuTTY. Otherwise:plink.exe
Local Port Forward
Access internal service from attacker via Windows pivot.Example
Remote Port Forward
Expose Windows pivot’s local service to attacker.Example — Expose RDP
localhost:3390 → Windows pivot RDP.
Dynamic Port Forward (SOCKS)
Non-Interactive (Scripted)
Accept host key automatically and provide password via echo:With SSH Key
Common Pivoting Scenario
Quick Reference
| Task | Command |
|---|---|
| Local forward | plink.exe -L PORT:TARGET:PORT user@IP |
| Remote forward | plink.exe -R PORT:127.0.0.1:PORT user@IP |
| SOCKS | plink.exe -D 1080 user@IP |
| Non-interactive | echo y | plink.exe -R ... -l user -pw pass IP |