netnyan

Crates.ionetnyan
lib.rsnetnyan
version0.1.0
sourcesrc
created_at2023-09-03 00:31:22.346733
updated_at2023-09-03 00:31:22.346733
descriptionnetnyan is a replacement for netcat
homepage
repositoryhttps://github.com/kumavale/netnyan
max_upload_size
id961976
size38,940
Naoki Kumagai (kumavale)

documentation

README

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

  • Outbound or inbound connections, TCP or UDP, to or from any ports
  • I/O with pipes

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

Commit count: 35

cargo fmt