Documentation
¶
Index ¶
- func Fuzz(input RequestFuzzOptions, taskID uint) (int, error)
- func InsertPayloadIntoRawRequest(raw string, point FuzzerInsertionPoint, payload string) string
- func LaunchUserBrowser(workspaceID uint, initialURL string)
- type FilesystemWordlistStorage
- type FuzzerInsertionPoint
- type FuzzerPayloadsGroup
- type ReplayResult
- type Request
- type RequestFuzzOptions
- type RequestOptions
- type RequestReplayOptions
- type Wordlist
- type WordlistStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertPayloadIntoRawRequest ¶
func InsertPayloadIntoRawRequest(raw string, point FuzzerInsertionPoint, payload string) string
func LaunchUserBrowser ¶
LaunchUserBrowser launches a browser in non headless mode and logs all network requests
Types ¶
type FilesystemWordlistStorage ¶
type FilesystemWordlistStorage struct {
// contains filtered or unexported fields
}
func NewFilesystemWordlistStorage ¶
func NewFilesystemWordlistStorage() *FilesystemWordlistStorage
func (*FilesystemWordlistStorage) GetWordlists ¶
func (s *FilesystemWordlistStorage) GetWordlists() ([]Wordlist, error)
type FuzzerInsertionPoint ¶
type FuzzerInsertionPoint struct { Start int `json:"start"` End int `json:"end"` OriginalValue string `json:"originalValue"` PayloadGroups []FuzzerPayloadsGroup `json:"payloadGroups"` }
type FuzzerPayloadsGroup ¶
type ReplayResult ¶
func Replay ¶
func Replay(input RequestReplayOptions) (ReplayResult, error)
type Request ¶
type Request struct { URL string `json:"url" validate:"required"` URI string `json:"uri" validate:"omitempty"` Method string `json:"method" validate:"required"` Headers map[string][]string `json:"headers" validate:"required"` Body string `json:"body" validate:"omitempty"` HTTPVersion string `json:"http_version" validate:"omitempty"` }
type RequestFuzzOptions ¶
type RequestFuzzOptions struct { URL string `json:"url" validate:"required"` Raw string `json:"raw" validate:"required"` InsertionPoints []FuzzerInsertionPoint `json:"insertion_points" validate:"required"` Session db.PlaygroundSession `json:"session" validate:"required"` Options RequestOptions `json:"options"` }
type RequestOptions ¶
type RequestOptions struct { FollowRedirects bool `json:"follow_redirects"` MaxRedirects int `json:"max_redirects" validate:"min=0"` UpdateHostHeader bool `json:"update_host_header"` UpdateContentLength bool `json:"update_content_length"` }
func (*RequestOptions) ToRawHTTPOptions ¶
func (o *RequestOptions) ToRawHTTPOptions() *rawhttp.Options
type RequestReplayOptions ¶
type RequestReplayOptions struct { Request Request `json:"request" validate:"required"` Session db.PlaygroundSession `json:"session" validate:"required"` Options RequestOptions `json:"options"` }
type WordlistStorage ¶
Click to show internal directories.
Click to hide internal directories.