Rustcat is a port listener that can be used for different purposes.
It is basically like netcat but with fewer options.
Why Use Rustcat?
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
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
The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…