Documentation
¶
Overview ¶
Package webenum implements a scan module for web content enumeration using wordlists and templates.
Index ¶
Constants ¶
View Source
const Label = "Webenum"
Variables ¶
This section is empty.
Functions ¶
func CheckSetup ¶
func CheckSetup() error
CheckSetup checks whether Setup() executed accordingly. Scan arguments should be checked by the scanner.
Types ¶
type EnumItem ¶
type EnumItem struct {
Name string
Vhost string
Url string
RedirectUrl string // Final URL the request got redirected to. Might be inside or outside of original endpoint.
RedirectCount int // Number of redirects that happened until the final URL was reached
RedirectOut bool // Indicates whether the redirect left the original endpoint
AuthMethod string
AuthSuccess bool
ResponseCode int
ResponseMessage string
ResponseContentType string
ResponseHeaders string
ResponseEncoding string // The encoding used to decode the response body returned by the server. Decided based on response headers, meta tags and trial and error.
HtmlTitle string
HtmlContent []byte
}
type Scanner ¶
type Scanner struct {
Label string
Started time.Time
Finished time.Time
// contains filtered or unexported fields
}
func NewScanner ¶
func (*Scanner) Run ¶
Run starts scan execution. This must either be executed as a goroutine, or another thread must be active listening on the scan's result channel, in order to avoid a deadlock situation.
func (*Scanner) SetContext ¶ added in v1.1.0
SetContext can be used to pass an existing context from outside. If timeout is supplied later when calling Run() the external context and the deadline context will be combined. Once set, the context cannot be changed anymore, because it might have been wrapped internally already.
Click to show internal directories.
Click to hide internal directories.