Win-PortFwd is a powershell script to setup windows port forwarding using native netsh client.

Installation

git clone https://github.com/deepzec/Win-PortFwd.git

Win-PortFwd Usage

.\win-portfwd.ps1

or

powershell.exe -noprofile -executionpolicy bypass -file .\win-portfwd.ps1

Also Read MacSubstrate – Tool For Interprocess Code Injection On macOS

Example :

Note: This script require admin privileges to run, this script will automatically try to elevate the privileges if you are running this script under normal user privileges.

https://github.com/Nekmo/dirhunt