Categorygithub.com/lair-framework/go-nmap
modulepackage
0.0.0-20191202052157-3507e0b03523
Repository: https://github.com/lair-framework/go-nmap.git
Documentation: pkg.go.dev

# README

gonmap

Nmap XML parsing library for Go

##Usage## http://godoc.org/github.com/tomsteele/go-nmap#Parse

# Functions

Parse takes a byte array of nmap xml data and unmarshals it into an NmapRun struct.

# Structs

Address contains a IPv4 or IPv6 address for a Host.
Debugging contains the debugging level for the Nmap scan.
Distance is the amount of hops to a particular host.
Element contains the output of the script, with detailed information.
ExtraPorts contains the information about the closed|filtered ports.
Finished contains detailed statistics regarding a finished Nmap scan.
Hop is a ip hop to a Host.
Host contains all information about a single host.
Hostname is a single name for a Host.
HostStats contains the amount of up and down hosts and the total count.
NmapRun is contains all the data for a single nmap scan.
Os contains the fingerprinted operating system for a Host.
OsClass contains vendor information for an Os.
OsFingerprint is the actual fingerprint string.
OsMatch contains detailed information regarding a Os fingerprint.
Owner contains the name of Port.Owner.
Port contains all the information about a scanned port.
PortsUsed is the port used to fingerprint a Os.
No description provided by the author
RunStats contains statistics for a finished Nmap scan.
ScanInfo contains informational regarding how the scan was run.
Script contains information from Nmap Scripting Engine.
Sequence contains information regarding the detected X sequence.
Service contains detailed information about a Port's service details.
Smurf contains repsonses from a smurf attack.
State contains information about a given ports status.
Status is the host's status.
Table contains the output of the script in a more parse-able form.
Target is found in the Nmap xml spec.
Task contains information about started and stopped Nmap tasks.
TaskProgress contains information about the progression of a Task.
TcpSequence contains information regarding the detected tcp sequence.
Times contains time statistics for an Nmap scan.
Trace contains the hops to a Host.
Uptime is the amount of time the host has been up.
Verbose contains the verbosity level for the Nmap scan.

# Type aliases

CPE (Common Platform Enumeration) is a standardized way to name software applications, operating systems, and hardware platforms.
No description provided by the author
No description provided by the author
Timestamp represents time as a UNIX timestamp in seconds.