Documentation ¶
Index ¶
Constants ¶
View Source
const Version = `v1.0.0`
Version is the current version of httpx
Variables ¶
View Source
var (
CONFIG finger.Config
)
View Source
var CSPHeaders = []string{
"Content-Security-Policy",
"Content-Security-Policy-Report-Only",
"X-Content-Security-Policy-Report-Only",
"X-Webkit-Csp-Report-Only",
}
CSPHeaders is an incomplete list of most common CSP headers
Functions ¶
func RequestByChrome ¶
Types ¶
type CSPData ¶
type CSPData struct {
Domains []string `json:"domains,omitempty"`
}
CSPData contains the Content-Security-Policy domain list
type Response ¶
type Response struct { StatusCode int Headers map[string][]string Host string URL *url.URL Title string Data []byte ContentLength int Raw string RawHeaders string Words int Lines int CSPData *CSPData HTTP2 bool Pipeline bool Duration time.Duration }
Response contains the response to a server
type Result ¶
type Result struct { Raw string URL string `json:"url,omitempty"` Location string `json:"location,omitempty"` Title string `json:"title,omitempty"` Host string `json:"host,omitempty"` ContentLength int64 `json:"content-length,omitempty"` StatusCode int `json:"status-code,omitempty"` VHost string `json:"vhost,omitempty"` CDN string `json:"cdn,omitempty"` Finger []string `json:"finger,omitempty"` DirBruteRs []string `json:"dir"` Technologies []string `json:"technologies,omitempty"` }
Result of a scan
type Runner ¶
type Runner struct { Dialer *fastdialer.Dialer DirStatus brute.DirStatus DirBrutes []brute.DirBrute // contains filtered or unexported fields }
Runner A user options
func (*Runner) GetFaviconHash ¶
Click to show internal directories.
Click to hide internal directories.