1 unstable release
0.1.0 | Sep 3, 2023 |
---|
#6 in #netcat
13KB
200 lines
netnyan 🐱
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
Dependencies
~5–14MB
~156K SLoC