Versions in this module Expand all Collapse all v1 v1.0.0 Feb 1, 2026 Changes in this version + func ExtractURLsFromText(text string) []string + type APIEndpoint struct + Context string + Method string + Parameters []string + SourceLine int + URL string + type APIInfo struct + BaseURL string + Endpoints []Endpoint + Type APIType + Version string + type APIParser struct + func NewAPIParser() *APIParser + func (p *APIParser) ParseFromResponse(url, contentType string, body []byte) *APIInfo + func (p *APIParser) ParseGraphQLSchema(schema string) *APIInfo + func (p *APIParser) ParseOpenAPISpec(spec []byte) (*APIInfo, error) + type APIType string + const APITypeGraphQL + const APITypeREST + const APITypeRPC + const APITypeSOAP + const APITypeUnknown + type AnalyzeResult struct + CSRFField string + Complexity int + Form Form + FormType FormType + HasCSRF bool + HasCaptcha bool + IsContact bool + IsLogin bool + IsPayment bool + IsSearch bool + IsSignup bool + IsUpload bool + type ButtonInfo struct + FormAction string + Name string + Text string + Type string + Value string + type Endpoint struct + ContentType string + Depth int + DiscoveredFrom string + Headers map[string]string + Method string + Parameters []Parameter + ResponseSize int64 + Source string + StatusCode int + Timestamp time.Time + URL string + type Form struct + Action string + Depth int + Enctype string + HasCSRF bool + Inputs []FormInput + Method string + Timestamp time.Time + URL string + type FormAnalyzer struct + func NewFormAnalyzer() *FormAnalyzer + func (a *FormAnalyzer) Analyze(form FormInfo, pageURL string) *AnalyzeResult + func (a *FormAnalyzer) GeneratePayload(form FormInfo) map[string]string + type FormInfo struct + Action string + Buttons []ButtonInfo + Class string + Enctype string + ID string + Inputs []InputInfo + Method string + Name string + type FormInput struct + MaxLength int + MinLength int + Name string + Pattern string + Placeholder string + Required bool + Type string + Value string + type FormType string + const FormTypeComment + const FormTypeContact + const FormTypeGeneric + const FormTypeLogin + const FormTypePayment + const FormTypeSearch + const FormTypeSettings + const FormTypeSignup + const FormTypeUpload + type FunctionInfo struct + Line int + Name string + Parameters []string + type HTMLParser struct + func NewHTMLParser(baseURL string) (*HTMLParser, error) + func (p *HTMLParser) Parse(html string) (*ParseResult, error) + type InputInfo struct + Accept string + Autocomplete string + Class string + Disabled bool + ID string + Max string + MaxLength int + Min string + MinLength int + Multiple bool + Name string + Pattern string + Placeholder string + Readonly bool + Required bool + Step string + Type string + Value string + type JSParseResult struct + APIEndpoints []APIEndpoint + Functions []FunctionInfo + Routes []Route + Secrets []PotentialSecret + URLs []string + WebSockets []string + type JSParser struct + func NewJSParser() *JSParser + func (p *JSParser) Parse(js string) *JSParseResult + type Link struct + NoFollow bool + Rel string + Target string + Text string + URL string + type Parameter struct + Example string + Name string + Required bool + Type string + type ParseResult struct + Comments []string + Forms []FormInfo + Iframes []string + Images []string + Links []Link + Meta map[string]string + Scripts []string + Stylesheets []string + type PotentialSecret struct + Context string + Line int + Type string + Value string + type Route struct + Component string + Path string