ipscan

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OSDB = map[int]string{

		64:  "Linux",
		128: "Windows",
		256: "Unknown",
	}
)

Functions

func CheckOS

func CheckOS(ip string) (os string, err error)

Types

type Options

type Options struct {
	Hosts     []string
	PortRange string
	Rate      int
	Threads   int
	MaxPort   int
	QQwry     *qqwry.QQwry
	NmapProbe *portfinger.NmapProbe
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(options *Options) (*Runner, error)

func (*Runner) GetIpAddr

func (r *Runner) GetIpAddr(ip string) (country, area string, err error)

func (*Runner) Run

func (r *Runner) Run() (results []*portfinger.Result)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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