Documentation
¶
Index ¶
- func AnalyzeResponse(ctx context.Context, request common.HttpRequestResponse, ...) bool
- func RunApplicationPathTraversal(ctx context.Context, ...) (*pentestapplicationfern.PentestApplicationPathTraversalReport, error)
- func RunPentestApplicationDast(ctx context.Context, ...) (*pentestapplicationfern.PentestApplicationDastReport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyzeResponse ¶
func AnalyzeResponse(ctx context.Context, request common.HttpRequestResponse, validCodes map[int]bool, checkBaseContentMatch bool, baselineSize, baselineWords int, baselineSizeRandomPath *int, baselineWordsRandomPath *int, threshold float64) bool
AnalyzeResponse checks if the response singifies that file was found based on the response code and the baseline size and word count
func RunApplicationPathTraversal ¶
func RunApplicationPathTraversal(ctx context.Context, config pentestapplicationfern.PentestApplicationPathTraversalConfig) (*pentestapplicationfern.PentestApplicationPathTraversalReport, error)
RunApplicationPathTraversal launches the path traversal engine with multi-threading support
func RunPentestApplicationDast ¶
func RunPentestApplicationDast(ctx context.Context, config pentestapplicationfern.PentestApplicationDastConfig) (*pentestapplicationfern.PentestApplicationDastReport, error)
RunPentestApplicationDast runs a dast pentest on the given targets.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.