Documentation
¶
Index ¶
- Variables
- func AnalyzeDocumentForSensitiveInfo(cfg *core.Config, ctx context.Context, url string)
- func AnalyzeInlineJavaScript(cfg *core.Config, ctx context.Context, url string, body string) (string, error)
- func AnalyzeResponseOnlyHandler(cfg *core.Config, ctx context.Context) error
- func AnalyzeResponsesWithAI(cfg *core.Config, ctx context.Context, responsesFile string, urls []string) (map[string]string, error)
- func CheckPasteSitesForLeaks(cfg *core.Config, ctx context.Context) error
- func CollectHTTPResponses(cfg *core.Config, ctx context.Context, urls []string, responsesFile string) error
- func ExtractDomainFromURL(url string) string
- func FilterDocumentAnalysisURLs(urls []string) []string
- func FilterResponseAnalysisURLs(urls []string) ([]string, []string)
- func HighlightSensitiveFindings(summary string) string
- func IsCVEHuntingIntent(prompt string) bool
- func LoadNonSensitiveKeywords() ([]string, error)
- func NormalizeRAOutput(summary string) string
- func RecordResponseFindings(cfg *core.Config, analysis map[string]string)
- func ShouldFilterDocument(docURL string, keywords []string) bool
- type Config
- type InlineCodeAnalysisStats
Constants ¶
This section is empty.
Variables ¶
DorkRun is injected by the runner to avoid importing the pipeline package here.
Functions ¶
func AnalyzeInlineJavaScript ¶
func AnalyzeResponsesWithAI ¶
func CheckPasteSitesForLeaks ¶
func CollectHTTPResponses ¶
func ExtractDomainFromURL ¶
func IsCVEHuntingIntent ¶
func LoadNonSensitiveKeywords ¶
LoadNonSensitiveKeywords loads non-sensitive document keywords from file, creating it with defaults if it doesn't exist
func NormalizeRAOutput ¶
func RecordResponseFindings ¶
func ShouldFilterDocument ¶
ShouldFilterDocument checks if a document URL contains non-sensitive keywords and should be filtered out from analysis. Returns true if document should be SKIPPED.
Types ¶
type InlineCodeAnalysisStats ¶
InlineCodeAnalysisStats holds statistics for inline code analysis
Click to show internal directories.
Click to hide internal directories.