Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JsonNodes = JsonNode{}
View Source
var Nodes = Node{
Path: "/",
}
View Source
var OutOfOrigin = make(map[string][]string)
View Source
var RequestDelay time.Duration = 0
View Source
var Vulnmap = map[string]*Vuln{
"Cross_Site_Request_Forgery": &csrfVuln,
"Reflected_XSS": &reflectedxssVuln,
"Stored_XSS": &storedxssVuln,
"OS_Command_Injection": &osciVuln,
"Directory_Traversal": &dirtraversalVuln,
"Time_based_SQL_Injection": &timebasedsqliVuln,
"Error_Based_SQL_Injection": &errbasedsqliVuln,
"Open_Redirect": &openredirectVuln,
"HTTP_Header_Injection": &httpheaderiVuln,
"Directory_Listing": &dirlistingVuln,
}
View Source
var WholeIssue []Issue
Functions ¶
func AppendOutOfOrigin ¶
func ResetVulnMap ¶
func ResetVulnMap()
Types ¶
type CrawlFormData ¶
type CrawlFormData struct { Name []string `form:"name[]"` Value []string `form:"value[]"` LoginURL string `form:"loginURL"` LoginReferer string `form:"loginReferer"` LoginKey []string `form:"loginKey[]"` LoginValue []string `form:"loginValue[]"` LoginMethod []string `form:"loginMethod[]"` ExclusiveURL []string `form:"exclusiveURL[]"` Delay string `form:"delay"` }
type JsonCookie ¶
type JsonMessage ¶
type JsonNode ¶
type JsonNode struct { Path string `json:"path"` Cookies []JsonCookie `json:"cookies"` Messages []JsonMessage `json:"messages"` Children []JsonNode `json:"children"` Issue []Issue `json:"issue"` // Directory Listing scanのためのフィールド。末尾"/"がないのでそのままは使えません。 URL string `json:"url"` }
type RequestStruct ¶
type ScanFormData ¶
type ScanFormData struct { ScanOption string `form:"scanOption"` LoginURL string `form:"loginURL"` LoginReferer string `form:"loginReferer"` LoginKey []string `form:"loginKey[]"` LoginValue []string `form:"loginValue[]"` LoginMethod []string `form:"loginMethod[]"` LandmarkNumber int `form:"LandmarkNumber"` Delay string `form:"delay"` }
type TestStruct ¶
Click to show internal directories.
Click to hide internal directories.