rustcat 0.0.5

rustcat - Like Netcat but in Rust
rustcat-0.0.5 is not a library.

⚙️ Rustcat ⚙️ Workflow dependency status

-- Basic Netcat Alternative --

About

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
  • It is easy to use
  • Uses colors

Installation

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 from source:

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

To install the latest github release (May not work on some distros):

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

  1. Download the source
  2. Cd into the dir and run...
cargo build --release

You may also want to rename the executable to rc

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