https://github.com/ysmood/nc
A simple netcat tool
https://github.com/ysmood/nc
Last synced: 8 months ago
JSON representation
A simple netcat tool
- Host: GitHub
- URL: https://github.com/ysmood/nc
- Owner: ysmood
- Created: 2019-07-02T09:53:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-27T09:08:16.000Z (about 6 years ago)
- Last Synced: 2024-06-20T17:29:15.207Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# nc
A simple tool bind tcp and udp at the same time with sane defaults.
I use it to detect if a machine's tcp/udp is accessible.
Install executable: `curl -L https://git.io/fjaxx | repo=ysmood/nc bin=nc sh`
```txt
usage: nc [] [ ...]
a simple netcat tool
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
Args:
[
] the host and port address
Commands:
help [...]
Show help.
serve [
]
run as server for both tcp and udp on the same port
send [] [
]
send tcp or udp package
-p, --protocol="tcp" protocol to use
```