Documentation
¶
Index ¶
- Constants
- Variables
- func CheckError(e error)
- func ExportParameters(filename string, params []Parameter, format string) error
- func FinalMessage(options *opt.Options)
- func GetInput(options *opt.Options) chan string
- func GetInputEstimate(options *opt.Options) int
- func MyRegex(myRegex string, response string, indexes []int) []string
- func ParseHttpRequest(options *opt.Options) []string
- func ShowBanner(version string, inputLength int, myOptions *opt.Options)
- func Silent()
- func Speak()
- func Unique(strSlice []string) []string
- type Parameter
Constants ¶
View Source
const ( // MaxLineLength sets the maximum line length for scanner MaxLineLength = 1024 * 1024 // 1MB per line // ChannelBufferSize sets the buffered channel size ChannelBufferSize = 1000 )
Variables ¶
Functions ¶
func CheckError ¶
func CheckError(e error)
func ExportParameters ¶
ExportParameters exports parameters to a file in the specified format
func FinalMessage ¶
func GetInputEstimate ¶
GetInputEstimate returns estimated count for progress (optional)
func ParseHttpRequest ¶
Types ¶
type Parameter ¶
type Parameter struct { Name string `json:"name"` Origin string `json:"origin,omitempty"` IsSus bool `json:"is_suspicious"` SusType string `json:"suspicious_type,omitempty"` }
Parameter represents a discovered parameter with metadata
func SortParameters ¶
SortParameters sorts parameters according to the specified order
Click to show internal directories.
Click to hide internal directories.