Rustcat : Netcat Alternative

Rustcat is a port listener that can be used for different purposes.
It is basically like netcat but with fewer options.

Why Use Rustcat?

  • Serves it purpose of listening to ports
  • Has command history
  • It is easy to use
  • Supports udp
  • Uses colors

Installation

Debian

wget https://github.com/robiot/rustcat/releases/latest/download/rustcat_amd64.deb
sudo apt install ./rustcat_amd64.deb

Arch

git clone https://aur.archlinux.org/rustcat.git
cd rustcat
makepkg -si

Or with yay:

yay -S rustcat

Other Distributions

To install from crates.io:

cargo install rustcat

To install the latest github release without compiling yourself:

bash <(curl -s https://raw.githubusercontent.com/robiot/rustcat/main/install.sh)

If you want it on windows you need to remove everything related to termion and rustyline from the source

Compiling yourself

To compile yourself

  • Download the source
  • Cd into the dir and run…

cargo build –release

Usage

rc [options] [destination] [port]

Usage Examples

Help :

rc –help

Listen to port 55660 on localhost :

rc -lp 55660

Listen to port 55660 on localhost with command history :

rc -lpH 55660

Listen to port 55660 on localhost udp :

rc -lpu 55660

Listen to port 55660 on specified ip (192.168.1.10) :

rc -l 192.168.1.10 55660

R K

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

1 week ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

2 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

3 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

3 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

3 weeks ago