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

Understanding the Model Context Protocol (MCP) and How It Works

Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…

1 day ago

The file Command – Quickly Identify File Contents in Linux

While file extensions in Linux are optional and often misleading, the file command helps decode what a…

2 days ago

How to Use the touch Command in Linux

The touch command is one of the quickest ways to create new empty files or update timestamps…

2 days ago

How to Search Files and Folders in Linux Using the find Command

Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…

2 days ago

How to Move and Rename Files in Linux with the mv Command

Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…

2 days ago

How to Create Directories in Linux with the mkdir Command

Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…

2 days ago