Categories: Kali Linux

Win-PortFwd : Powershell Script To Setup Windows Port Forwarding Using Native Netsh Client

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.

R K

Recent Posts

Comments in Bash Scripts

What Are Bash Comments? In Bash scripting, comments are notes in your code that the…

1 day ago

Shebang (#!) in Bash Script

When you write a Bash script in Linux, you want it to run correctly every…

2 days ago

Bash String Concatenation – Bash Scripting

Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…

2 days ago

Learn Bash Scripting: How to Create and Run Shell Scripts for Beginners

What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…

3 days ago

Bash if…else Statement – Bash Scripting

When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…

3 days ago

Bash Functions Explained: Syntax, Examples, and Best Practices

Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…

5 days ago