Hacking Tools

SharpRedirect : A Lightweight And Efficient .NET-Based TCP Redirector

SharpRedirect is a simple .NET Framework-based redirector from a specified local port to a destination host and port.

Features

  • Traffic Redirection: Redirects incoming TCP connections from a local port to a specified destination host and port.
  • Bidirectional Communication: Supports full duplex communication between the client and the destination.
  • Ease of Use: Simple command-line interface for quick setup.
  • Lightweight and Efficient: Designed with asynchronous operations for optimal performance.

Requirements

.NET Framework: Version 4.5 or later.

Installation

  1. Clone the repository or download the source code:
git clone https://github.com/your-repo/SharpRedirect.git
  1. Open the project in Visual Studio.
  2. Build the solution to generate the executable. (You can also used the precompiled ones inside Releases folder)

Usage

Run the executable from the command line with the following syntax:

SharpRedirect.exe <localPort> <destinationHost> <destinationPort>

Example: To redirect traffic from localhost:8080 to example.com:80:

SharpRedirect.exe 8080 example.com 80

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

git fetch vs git pull: How They Work and When to Use Each

Both git fetch and git pull talk to a remote repository, but they do very different things to your…

2 days ago

git cherry-pick Command: Apply Commits from Another Branch

Sometimes the change you need already exists, just on the wrong branch. A hotfix lands…

2 days ago

Best Email APIs for Secure Business Email: Why Developers Are Moving Beyond SMTP

Email is still one of the most important communication channels inside modern applications. Password resets,…

3 days ago

Nginx Commands in Linux: Start, Stop, Reload, Test, and Log

Nginx is a high-performance web server and reverse proxy trusted by some of the largest…

6 days ago

ufw Command in Linux: Manage Firewall Rules with Examples

ufw (Uncomplicated Firewall) sits on top of iptables (or nftables on newer systems) and replaces…

6 days ago

who Command in Linux: Show All Logged-In Users and Sessions

When you share a server with a team or investigate unexpected activity, the first question…

6 days ago