scanner

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoScan

func GoScan(host string, portsToScan []int) ([]*rpc.PortInfo, error)

GoScan will perform scanning using golang net library, its slower but can be used on systems without nmap installed requires list of ports to scan

func NmapAvailable

func NmapAvailable() bool

NmapAvailable will test if nmap is present on the system

func NmapScan

func NmapScan(host string) ([]*rpc.PortInfo, error)

NmapScan will scan given host using nmap shelling out

func Ping

func Ping(host string, n int) (*rpc.PingInfo, error)

Ping will run ping against the host

func PingAvailable

func PingAvailable() bool

PingAvailable will test if ping is present on the system

Types

This section is empty.

Jump to

Keyboard shortcuts

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