ncat

Use the normal cat functionality over networks. More information: <https://manned.org/ncat>.

Install

All systems
curl cmd.cat/ncat.sh
Debian Debian
apt-get install ncat
Ubuntu
apt-get install ncat
Alpine
apk add nmap
Arch Arch Linux
pacman -S nmap
image/svg+xml Kali Linux
apt-get install ncat
CentOS
yum install nmap-ncat-2
Fedora
dnf install nmap-ncat-2
Windows (WSL2)
sudo apt-get update sudo apt-get install ncat
OS X
brew install nmap
Raspbian
apt-get install nmap
Docker
docker run cmd.cat/ncat ncat powered by Commando

Use the normal cat functionality over networks. More information: <https://manned.org/ncat>.

  • Listen for input on the specified port and write it to the specified file:
    ncat -l port > path/to/file
  • Accept multiple connections and keep ncat open after they have been closed:
    ncat -lk port
  • Write output of specified file to the specified host on the specified port:
    ncat address port < path/to/file

© tl;dr; authors and contributors