parser

package
v0.0.0-...-68d3538 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNmapData

func GetNmapData(path string)

GetNmapData returns the open ports and services of the host

Types

type Host

type Host struct {
	Hostname []string
	IP       string
	Ports    []map[int]string
	Status   string
}

Host contains the fields with the required information

type Hosts

type Hosts struct {
	Info []Host
}

Hosts contains a slice of Host

Jump to

Keyboard shortcuts

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