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

WhatsMyName App – Find Anyone Across 640+ Platforms

Overview WhatsMyName is a free, community-driven OSINT tool designed to identify where a username exists…

7 hours ago

Analyzing Directory Size Linux Tools Explained

Managing disk usage is a crucial task for Linux users and administrators alike. Understanding which…

8 hours ago

Understanding Disk Usage with du Command

Efficient disk space management is vital in Linux, especially for system administrators who manage servers…

8 hours ago

How to Check Directory Size in Linux

Knowing how to check directory sizes in Linux is essential for managing disk space and…

8 hours ago

Essential Commands for Linux User Listing

Managing user accounts is a core responsibility for any Linux administrator. Whether you’re securing a…

8 hours ago

Command-Line Techniques for Listing Linux Users

Linux offers powerful command-line tools for system administrators to view and manage user accounts. Knowing…

1 day ago