Versions in this module Expand all Collapse all v0 v0.0.2 May 22, 2023 Changes in this version + const DefaultOutputDirectory + const DefaultResumeFile + func DoHealthCheck(options *Options, flagSet *goflags.FlagSet) string + func GetUpdateCallback() func() + func MustDisableSandbox() bool + func ResultToMap(resp Result) (map[string]any, error) + type AsnResponse struct + AsCountry string + AsName string + AsNumber string + AsRange []string + func (o AsnResponse) String() string + type Browser struct + func NewBrowser(proxy string, useLocal bool) (*Browser, error) + func (b *Browser) Close() + func (b *Browser) ScreenshotWithBody(url string, timeout time.Duration) ([]byte, string, error) + type FilterOperator struct + func (f FilterOperator) Parse(flagValue string) (string, time.Duration, error) + type OnResultCallback func(Result) + type Options struct + Allow customlist.CustomList + Asn bool + CSPProbe bool + CSVOutput bool + CSVOutputEncoding string + ContentLength bool + CustomHeaders customheader.CustomHeaders + CustomPorts customport.CustomPorts + Debug bool + DebugRequests bool + DebugResponse bool + Delay time.Duration + Deny customlist.CustomList + DisableUpdateCheck bool + ExcludeCDN bool + ExtractTitle bool + Favicon bool + FollowHostRedirects bool + FollowRedirects bool + HTTP2Probe bool + HTTPProxy string + Hashes string + HealthCheck bool + HostMaxErrors int + InputFile string + InputRawRequest string + InputTargetHost goflags.StringSlice + JSONOutput bool + Jarm bool + LeaveDefaultPorts bool + ListDSLVariable bool + Location bool + MaxRedirects int + MaxResponseBodySizeToRead int + MaxResponseBodySizeToSave int + Memprofile string + Methods string + NoColor bool + NoDecode bool + NoFallback bool + NoFallbackScheme bool + OnResult OnResultCallback + Output string + OutputCDN bool + OutputCName bool + OutputContentType bool + OutputExtractPresets goflags.StringSlice + OutputExtractRegexs goflags.StringSlice + OutputFilterCdn goflags.StringSlice + OutputFilterCondition string + OutputFilterContentLength string + OutputFilterFavicon goflags.StringSlice + OutputFilterLinesCount string + OutputFilterRegex string + OutputFilterResponseTime string + OutputFilterStatusCode string + OutputFilterString string + OutputFilterWordsCount string + OutputIP bool + OutputLinesCount bool + OutputMatchCdn goflags.StringSlice + OutputMatchCondition string + OutputMatchContentLength string + OutputMatchFavicon goflags.StringSlice + OutputMatchLinesCount string + OutputMatchRegex string + OutputMatchResponseTime string + OutputMatchStatusCode string + OutputMatchString string + OutputMatchWordsCount string + OutputMethod bool + OutputResponseTime bool + OutputServerHeader bool + OutputWebSocket bool + OutputWordsCount bool + Pipeline bool + Probe bool + ProbeAllIPS bool + RandomAgent bool + RateLimit int + RateLimitMinute int + RequestBody string + RequestURI string + RequestURIs string + Resolvers goflags.StringSlice + Resume bool + Retries int + Screenshot bool + ShowStatistics bool + Silent bool + SkipDedupe bool + Smuggling bool + SniName string + SocksProxy string + StatsInterval int + StatusCode bool + StoreChain bool + StoreResponse bool + StoreResponseDir string + Stream bool + TLSGrab bool + TLSProbe bool + TechDetect bool + Threads int + Timeout int + Unsafe bool + UseInstalledChrome bool + VHost bool + VHostInput bool + Verbose bool + Version bool + ZTLS bool + func ParseOptions() *Options + func (options *Options) ShouldLoadResume() bool + func (options *Options) ShouldSaveResume() bool + func (options *Options) ValidateOptions() error + type Result struct + A []string + ASN *AsnResponse + CDN bool + CDNName string + CNAMEs []string + CSPData *httpx.CSPData + Chain []httpx.ChainItem + ChainStatusCodes []int + ContentLength int + ContentType string + Err error + Error string + ExtractRegex []string + Extracts map[string][]string + Failed bool + FavIconMMH3 string + FaviconPath string + FinalURL string + HTTP2 bool + Hashes map[string]interface{} + HeadlessBody string + Host string + Input string + Jarm string + Lines int + Location string + Method string + Path string + Pipeline bool + Port string + Raw string + RawHeader string + Request string + ResponseBody string + ResponseHeader map[string]interface{} + ResponseTime string + Scheme string + ScreenshotBytes []byte + ScreenshotPath string + StatusCode int + StoredResponsePath string + TLSData *clients.Response + Technologies []string + Timestamp time.Time + Title string + URL string + VHost bool + WebServer string + WebSocket bool + Words int + func (r Result) CSVHeader() string + func (r Result) CSVRow(scanopts *ScanOptions) string + func (r Result) JSON(scanopts *ScanOptions) string + type ResumeCfg struct + Index int + ResumeFrom string + type Runner struct + HostErrorsCache gcache.Cache[string, int] + func New(options *Options) (*Runner, error) + func (r *Runner) Close() + func (r *Runner) GetScanOpts() ScanOptions + func (r *Runner) Process(t string, wg *sizedwaitgroup.SizedWaitGroup, protocol string, ...) + func (r *Runner) RunEnumeration() + func (r *Runner) SaveResumeConfig() error + type ScanOptions struct + Base64ResponseInStdout bool + CSPProbe bool + ChainInStdout bool + ExcludeCDN bool + Favicon bool + HTTP2Probe bool + Hashes string + HostMaxErrors int + LeaveDefaultPorts bool + MaxResponseBodySizeToRead int + MaxResponseBodySizeToSave int + Methods []string + NoFallback bool + NoFallbackScheme bool + OutputCDN bool + OutputCName bool + OutputContentLength bool + OutputContentType bool + OutputExtractRegex string + OutputIP bool + OutputLinesCount bool + OutputLocation bool + OutputMethod bool + OutputResponseTime bool + OutputServerHeader bool + OutputStatusCode bool + OutputTitle bool + OutputWebSocket bool + OutputWithNoColor bool + OutputWordsCount bool + Pipeline bool + PreferHTTPS bool + ProbeAllIPS bool + RequestBody string + RequestURI string + ResponseInStdout bool + Screenshot bool + StoreChain bool + StoreResponse bool + StoreResponseDirectory string + TLSProbe bool + TechDetect bool + Unsafe bool + UseInstalledChrome bool + VHost bool + VHostInput bool + func (s *ScanOptions) Clone() *ScanOptions