netgo

command module
v0.0.0-...-26aea37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL