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

groupdel Command in Linux: Remove a Group and Audit Files

The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…

17 minutes ago

wc Command in Linux: Count Lines, Words, Characters, and Bytes

The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…

25 minutes ago

top Command in Linux: Monitor Processes and Resource Usage

The top command in Linux provides a real-time view of running processes and system resource usage. From…

33 minutes ago

usermod Command in Linux: Modify User Accounts and Groups

The usermod command in Linux modifies existing user account attributes. You can use it to manage group…

41 minutes ago

sort Command in Linux: Sort Text, Numbers, Columns, and More

The sort command in Linux reads lines from files or standard input and writes them to standard…

1 day ago

wall Command in Linux: Broadcast Messages to Logged-In Users

The wall command in Linux sends a message to the terminals of all currently logged-in users. The…

1 day ago