NetGo
NetGo is a basic implementation of ncat in go language.
___ ___ ___ ___ ___
/\__\ /\ \ /\ \ /\ \ /\ \
/:| _|_ /::\ \ \:\ \ /::\ \ /::\ \
/::|/\__\ /::\:\__\ /::\__\ /:/\:\__\ /:/\:\__\
\/|::/ / \:\:\/__/ /:/\/__/ \:\:\/__/ \:\/:/ /
|:/ / \:\/__/ \/__/ \::/ / \::/ /
\/__/ \/__/ \/__/ \/__/
Install
1. Get the project
$ git clone git@github.com:WhatTheSlime/netgo.git
$ cd netgo
2. Compile the project
For linux
$ GOOS=linux GOARCH=amd64 go build .
For windows
$ GOOS=windows GOARCH=amd64 go build .
For mac
$ GOOS=darwin GOARCH=amd64 go build .
3. Drop it and use it wherever you want
$ ./netgo -h
2. (Optional) Generate TLS certificates
$ ./gencerts.sh
Features
- Executes the given command (-e, --exec )
- Maximum simultaneous connections (-m, --max-conns )
- Display help screen (-h, --help)
- Wait between read/writes (-d, --delay
- Bind and listen for incoming connections (-l, --listen)
- Accept multiple connections in listen mode (-k, --keep-open)
- Do not resolve hostnames via DNS (-n, --nodns)
- Use UDP instead of default TCP (-u, --udp)
- Set verbosity level (-v, --verbose)
- Connect timeout (-w, --wait
- Specify address of host to proxy through (--proxy scheme://addr[:port])
- Connect or listen with TLS (--tls)
- Specify TLS certificate file (PEM) for listening (--tls-cert)
- Specify TLS private key (PEM) for listening (--tls-key)
- Display version information and exit (--version)
References