Documentation
¶
Overview ¶
Package nikto parses Nikto XML data into a similary formed struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
ID int `xml:"id,attr"`
OSVDBID int `xml:"osvdbid,attr"`
OSVDBIDLink string `xml:"osvdbidlink,attr"`
Method string `xml:"method,attr"`
Description string `xml:"description"`
URI string `xml:"uri"`
NameLink string `xml:"namelink"`
IPLink string `xml:"iplink"`
}
Item contains the nikto finding results
type SSL ¶
type SSL struct {
Ciphers string `xml:"ciphers,attr"`
Issuers string `xml:"issuers,attr"`
Info string `xml:"info,attr"`
}
SSL contains the SSL cipher information
type Scan ¶
type Scan struct {
HostsTest string `xml:"hoststest,attr"`
Options string `xml:"options,attr"`
Version string `xml:"version,attr"`
ScanStart string `xml:"scanstart,attr"`
ScanEnd string `xml:"scanend,attr"`
ScanElapsed string `xml:"scanelapsed,attr"`
XMLOutputVersion string `xml:"nxmlversion,attr"`
ScanDetails []ScanDetail `xml:"scandetails"`
}
type ScanDetail ¶
type ScanDetail struct {
TargetIP string `xml:"targetip,attr"`
TargetHostname string `xml:"targethostname,attr"`
TargetPort int `xml:"targetport,attr"`
TargetBanner string `xml:"targetbanner,attr"`
StartTime string `xml:"starttime,attr"`
SiteName string `xml:"sitename,attr"`
SiteIP string `xml:"siteip,attr"`
HostHeader string `xml:"hostheader,attr"`
Errors int `xml:"errors,attr"`
Checks int `xml:"checks,attr"`
SSL SSL `xml:"ssl"`
Items []Item `xml:"item"`
Statistics Statistics `xml:"statistics"`
}
ScanDetails contains all the information for a single host scan.
Click to show internal directories.
Click to hide internal directories.