Documentation
¶
Index ¶
Constants ¶
View Source
const ( SevInfo = "Information" SevLow = "Low" SevMedium = "Medium" SevHigh = "High" )
this constants from w3af/core/data/constants/severity.py
Variables ¶
View Source
var SeverityMap = map[string]issue.Severity{ SevInfo: issue.SeverityInfo, SevLow: issue.SeverityLow, SevMedium: issue.SeverityMedium, SevHigh: issue.SeverityHigh, }
Functions ¶
This section is empty.
Types ¶
type HttpEntity ¶
type HttpEntity struct {
Status string `xml:"status"`
Headers []*HttpHeader `xml:"headers>header"`
Body *HttpBody `xml:"body"`
}
type HttpHeader ¶
type HttpTransaction ¶
type HttpTransaction struct {
Id int `xml:"id,attr"`
Request *HttpEntity `xml:"http-request"`
Response *HttpEntity `xml:"http-response"`
}
type Vulnerability ¶
type Vulnerability struct {
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
Method string `xml:"method,attr"`
Plugin string `xml:"plugin,attr"`
Severity string `xml:"severity,attr"`
Url string `xml:"url,attr"`
Var string `xml:"var,attr"`
Description string `xml:"description"`
LongDescription string `xml:"long-description"`
FixGuidance string `xml:"fix-guidance"`
HttpTransactions []*HttpTransaction `xml:"http-transactions>http-transaction"`
References []*Reference `xml:"references>reference"`
}
type XmlReport ¶
type XmlReport struct {
Vulnerabilities []*Vulnerability `xml:"vulnerability"`
Errors []*Error `xml:"error"`
}
Click to show internal directories.
Click to hide internal directories.