networker

command module
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 1 Imported by: 0

README

Networker

Go Report Card gopherbadger-tag-do-not-edit

Installation

Download Pre-compiled binaries

Checkout the releases page to download the latest executables for Linux, Mac, and Windows.

Global install using Go

go install github.com/fuskovic/networker/cmd/networker

Then verify your installation:

networker -v

Compile from source

make install

Usage

Usage: networker [subcommand] [flags]

Description: A simple networking tool.

Commands:
        ls, list         - List information on connected network devices.
        lu, lookup       - Lookup hostnames, IP addresses, internet service providers, nameservers, and networks.
        r, req, request  - Send an HTTP request.
        s, scan          - Scan hosts for open ports.

Commands

List

Usage: networker list [flags]

Aliases: ls

Description: List information on connected network devices.

networker list flags:
      --json   Output as json.

Scan

Usage: networker scan [flags]

Aliases: s

Description: Scan hosts for open ports.

networker scan flags:
  -a, --all           Scan all ports(scans first 1024 if not enabled).
      --host string   Host to scan(scans all hosts on LAN if not provided).
      --json          Output as json.

Lookup

Usage: networker lookup [flags]

Aliases: lu

Description: Lookup hostnames, IP addresses, nameservers, and networks.

Commands:
        hostname     - Lookup the hostname for a provided ip address.
        ip           - Lookup the ip address of the provided hostname.
        network      - Lookup the network address of a provided host.
        nameservers  - Lookup nameservers for the provided hostname.
        isp          - Lookup the internet service provider of a remote host.

Request

Usage: networker request [flags]

Aliases: r, req

Description: Send an HTTP request.

networker request flags:
-b, --body string       Request body. (you can use a JSON string literal or a path to a json file)
-H, --headers strings   Request headers.(format(no quotes): key:value,key:value,key:value)
-j, --json-only         Only output json.
-m, --method string     Request method. (default "GET")
-u, --upload string     Multi-part form. (format: formname=path/to/file1,path/to/file2,path/to/file3)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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