tcpscan

package module
v0.0.0-...-d803b05 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: MIT Imports: 3 Imported by: 0

README

tcpscan is concurrent TCP port scanner. It is adapted from the book Black Hat Go. The original code example from the book can be found here.

Documentation

Overview

Package tcpscan provides a TCP port scanner.

It is adapted from https://github.com/blackhat-go/bhg

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scan

func Scan(host string, numPorts, numWorkers int) []int

Scan scans ports from 1 to numPorts (included) using numWorkers in parallel. It returns the sorted list of open ports.

Types

This section is empty.

Jump to

Keyboard shortcuts

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