netnyan 🐱

Actions Status Crate license license

netnyan is a replacement for netcat written in Rust.
netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP.

Features

Install

Cargo

cargo install netnyan

Usage

listen:

nn -lp 22222

connect:

nn localhost 22222

HTTP request:

echo -e "GET / HTTP/1.1\r\nHost: example.com\r\nConnection: close\r\n\r\n" | nn example.com 80 | grep 200