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

garak, LLM Vulnerability Scanner : The Comprehensive Tool For Assessing Language Model Security

garak checks if an LLM can be made to fail in a way we don't…

24 hours ago

Vermilion : Mastering Linux Post-Exploitation For Red Team Success

Vermilion is a simple and lightweight CLI tool designed for rapid collection, and optional exfiltration…

24 hours ago

AD-CS-Forest-Exploiter : Mastering Security Through PowerShell For AD CS Misconfiguration

ADCFFS is a PowerShell script that can be used to exploit the AD CS container…

24 hours ago

Usage Of Tartufo – A Comprehensive Guide To Securing Your Git Repositories

Tartufo will, by default, scan the entire history of a git repository for any text…

24 hours ago

Loco : A Rails-Inspired Framework For Rust Developers

Loco is strongly inspired by Rails. If you know Rails and Rust, you'll feel at…

2 days ago

Monolith : The Ultimate Tool For Storing Entire Web Pages As Single HTML Files

A data hoarder’s dream come true: bundle any web page into a single HTML file.…

2 days ago