Discover Packages
github.com/atpiu/asset-scan
models
masscan
package
Version:
v0.0.0-...-308c33c
Opens a new window with list of versions in this module.
Published: Apr 19, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Address struct {
Addr string `xml:"addr,attr"`
AddrType string `xml:"addrtype,attr"`
}
type Host struct {
StartTime string
Endtime string `xml:"endtime,attr"`
Address Address `xml:"address"`
Ports Ports `xml:"ports>port"`
LastScanTime int
LastScanEndTime int
}
type Nmaprun struct {
XMLName xml .Name `xml:"nmaprun"`
StartTime string `xml:"start,attr"`
Scanner string `xml:"scanner,attr"`
Version string `xml:"version,attr"`
XmlVersion string `xml:"xmloutputversion,attr"`
}
type Ports []struct {
Protocol string `xml:"protocol,attr"`
Portid string `xml:"portid,attr"`
State State `xml:"state"`
Service Service `xml:"service"`
}
type Service struct {
Name string `xml:"name,attr"`
Banner string `xml:"banner,attr"`
}
type State struct {
State string `xml:"state,attr"`
Reason string `xml:"reason,attr"`
ReasonTTL string `xml:"reason_ttl,attr"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.