Documentation ¶
Overview ¶
Package runner executes the enumeration process.
Index ¶
Constants ¶
View Source
const ( DefaultResumeFile = "resume.cfg" DefaultOutputDirectory = "output" )
View Source
const Version = `v1.2.4`
Version is the current version of httpx
Variables ¶
This section is empty.
Functions ¶
func DoHealthCheck ¶
Types ¶
type AsnResponse ¶
type AsnResponse struct { AsNumber string `json:"as-number" csv:"as-number"` AsName string `json:"as-name" csv:"as-name"` AsCountry string `json:"as-country" csv:"as-country"` AsRange string `json:"as-range" csv:"as-range"` }
func (AsnResponse) String ¶
func (o AsnResponse) String() string
type FilterOperator ¶
type FilterOperator struct {
// contains filtered or unexported fields
}
type Options ¶
type Options struct { CustomHeaders customheader.CustomHeaders CustomPorts customport.CustomPorts Output string Auto301 bool Max301Moved int InputURL string InputURLs []string StoreResponseDir string HTTPProxy string SocksProxy string InputFile string Methods string RequestURI string RequestURIs string OutputMatchStatusCode string OutputMatchContentLength string OutputFilterStatusCode string OutputFilterContentLength string InputRawRequest string RequestBody string OutputFilterString string OutputMatchString string OutputFilterRegex string OutputMatchRegex string Retries int Threads int Timeout int VHost bool VHostInput bool Smuggling bool ExtractTitle bool StatusCode bool Location bool ContentLength bool FollowRedirects bool StoreResponse bool JSONOutput bool CSVOutput bool Silent bool Version bool Verbose bool NoColor bool OutputServerHeader bool OutputWebSocket bool FollowHostRedirects bool MaxRedirects int OutputMethod bool TLSProbe bool CSPProbe bool OutputContentType bool OutputIP bool OutputCName bool Unsafe bool Debug bool DebugRequests bool DebugResponse bool Pipeline bool HTTP2Probe bool OutputCDN bool OutputResponseTime bool NoFallback bool NoFallbackScheme bool TechDetect bool TLSGrab bool ShowStatistics bool StatsInterval int RandomAgent bool StoreChain bool Deny customlist.CustomList Allow customlist.CustomList MaxResponseBodySizeToSave int MaxResponseBodySizeToRead int OutputExtractRegexs goflags.StringSlice OutputExtractPresets goflags.StringSlice RateLimit int RateLimitMinute int Probe bool Resume bool ExcludeCDN bool HostMaxErrors int Stream bool SkipDedupe bool ProbeAllIPS bool Resolvers goflags.StringSlice Favicon bool OutputFilterFavicon goflags.StringSlice OutputMatchFavicon goflags.StringSlice LeaveDefaultPorts bool OutputLinesCount bool OutputMatchLinesCount string OutputFilterLinesCount string OutputWordsCount bool OutputMatchWordsCount string OutputFilterWordsCount string Hashes string Jarm bool Asn bool OutputMatchCdn goflags.StringSlice OutputFilterCdn goflags.StringSlice SniName string OutputMatchResponseTime string OutputFilterResponseTime string HealthCheck bool // contains filtered or unexported fields }
Options contains configuration options for httpx.
func DefaultOptions ¶ added in v1.2.5
func DefaultOptions() *Options
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line options for application
func (*Options) ShouldLoadResume ¶
ShouldLoadResume resume file
func (*Options) ShouldSaveResume ¶
ShouldSaveResume file
func (*Options) ValidateOptions ¶
type Result ¶
type Result struct { Timestamp time.Time `json:"timestamp,omitempty" csv:"timestamp"` ASN interface{} `json:"asn,omitempty" csv:"asn"` CSPData *httpx.CSPData `json:"csp,omitempty" csv:"csp"` TLSData *cryptoutil.TLSData `json:"tls-grab,omitempty" csv:"tls-grab"` Hashes map[string]string `json:"hashes,omitempty" csv:"hashes"` ExtractRegex []string `json:"extract-regex,omitempty" csv:"regex"` CDNName string `json:"cdn-name,omitempty" csv:"cdn-name"` Port string `json:"port,omitempty" csv:"port"` URL string `json:"url,omitempty" csv:"url"` Input string `json:"input,omitempty" csv:"input"` Location string `json:"location,omitempty" csv:"location"` Title string `json:"title,omitempty" csv:"title"` Scheme string `json:"scheme,omitempty" csv:"scheme"` Error string `json:"error,omitempty" csv:"error"` WebServer string `json:"webserver,omitempty" csv:"webserver"` ResponseBody string `json:"response-body,omitempty" csv:"response-body"` ContentType string `json:"content-type,omitempty" csv:"content-type"` Method string `json:"method,omitempty" csv:"method"` Host string `json:"host,omitempty" csv:"host"` Path string `json:"path,omitempty" csv:"path"` FavIconMMH3 string `json:"favicon-mmh3,omitempty" csv:"favicon-mmh3"` FinalURL string `json:"final-url,omitempty" csv:"final-url"` ResponseHeader string `json:"response-header,omitempty" csv:"response-header"` Request string `json:"request,omitempty" csv:"request"` ResponseTime string `json:"response-time,omitempty" csv:"response-time"` Jarm string `json:"jarm,omitempty" csv:"jarm"` ChainStatusCodes []int `json:"chain-status-codes,omitempty" csv:"chain-status-codes"` A []string `json:"a,omitempty" csv:"a"` CNAMEs []string `json:"cnames,omitempty" csv:"cnames"` Technologies []string `json:"technologies,omitempty" csv:"technologies"` Extracts map[string][]string `json:"extracts,omitempty" csv:"extracts"` Chain []httpx.ChainItem `json:"chain,omitempty" csv:"chain"` Words int `json:"words" csv:"words"` Lines int `json:"lines" csv:"lines"` StatusCode int `json:"status-code,omitempty" csv:"status-code"` ContentLength int `json:"content-length,omitempty" csv:"content-length"` Failed bool `json:"failed" csv:"failed"` VHost bool `json:"vhost,omitempty" csv:"vhost"` WebSocket bool `json:"websocket,omitempty" csv:"websocket"` CDN bool `json:"cdn,omitempty" csv:"cdn"` HTTP2 bool `json:"http2,omitempty" csv:"http2"` Pipeline bool `json:"pipeline,omitempty" csv:"pipeline"` // contains filtered or unexported fields }
Result of a scan
type Runner ¶
Runner is a client for running the enumeration process.
func (*Runner) GetScanOpts ¶
func (r *Runner) GetScanOpts() scanOptions
func (*Runner) Process ¶
func (r *Runner) Process(t string, wg *sizedwaitgroup.SizedWaitGroup, protocol string, scanopts *scanOptions, output chan Result)
func (*Runner) RunEnumeration ¶
func (r *Runner) RunEnumeration()
RunEnumeration on targets for httpx client
func (*Runner) SaveResumeConfig ¶
SaveResumeConfig to file
Click to show internal directories.
Click to hide internal directories.