Documentation
¶
Index ¶
- func Bool(b bool) *bool
- func Byte(b byte) *byte
- func Complex128(c complex128) *complex128
- func Complex64(c complex64) *complex64
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int16(i int16) *int16
- func Int32(i int32) *int32
- func Int64(i int64) *int64
- func Int8(i int8) *int8
- func MustParseDate(date string) time.Time
- func MustParseDateTime(datetime string) time.Time
- func Rune(r rune) *rune
- func String(s string) *string
- func Time(t time.Time) *time.Time
- func UUID(u uuid.UUID) *uuid.UUID
- func Uint(u uint) *uint
- func Uint16(u uint16) *uint16
- func Uint32(u uint32) *uint32
- func Uint64(u uint64) *uint64
- func Uint8(u uint8) *uint8
- func Uintptr(u uintptr) *uintptr
- type AttemptInfo
- func (a *AttemptInfo) GetExtraProperties() map[string]interface{}
- func (a *AttemptInfo) GetFinding() *bool
- func (a *AttemptInfo) GetRequest() *RequestInfo
- func (a *AttemptInfo) GetTimeReceived() *time.Time
- func (a *AttemptInfo) GetTimeSent() time.Time
- func (a *AttemptInfo) MarshalJSON() ([]byte, error)
- func (a *AttemptInfo) String() string
- func (a *AttemptInfo) UnmarshalJSON(data []byte) error
- type BodyEvent
- type BodyXmlRpcFunctionAuthConfig
- func (b *BodyXmlRpcFunctionAuthConfig) GetExtraProperties() map[string]interface{}
- func (b *BodyXmlRpcFunctionAuthConfig) GetRetries() int
- func (b *BodyXmlRpcFunctionAuthConfig) GetSleep() int
- func (b *BodyXmlRpcFunctionAuthConfig) GetTargets() []string
- func (b *BodyXmlRpcFunctionAuthConfig) GetTimeout() int
- func (b *BodyXmlRpcFunctionAuthConfig) String() string
- func (b *BodyXmlRpcFunctionAuthConfig) UnmarshalJSON(data []byte) error
- type EngineConfig
- func NewEngineConfigFromHeaderMisconfigurationEngineConfig(value *HeaderMisconfigurationEngineConfig) *EngineConfig
- func NewEngineConfigFromInjectionEngineConfig(value *InjectionEngineConfig) *EngineConfig
- func NewEngineConfigFromPathTraversalEngineConfig(value *PathTraversalEngineConfig) *EngineConfig
- func (e *EngineConfig) Accept(visitor EngineConfigVisitor) error
- func (e *EngineConfig) GetHeaderMisconfigurationEngineConfig() *HeaderMisconfigurationEngineConfig
- func (e *EngineConfig) GetInjectionEngineConfig() *InjectionEngineConfig
- func (e *EngineConfig) GetPathTraversalEngineConfig() *PathTraversalEngineConfig
- func (e *EngineConfig) GetType() string
- func (e EngineConfig) MarshalJSON() ([]byte, error)
- func (e *EngineConfig) UnmarshalJSON(data []byte) error
- type EngineConfigVisitor
- type EventType
- func NewEventTypeFromBodyEvent(value BodyEvent) *EventType
- func NewEventTypeFromHeaderEvent(value HeaderEvent) *EventType
- func NewEventTypeFromMultiEvent(value MultiEvent) *EventType
- func NewEventTypeFromPathEvent(value PathEvent) *EventType
- func NewEventTypeFromQueryEvent(value QueryEvent) *EventType
- func (e *EventType) Accept(visitor EventTypeVisitor) error
- func (e *EventType) GetBodyEvent() BodyEvent
- func (e *EventType) GetHeaderEvent() HeaderEvent
- func (e *EventType) GetMultiEvent() MultiEvent
- func (e *EventType) GetPathEvent() PathEvent
- func (e *EventType) GetQueryEvent() QueryEvent
- func (e *EventType) GetType() string
- func (e EventType) MarshalJSON() ([]byte, error)
- func (e *EventType) UnmarshalJSON(data []byte) error
- type EventTypeVisitor
- type FileParam
- type FileParamOption
- type HeaderBufferOverflowConfig
- func (h *HeaderBufferOverflowConfig) GetBodySize() int
- func (h *HeaderBufferOverflowConfig) GetExtraProperties() map[string]interface{}
- func (h *HeaderBufferOverflowConfig) GetRetries() int
- func (h *HeaderBufferOverflowConfig) GetSleep() int
- func (h *HeaderBufferOverflowConfig) GetTargets() []string
- func (h *HeaderBufferOverflowConfig) GetTimeout() int
- func (h *HeaderBufferOverflowConfig) String() string
- func (h *HeaderBufferOverflowConfig) UnmarshalJSON(data []byte) error
- type HeaderEvent
- type HeaderMisconfigurationConfig
- func (h *HeaderMisconfigurationConfig) GetExtraProperties() map[string]interface{}
- func (h *HeaderMisconfigurationConfig) GetHeaderEvent() HeaderEvent
- func (h *HeaderMisconfigurationConfig) GetRetries() int
- func (h *HeaderMisconfigurationConfig) GetSleep() int
- func (h *HeaderMisconfigurationConfig) GetTargets() []string
- func (h *HeaderMisconfigurationConfig) GetTimeout() int
- func (h *HeaderMisconfigurationConfig) String() string
- func (h *HeaderMisconfigurationConfig) UnmarshalJSON(data []byte) error
- type HeaderMisconfigurationEngineConfig
- func (h *HeaderMisconfigurationEngineConfig) GetEventType() *EventType
- func (h *HeaderMisconfigurationEngineConfig) GetExtraProperties() map[string]interface{}
- func (h *HeaderMisconfigurationEngineConfig) GetFollowRedirects() bool
- func (h *HeaderMisconfigurationEngineConfig) GetMethod() HttpMethod
- func (h *HeaderMisconfigurationEngineConfig) GetPayloads() [][]map[string]string
- func (h *HeaderMisconfigurationEngineConfig) GetRetries() int
- func (h *HeaderMisconfigurationEngineConfig) GetSleep() int
- func (h *HeaderMisconfigurationEngineConfig) GetTargets() []string
- func (h *HeaderMisconfigurationEngineConfig) GetTimeout() int
- func (h *HeaderMisconfigurationEngineConfig) String() string
- func (h *HeaderMisconfigurationEngineConfig) UnmarshalJSON(data []byte) error
- type HeaderOptionsBleedConfig
- func (h *HeaderOptionsBleedConfig) GetExtraProperties() map[string]interface{}
- func (h *HeaderOptionsBleedConfig) GetRetries() int
- func (h *HeaderOptionsBleedConfig) GetSleep() int
- func (h *HeaderOptionsBleedConfig) GetTargets() []string
- func (h *HeaderOptionsBleedConfig) GetTimeout() int
- func (h *HeaderOptionsBleedConfig) String() string
- func (h *HeaderOptionsBleedConfig) UnmarshalJSON(data []byte) error
- type HeaderServerOverloadConfig
- func (h *HeaderServerOverloadConfig) GetExtraProperties() map[string]interface{}
- func (h *HeaderServerOverloadConfig) GetHeaderNames() []string
- func (h *HeaderServerOverloadConfig) GetPayloadSize() int
- func (h *HeaderServerOverloadConfig) GetRetries() int
- func (h *HeaderServerOverloadConfig) GetSleep() int
- func (h *HeaderServerOverloadConfig) GetTargets() []string
- func (h *HeaderServerOverloadConfig) GetTimeout() int
- func (h *HeaderServerOverloadConfig) String() string
- func (h *HeaderServerOverloadConfig) UnmarshalJSON(data []byte) error
- type HeaderUserAgentConfig
- func (h *HeaderUserAgentConfig) GetAgentHeader() string
- func (h *HeaderUserAgentConfig) GetExtraProperties() map[string]interface{}
- func (h *HeaderUserAgentConfig) GetRetries() int
- func (h *HeaderUserAgentConfig) GetSleep() int
- func (h *HeaderUserAgentConfig) GetTargets() []string
- func (h *HeaderUserAgentConfig) GetTimeout() int
- func (h *HeaderUserAgentConfig) String() string
- func (h *HeaderUserAgentConfig) UnmarshalJSON(data []byte) error
- type HttpMethod
- type InjectionEngineConfig
- func (i *InjectionEngineConfig) GetBaselinePayload() map[string]string
- func (i *InjectionEngineConfig) GetEventType() *EventType
- func (i *InjectionEngineConfig) GetExtraProperties() map[string]interface{}
- func (i *InjectionEngineConfig) GetFollowRedirects() bool
- func (i *InjectionEngineConfig) GetInjectedPayloads() []map[string]string
- func (i *InjectionEngineConfig) GetInjectionLocation() InjectionLocation
- func (i *InjectionEngineConfig) GetMethod() HttpMethod
- func (i *InjectionEngineConfig) GetPaths() []string
- func (i *InjectionEngineConfig) GetRetries() int
- func (i *InjectionEngineConfig) GetSleep() int
- func (i *InjectionEngineConfig) GetTargets() []string
- func (i *InjectionEngineConfig) GetTimeout() int
- func (i *InjectionEngineConfig) String() string
- func (i *InjectionEngineConfig) UnmarshalJSON(data []byte) error
- type InjectionLocation
- type MultiEvent
- type MultiInjectionConfig
- func (m *MultiInjectionConfig) GetEventType() MultiEvent
- func (m *MultiInjectionConfig) GetExtraProperties() map[string]interface{}
- func (m *MultiInjectionConfig) GetInjectionLocation() InjectionLocation
- func (m *MultiInjectionConfig) GetMethod() HttpMethod
- func (m *MultiInjectionConfig) GetRetries() int
- func (m *MultiInjectionConfig) GetSleep() int
- func (m *MultiInjectionConfig) GetTargets() []string
- func (m *MultiInjectionConfig) GetTimeout() int
- func (m *MultiInjectionConfig) GetVariableData() map[string]string
- func (m *MultiInjectionConfig) String() string
- func (m *MultiInjectionConfig) UnmarshalJSON(data []byte) error
- type PathCrlfConfig
- func (p *PathCrlfConfig) GetExtraProperties() map[string]interface{}
- func (p *PathCrlfConfig) GetHeaderName() string
- func (p *PathCrlfConfig) GetHeaderValue() string
- func (p *PathCrlfConfig) GetRetries() int
- func (p *PathCrlfConfig) GetSleep() int
- func (p *PathCrlfConfig) GetTargets() []string
- func (p *PathCrlfConfig) GetTimeout() int
- func (p *PathCrlfConfig) String() string
- func (p *PathCrlfConfig) UnmarshalJSON(data []byte) error
- type PathEvent
- type PathModFileConfig
- func (p *PathModFileConfig) GetExtraProperties() map[string]interface{}
- func (p *PathModFileConfig) GetRetries() int
- func (p *PathModFileConfig) GetSleep() int
- func (p *PathModFileConfig) GetTargets() []string
- func (p *PathModFileConfig) GetTimeout() int
- func (p *PathModFileConfig) String() string
- func (p *PathModFileConfig) UnmarshalJSON(data []byte) error
- type PathTraversalConfig
- func (p *PathTraversalConfig) GetExtraProperties() map[string]interface{}
- func (p *PathTraversalConfig) GetIgnoreBaseContent() bool
- func (p *PathTraversalConfig) GetMaxRunTime() *int
- func (p *PathTraversalConfig) GetPathLists() []string
- func (p *PathTraversalConfig) GetPaths() []string
- func (p *PathTraversalConfig) GetQueryParam() *string
- func (p *PathTraversalConfig) GetResponseCodes() string
- func (p *PathTraversalConfig) GetRetries() int
- func (p *PathTraversalConfig) GetSleep() int
- func (p *PathTraversalConfig) GetSuccessfulOnly() bool
- func (p *PathTraversalConfig) GetTargets() []string
- func (p *PathTraversalConfig) GetThreshold() float64
- func (p *PathTraversalConfig) GetTimeout() int
- func (p *PathTraversalConfig) String() string
- func (p *PathTraversalConfig) UnmarshalJSON(data []byte) error
- type PathTraversalEngineConfig
- func (p *PathTraversalEngineConfig) GetExtraProperties() map[string]interface{}
- func (p *PathTraversalEngineConfig) GetIgnoreBaseContent() bool
- func (p *PathTraversalEngineConfig) GetMaxRunTime() *int
- func (p *PathTraversalEngineConfig) GetPathFiles() []string
- func (p *PathTraversalEngineConfig) GetPaths() []string
- func (p *PathTraversalEngineConfig) GetQueryParam() *string
- func (p *PathTraversalEngineConfig) GetResponseCodes() string
- func (p *PathTraversalEngineConfig) GetRetries() int
- func (p *PathTraversalEngineConfig) GetSleep() int
- func (p *PathTraversalEngineConfig) GetSuccessfulOnly() bool
- func (p *PathTraversalEngineConfig) GetTargets() []string
- func (p *PathTraversalEngineConfig) GetThreshold() *float64
- func (p *PathTraversalEngineConfig) GetTimeout() int
- func (p *PathTraversalEngineConfig) String() string
- func (p *PathTraversalEngineConfig) UnmarshalJSON(data []byte) error
- type QueryEvent
- type QueryReverseProxyConfig
- func (q *QueryReverseProxyConfig) GetExtraProperties() map[string]interface{}
- func (q *QueryReverseProxyConfig) GetRedirectAddress() string
- func (q *QueryReverseProxyConfig) GetRetries() int
- func (q *QueryReverseProxyConfig) GetSleep() int
- func (q *QueryReverseProxyConfig) GetTargets() []string
- func (q *QueryReverseProxyConfig) GetTimeout() int
- func (q *QueryReverseProxyConfig) String() string
- func (q *QueryReverseProxyConfig) UnmarshalJSON(data []byte) error
- type Report
- type RequestInfo
- func (r *RequestInfo) GetBaseUrl() string
- func (r *RequestInfo) GetBodyParams() *string
- func (r *RequestInfo) GetErrors() []string
- func (r *RequestInfo) GetEventType() []*EventType
- func (r *RequestInfo) GetExtraProperties() map[string]interface{}
- func (r *RequestInfo) GetFormParams() map[string]string
- func (r *RequestInfo) GetHeaderParams() map[string]string
- func (r *RequestInfo) GetMethod() HttpMethod
- func (r *RequestInfo) GetMultipartParams() map[string]string
- func (r *RequestInfo) GetPath() string
- func (r *RequestInfo) GetPathParams() map[string]string
- func (r *RequestInfo) GetQueryParams() map[string]string
- func (r *RequestInfo) GetResponseBody() *string
- func (r *RequestInfo) GetResponseBodyEncoded() *string
- func (r *RequestInfo) GetResponseHeaders() map[string]string
- func (r *RequestInfo) GetStatusCode() *int
- func (r *RequestInfo) String() string
- func (r *RequestInfo) UnmarshalJSON(data []byte) error
- type RequestParams
- func (r *RequestParams) GetBodyParams() string
- func (r *RequestParams) GetExtraProperties() map[string]interface{}
- func (r *RequestParams) GetFormParams() map[string]string
- func (r *RequestParams) GetHeaderParams() map[string]string
- func (r *RequestParams) GetMultipartParams() map[string]string
- func (r *RequestParams) GetPathParams() map[string]string
- func (r *RequestParams) GetQueryParams() map[string]string
- func (r *RequestParams) String() string
- func (r *RequestParams) UnmarshalJSON(data []byte) error
- type TargetInfo
- func (t *TargetInfo) GetAttempts() []*AttemptInfo
- func (t *TargetInfo) GetBaselineAttempt() *AttemptInfo
- func (t *TargetInfo) GetEndTimestamp() time.Time
- func (t *TargetInfo) GetExtraProperties() map[string]interface{}
- func (t *TargetInfo) GetRequestCount() int
- func (t *TargetInfo) GetStartTimestamp() time.Time
- func (t *TargetInfo) GetTarget() string
- func (t *TargetInfo) MarshalJSON() ([]byte, error)
- func (t *TargetInfo) String() string
- func (t *TargetInfo) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(c complex128) *complex128
Complex128 returns a pointer to the given complex128 value.
func MustParseDate ¶
MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.
func MustParseDateTime ¶
MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.
Types ¶
type AttemptInfo ¶
type AttemptInfo struct { Request *RequestInfo `json:"request,omitempty" url:"request,omitempty"` TimeSent time.Time `json:"timeSent" url:"timeSent"` TimeReceived *time.Time `json:"timeReceived,omitempty" url:"timeReceived,omitempty"` Finding *bool `json:"finding,omitempty" url:"finding,omitempty"` // contains filtered or unexported fields }
func (*AttemptInfo) GetExtraProperties ¶
func (a *AttemptInfo) GetExtraProperties() map[string]interface{}
func (*AttemptInfo) GetFinding ¶ added in v0.0.17
func (a *AttemptInfo) GetFinding() *bool
func (*AttemptInfo) GetRequest ¶ added in v0.0.17
func (a *AttemptInfo) GetRequest() *RequestInfo
func (*AttemptInfo) GetTimeReceived ¶ added in v0.0.17
func (a *AttemptInfo) GetTimeReceived() *time.Time
func (*AttemptInfo) GetTimeSent ¶ added in v0.0.17
func (a *AttemptInfo) GetTimeSent() time.Time
func (*AttemptInfo) MarshalJSON ¶
func (a *AttemptInfo) MarshalJSON() ([]byte, error)
func (*AttemptInfo) String ¶
func (a *AttemptInfo) String() string
func (*AttemptInfo) UnmarshalJSON ¶
func (a *AttemptInfo) UnmarshalJSON(data []byte) error
type BodyEvent ¶ added in v0.0.13
type BodyEvent string
const (
BodyEventXmlrpcfunctionauth BodyEvent = "XMLRPCFUNCTIONAUTH"
)
func NewBodyEventFromString ¶ added in v0.0.13
type BodyXmlRpcFunctionAuthConfig ¶ added in v0.0.13
type BodyXmlRpcFunctionAuthConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*BodyXmlRpcFunctionAuthConfig) GetExtraProperties ¶ added in v0.0.13
func (b *BodyXmlRpcFunctionAuthConfig) GetExtraProperties() map[string]interface{}
func (*BodyXmlRpcFunctionAuthConfig) GetRetries ¶ added in v0.0.17
func (b *BodyXmlRpcFunctionAuthConfig) GetRetries() int
func (*BodyXmlRpcFunctionAuthConfig) GetSleep ¶ added in v0.0.17
func (b *BodyXmlRpcFunctionAuthConfig) GetSleep() int
func (*BodyXmlRpcFunctionAuthConfig) GetTargets ¶ added in v0.0.17
func (b *BodyXmlRpcFunctionAuthConfig) GetTargets() []string
func (*BodyXmlRpcFunctionAuthConfig) GetTimeout ¶ added in v0.0.17
func (b *BodyXmlRpcFunctionAuthConfig) GetTimeout() int
func (*BodyXmlRpcFunctionAuthConfig) String ¶ added in v0.0.13
func (b *BodyXmlRpcFunctionAuthConfig) String() string
func (*BodyXmlRpcFunctionAuthConfig) UnmarshalJSON ¶ added in v0.0.13
func (b *BodyXmlRpcFunctionAuthConfig) UnmarshalJSON(data []byte) error
type EngineConfig ¶
type EngineConfig struct { Type string InjectionEngineConfig *InjectionEngineConfig HeaderMisconfigurationEngineConfig *HeaderMisconfigurationEngineConfig PathTraversalEngineConfig *PathTraversalEngineConfig }
func NewEngineConfigFromHeaderMisconfigurationEngineConfig ¶
func NewEngineConfigFromHeaderMisconfigurationEngineConfig(value *HeaderMisconfigurationEngineConfig) *EngineConfig
func NewEngineConfigFromInjectionEngineConfig ¶
func NewEngineConfigFromInjectionEngineConfig(value *InjectionEngineConfig) *EngineConfig
func NewEngineConfigFromPathTraversalEngineConfig ¶
func NewEngineConfigFromPathTraversalEngineConfig(value *PathTraversalEngineConfig) *EngineConfig
func (*EngineConfig) Accept ¶
func (e *EngineConfig) Accept(visitor EngineConfigVisitor) error
func (*EngineConfig) GetHeaderMisconfigurationEngineConfig ¶ added in v0.0.17
func (e *EngineConfig) GetHeaderMisconfigurationEngineConfig() *HeaderMisconfigurationEngineConfig
func (*EngineConfig) GetInjectionEngineConfig ¶ added in v0.0.17
func (e *EngineConfig) GetInjectionEngineConfig() *InjectionEngineConfig
func (*EngineConfig) GetPathTraversalEngineConfig ¶ added in v0.0.17
func (e *EngineConfig) GetPathTraversalEngineConfig() *PathTraversalEngineConfig
func (*EngineConfig) GetType ¶ added in v0.0.17
func (e *EngineConfig) GetType() string
func (EngineConfig) MarshalJSON ¶
func (e EngineConfig) MarshalJSON() ([]byte, error)
func (*EngineConfig) UnmarshalJSON ¶
func (e *EngineConfig) UnmarshalJSON(data []byte) error
type EngineConfigVisitor ¶
type EngineConfigVisitor interface { VisitInjectionEngineConfig(*InjectionEngineConfig) error VisitHeaderMisconfigurationEngineConfig(*HeaderMisconfigurationEngineConfig) error VisitPathTraversalEngineConfig(*PathTraversalEngineConfig) error }
type EventType ¶
type EventType struct { Type string HeaderEvent HeaderEvent PathEvent PathEvent QueryEvent QueryEvent MultiEvent MultiEvent BodyEvent BodyEvent }
func NewEventTypeFromBodyEvent ¶ added in v0.0.13
func NewEventTypeFromHeaderEvent ¶
func NewEventTypeFromHeaderEvent(value HeaderEvent) *EventType
func NewEventTypeFromMultiEvent ¶
func NewEventTypeFromMultiEvent(value MultiEvent) *EventType
func NewEventTypeFromQueryEvent ¶
func NewEventTypeFromQueryEvent(value QueryEvent) *EventType
func (*EventType) Accept ¶
func (e *EventType) Accept(visitor EventTypeVisitor) error
func (*EventType) GetBodyEvent ¶ added in v0.0.17
func (*EventType) GetHeaderEvent ¶ added in v0.0.17
func (e *EventType) GetHeaderEvent() HeaderEvent
func (*EventType) GetMultiEvent ¶ added in v0.0.17
func (e *EventType) GetMultiEvent() MultiEvent
func (*EventType) GetPathEvent ¶ added in v0.0.17
func (*EventType) GetQueryEvent ¶ added in v0.0.17
func (e *EventType) GetQueryEvent() QueryEvent
func (EventType) MarshalJSON ¶
func (*EventType) UnmarshalJSON ¶
type EventTypeVisitor ¶
type EventTypeVisitor interface { VisitHeaderEvent(HeaderEvent) error VisitPathEvent(PathEvent) error VisitQueryEvent(QueryEvent) error VisitMultiEvent(MultiEvent) error VisitBodyEvent(BodyEvent) error }
type FileParam ¶ added in v0.0.17
FileParam is a file type suitable for multipart/form-data uploads.
func NewFileParam ¶ added in v0.0.17
func NewFileParam( reader io.Reader, filename string, contentType string, opts ...FileParamOption, ) *FileParam
NewFileParam returns a *FileParam type suitable for multipart/form-data uploads. All file upload endpoints accept a simple io.Reader, which is usually created by opening a file via os.Open.
However, some endpoints require additional metadata about the file such as a specific Content-Type or custom filename. FileParam makes it easier to create the correct type signature for these endpoints.
func (*FileParam) ContentType ¶ added in v0.0.17
type FileParamOption ¶ added in v0.0.17
type FileParamOption interface {
// contains filtered or unexported methods
}
FileParamOption adapts the behavior of the FileParam. No options are implemented yet, but this interface allows for future extensibility.
type HeaderBufferOverflowConfig ¶
type HeaderBufferOverflowConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` BodySize int `json:"bodySize" url:"bodySize"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*HeaderBufferOverflowConfig) GetBodySize ¶ added in v0.0.17
func (h *HeaderBufferOverflowConfig) GetBodySize() int
func (*HeaderBufferOverflowConfig) GetExtraProperties ¶
func (h *HeaderBufferOverflowConfig) GetExtraProperties() map[string]interface{}
func (*HeaderBufferOverflowConfig) GetRetries ¶ added in v0.0.17
func (h *HeaderBufferOverflowConfig) GetRetries() int
func (*HeaderBufferOverflowConfig) GetSleep ¶ added in v0.0.17
func (h *HeaderBufferOverflowConfig) GetSleep() int
func (*HeaderBufferOverflowConfig) GetTargets ¶ added in v0.0.17
func (h *HeaderBufferOverflowConfig) GetTargets() []string
func (*HeaderBufferOverflowConfig) GetTimeout ¶ added in v0.0.17
func (h *HeaderBufferOverflowConfig) GetTimeout() int
func (*HeaderBufferOverflowConfig) String ¶
func (h *HeaderBufferOverflowConfig) String() string
func (*HeaderBufferOverflowConfig) UnmarshalJSON ¶
func (h *HeaderBufferOverflowConfig) UnmarshalJSON(data []byte) error
type HeaderEvent ¶
type HeaderEvent string
const ( HeaderEventCors HeaderEvent = "CORS" HeaderEventEscape HeaderEvent = "ESCAPE" HeaderEventHttp HeaderEvent = "HTTP" HeaderEventSensitiveexposed HeaderEvent = "SENSITIVEEXPOSED" HeaderEventServeroverload HeaderEvent = "SERVEROVERLOAD" HeaderEventUseragent HeaderEvent = "USERAGENT" HeaderEventOptionsbleed HeaderEvent = "OPTIONSBLEED" )
func NewHeaderEventFromString ¶
func NewHeaderEventFromString(s string) (HeaderEvent, error)
func (HeaderEvent) Ptr ¶
func (h HeaderEvent) Ptr() *HeaderEvent
type HeaderMisconfigurationConfig ¶
type HeaderMisconfigurationConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` HeaderEvent HeaderEvent `json:"headerEvent" url:"headerEvent"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*HeaderMisconfigurationConfig) GetExtraProperties ¶
func (h *HeaderMisconfigurationConfig) GetExtraProperties() map[string]interface{}
func (*HeaderMisconfigurationConfig) GetHeaderEvent ¶ added in v0.0.17
func (h *HeaderMisconfigurationConfig) GetHeaderEvent() HeaderEvent
func (*HeaderMisconfigurationConfig) GetRetries ¶ added in v0.0.17
func (h *HeaderMisconfigurationConfig) GetRetries() int
func (*HeaderMisconfigurationConfig) GetSleep ¶ added in v0.0.17
func (h *HeaderMisconfigurationConfig) GetSleep() int
func (*HeaderMisconfigurationConfig) GetTargets ¶ added in v0.0.17
func (h *HeaderMisconfigurationConfig) GetTargets() []string
func (*HeaderMisconfigurationConfig) GetTimeout ¶ added in v0.0.17
func (h *HeaderMisconfigurationConfig) GetTimeout() int
func (*HeaderMisconfigurationConfig) String ¶
func (h *HeaderMisconfigurationConfig) String() string
func (*HeaderMisconfigurationConfig) UnmarshalJSON ¶
func (h *HeaderMisconfigurationConfig) UnmarshalJSON(data []byte) error
type HeaderMisconfigurationEngineConfig ¶
type HeaderMisconfigurationEngineConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Method HttpMethod `json:"method" url:"method"` Payloads [][]map[string]string `json:"payloads,omitempty" url:"payloads,omitempty"` EventType *EventType `json:"eventType,omitempty" url:"eventType,omitempty"` FollowRedirects bool `json:"followRedirects" url:"followRedirects"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*HeaderMisconfigurationEngineConfig) GetEventType ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetEventType() *EventType
func (*HeaderMisconfigurationEngineConfig) GetExtraProperties ¶
func (h *HeaderMisconfigurationEngineConfig) GetExtraProperties() map[string]interface{}
func (*HeaderMisconfigurationEngineConfig) GetFollowRedirects ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetFollowRedirects() bool
func (*HeaderMisconfigurationEngineConfig) GetMethod ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetMethod() HttpMethod
func (*HeaderMisconfigurationEngineConfig) GetPayloads ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetPayloads() [][]map[string]string
func (*HeaderMisconfigurationEngineConfig) GetRetries ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetRetries() int
func (*HeaderMisconfigurationEngineConfig) GetSleep ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetSleep() int
func (*HeaderMisconfigurationEngineConfig) GetTargets ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetTargets() []string
func (*HeaderMisconfigurationEngineConfig) GetTimeout ¶ added in v0.0.17
func (h *HeaderMisconfigurationEngineConfig) GetTimeout() int
func (*HeaderMisconfigurationEngineConfig) String ¶
func (h *HeaderMisconfigurationEngineConfig) String() string
func (*HeaderMisconfigurationEngineConfig) UnmarshalJSON ¶
func (h *HeaderMisconfigurationEngineConfig) UnmarshalJSON(data []byte) error
type HeaderOptionsBleedConfig ¶ added in v0.0.14
type HeaderOptionsBleedConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*HeaderOptionsBleedConfig) GetExtraProperties ¶ added in v0.0.14
func (h *HeaderOptionsBleedConfig) GetExtraProperties() map[string]interface{}
func (*HeaderOptionsBleedConfig) GetRetries ¶ added in v0.0.17
func (h *HeaderOptionsBleedConfig) GetRetries() int
func (*HeaderOptionsBleedConfig) GetSleep ¶ added in v0.0.17
func (h *HeaderOptionsBleedConfig) GetSleep() int
func (*HeaderOptionsBleedConfig) GetTargets ¶ added in v0.0.17
func (h *HeaderOptionsBleedConfig) GetTargets() []string
func (*HeaderOptionsBleedConfig) GetTimeout ¶ added in v0.0.17
func (h *HeaderOptionsBleedConfig) GetTimeout() int
func (*HeaderOptionsBleedConfig) String ¶ added in v0.0.14
func (h *HeaderOptionsBleedConfig) String() string
func (*HeaderOptionsBleedConfig) UnmarshalJSON ¶ added in v0.0.14
func (h *HeaderOptionsBleedConfig) UnmarshalJSON(data []byte) error
type HeaderServerOverloadConfig ¶
type HeaderServerOverloadConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` HeaderNames []string `json:"headerNames,omitempty" url:"headerNames,omitempty"` PayloadSize int `json:"payloadSize" url:"payloadSize"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*HeaderServerOverloadConfig) GetExtraProperties ¶
func (h *HeaderServerOverloadConfig) GetExtraProperties() map[string]interface{}
func (*HeaderServerOverloadConfig) GetHeaderNames ¶ added in v0.0.17
func (h *HeaderServerOverloadConfig) GetHeaderNames() []string
func (*HeaderServerOverloadConfig) GetPayloadSize ¶ added in v0.0.17
func (h *HeaderServerOverloadConfig) GetPayloadSize() int
func (*HeaderServerOverloadConfig) GetRetries ¶ added in v0.0.17
func (h *HeaderServerOverloadConfig) GetRetries() int
func (*HeaderServerOverloadConfig) GetSleep ¶ added in v0.0.17
func (h *HeaderServerOverloadConfig) GetSleep() int
func (*HeaderServerOverloadConfig) GetTargets ¶ added in v0.0.17
func (h *HeaderServerOverloadConfig) GetTargets() []string
func (*HeaderServerOverloadConfig) GetTimeout ¶ added in v0.0.17
func (h *HeaderServerOverloadConfig) GetTimeout() int
func (*HeaderServerOverloadConfig) String ¶
func (h *HeaderServerOverloadConfig) String() string
func (*HeaderServerOverloadConfig) UnmarshalJSON ¶
func (h *HeaderServerOverloadConfig) UnmarshalJSON(data []byte) error
type HeaderUserAgentConfig ¶
type HeaderUserAgentConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` AgentHeader string `json:"agentHeader" url:"agentHeader"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*HeaderUserAgentConfig) GetAgentHeader ¶ added in v0.0.17
func (h *HeaderUserAgentConfig) GetAgentHeader() string
func (*HeaderUserAgentConfig) GetExtraProperties ¶
func (h *HeaderUserAgentConfig) GetExtraProperties() map[string]interface{}
func (*HeaderUserAgentConfig) GetRetries ¶ added in v0.0.17
func (h *HeaderUserAgentConfig) GetRetries() int
func (*HeaderUserAgentConfig) GetSleep ¶ added in v0.0.17
func (h *HeaderUserAgentConfig) GetSleep() int
func (*HeaderUserAgentConfig) GetTargets ¶ added in v0.0.17
func (h *HeaderUserAgentConfig) GetTargets() []string
func (*HeaderUserAgentConfig) GetTimeout ¶ added in v0.0.17
func (h *HeaderUserAgentConfig) GetTimeout() int
func (*HeaderUserAgentConfig) String ¶
func (h *HeaderUserAgentConfig) String() string
func (*HeaderUserAgentConfig) UnmarshalJSON ¶
func (h *HeaderUserAgentConfig) UnmarshalJSON(data []byte) error
type HttpMethod ¶
type HttpMethod string
const ( HttpMethodGet HttpMethod = "GET" HttpMethodPost HttpMethod = "POST" HttpMethodPut HttpMethod = "PUT" HttpMethodDelete HttpMethod = "DELETE" HttpMethodPatch HttpMethod = "PATCH" HttpMethodOptions HttpMethod = "OPTIONS" HttpMethodHead HttpMethod = "HEAD" HttpMethodConnect HttpMethod = "CONNECT" HttpMethodTrace HttpMethod = "TRACE" )
func NewHttpMethodFromString ¶
func NewHttpMethodFromString(s string) (HttpMethod, error)
func (HttpMethod) Ptr ¶
func (h HttpMethod) Ptr() *HttpMethod
type InjectionEngineConfig ¶
type InjectionEngineConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Method HttpMethod `json:"method" url:"method"` Paths []string `json:"paths,omitempty" url:"paths,omitempty"` BaselinePayload map[string]string `json:"baselinePayload,omitempty" url:"baselinePayload,omitempty"` InjectedPayloads []map[string]string `json:"injectedPayloads,omitempty" url:"injectedPayloads,omitempty"` InjectionLocation InjectionLocation `json:"injectionLocation" url:"injectionLocation"` EventType *EventType `json:"eventType,omitempty" url:"eventType,omitempty"` FollowRedirects bool `json:"followRedirects" url:"followRedirects"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*InjectionEngineConfig) GetBaselinePayload ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetBaselinePayload() map[string]string
func (*InjectionEngineConfig) GetEventType ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetEventType() *EventType
func (*InjectionEngineConfig) GetExtraProperties ¶
func (i *InjectionEngineConfig) GetExtraProperties() map[string]interface{}
func (*InjectionEngineConfig) GetFollowRedirects ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetFollowRedirects() bool
func (*InjectionEngineConfig) GetInjectedPayloads ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetInjectedPayloads() []map[string]string
func (*InjectionEngineConfig) GetInjectionLocation ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetInjectionLocation() InjectionLocation
func (*InjectionEngineConfig) GetMethod ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetMethod() HttpMethod
func (*InjectionEngineConfig) GetPaths ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetPaths() []string
func (*InjectionEngineConfig) GetRetries ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetRetries() int
func (*InjectionEngineConfig) GetSleep ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetSleep() int
func (*InjectionEngineConfig) GetTargets ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetTargets() []string
func (*InjectionEngineConfig) GetTimeout ¶ added in v0.0.17
func (i *InjectionEngineConfig) GetTimeout() int
func (*InjectionEngineConfig) String ¶
func (i *InjectionEngineConfig) String() string
func (*InjectionEngineConfig) UnmarshalJSON ¶
func (i *InjectionEngineConfig) UnmarshalJSON(data []byte) error
type InjectionLocation ¶
type InjectionLocation string
const ( InjectionLocationHeader InjectionLocation = "HEADER" InjectionLocationPath InjectionLocation = "PATH" InjectionLocationQuery InjectionLocation = "QUERY" InjectionLocationBody InjectionLocation = "BODY" InjectionLocationForm InjectionLocation = "FORM" InjectionLocationMultipart InjectionLocation = "MULTIPART" )
func NewInjectionLocationFromString ¶
func NewInjectionLocationFromString(s string) (InjectionLocation, error)
func (InjectionLocation) Ptr ¶
func (i InjectionLocation) Ptr() *InjectionLocation
type MultiEvent ¶
type MultiEvent string
const ( MultiEventCommandecho MultiEvent = "COMMANDECHO" MultiEventCommandtimedelay MultiEvent = "COMMANDTIMEDELAY" MultiEventSqliboolean MultiEvent = "SQLIBOOLEAN" MultiEventSqliescape MultiEvent = "SQLIESCAPE" MultiEventSqlitimedelay MultiEvent = "SQLITIMEDELAY" MultiEventXssalert MultiEvent = "XSSALERT" MultiEventSstireflect MultiEvent = "SSTIREFLECT" )
func NewMultiEventFromString ¶
func NewMultiEventFromString(s string) (MultiEvent, error)
func (MultiEvent) Ptr ¶
func (m MultiEvent) Ptr() *MultiEvent
type MultiInjectionConfig ¶
type MultiInjectionConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Method HttpMethod `json:"method" url:"method"` VariableData map[string]string `json:"variableData,omitempty" url:"variableData,omitempty"` InjectionLocation InjectionLocation `json:"injectionLocation" url:"injectionLocation"` EventType MultiEvent `json:"eventType" url:"eventType"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*MultiInjectionConfig) GetEventType ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetEventType() MultiEvent
func (*MultiInjectionConfig) GetExtraProperties ¶
func (m *MultiInjectionConfig) GetExtraProperties() map[string]interface{}
func (*MultiInjectionConfig) GetInjectionLocation ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetInjectionLocation() InjectionLocation
func (*MultiInjectionConfig) GetMethod ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetMethod() HttpMethod
func (*MultiInjectionConfig) GetRetries ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetRetries() int
func (*MultiInjectionConfig) GetSleep ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetSleep() int
func (*MultiInjectionConfig) GetTargets ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetTargets() []string
func (*MultiInjectionConfig) GetTimeout ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetTimeout() int
func (*MultiInjectionConfig) GetVariableData ¶ added in v0.0.17
func (m *MultiInjectionConfig) GetVariableData() map[string]string
func (*MultiInjectionConfig) String ¶
func (m *MultiInjectionConfig) String() string
func (*MultiInjectionConfig) UnmarshalJSON ¶
func (m *MultiInjectionConfig) UnmarshalJSON(data []byte) error
type PathCrlfConfig ¶
type PathCrlfConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` HeaderName string `json:"headerName" url:"headerName"` HeaderValue string `json:"headerValue" url:"headerValue"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*PathCrlfConfig) GetExtraProperties ¶
func (p *PathCrlfConfig) GetExtraProperties() map[string]interface{}
func (*PathCrlfConfig) GetHeaderName ¶ added in v0.0.17
func (p *PathCrlfConfig) GetHeaderName() string
func (*PathCrlfConfig) GetHeaderValue ¶ added in v0.0.17
func (p *PathCrlfConfig) GetHeaderValue() string
func (*PathCrlfConfig) GetRetries ¶ added in v0.0.17
func (p *PathCrlfConfig) GetRetries() int
func (*PathCrlfConfig) GetSleep ¶ added in v0.0.17
func (p *PathCrlfConfig) GetSleep() int
func (*PathCrlfConfig) GetTargets ¶ added in v0.0.17
func (p *PathCrlfConfig) GetTargets() []string
func (*PathCrlfConfig) GetTimeout ¶ added in v0.0.17
func (p *PathCrlfConfig) GetTimeout() int
func (*PathCrlfConfig) String ¶
func (p *PathCrlfConfig) String() string
func (*PathCrlfConfig) UnmarshalJSON ¶
func (p *PathCrlfConfig) UnmarshalJSON(data []byte) error
type PathModFileConfig ¶
type PathModFileConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*PathModFileConfig) GetExtraProperties ¶
func (p *PathModFileConfig) GetExtraProperties() map[string]interface{}
func (*PathModFileConfig) GetRetries ¶ added in v0.0.17
func (p *PathModFileConfig) GetRetries() int
func (*PathModFileConfig) GetSleep ¶ added in v0.0.17
func (p *PathModFileConfig) GetSleep() int
func (*PathModFileConfig) GetTargets ¶ added in v0.0.17
func (p *PathModFileConfig) GetTargets() []string
func (*PathModFileConfig) GetTimeout ¶ added in v0.0.17
func (p *PathModFileConfig) GetTimeout() int
func (*PathModFileConfig) String ¶
func (p *PathModFileConfig) String() string
func (*PathModFileConfig) UnmarshalJSON ¶
func (p *PathModFileConfig) UnmarshalJSON(data []byte) error
type PathTraversalConfig ¶
type PathTraversalConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Paths []string `json:"paths,omitempty" url:"paths,omitempty"` PathLists []string `json:"pathLists,omitempty" url:"pathLists,omitempty"` QueryParam *string `json:"queryParam,omitempty" url:"queryParam,omitempty"` ResponseCodes string `json:"responseCodes" url:"responseCodes"` IgnoreBaseContent bool `json:"ignoreBaseContent" url:"ignoreBaseContent"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` SuccessfulOnly bool `json:"successfulOnly" url:"successfulOnly"` Threshold float64 `json:"threshold" url:"threshold"` MaxRunTime *int `json:"maxRunTime,omitempty" url:"maxRunTime,omitempty"` // contains filtered or unexported fields }
func (*PathTraversalConfig) GetExtraProperties ¶
func (p *PathTraversalConfig) GetExtraProperties() map[string]interface{}
func (*PathTraversalConfig) GetIgnoreBaseContent ¶ added in v0.0.17
func (p *PathTraversalConfig) GetIgnoreBaseContent() bool
func (*PathTraversalConfig) GetMaxRunTime ¶ added in v0.0.17
func (p *PathTraversalConfig) GetMaxRunTime() *int
func (*PathTraversalConfig) GetPathLists ¶ added in v0.0.17
func (p *PathTraversalConfig) GetPathLists() []string
func (*PathTraversalConfig) GetPaths ¶ added in v0.0.17
func (p *PathTraversalConfig) GetPaths() []string
func (*PathTraversalConfig) GetQueryParam ¶ added in v0.0.17
func (p *PathTraversalConfig) GetQueryParam() *string
func (*PathTraversalConfig) GetResponseCodes ¶ added in v0.0.17
func (p *PathTraversalConfig) GetResponseCodes() string
func (*PathTraversalConfig) GetRetries ¶ added in v0.0.17
func (p *PathTraversalConfig) GetRetries() int
func (*PathTraversalConfig) GetSleep ¶ added in v0.0.17
func (p *PathTraversalConfig) GetSleep() int
func (*PathTraversalConfig) GetSuccessfulOnly ¶ added in v0.0.17
func (p *PathTraversalConfig) GetSuccessfulOnly() bool
func (*PathTraversalConfig) GetTargets ¶ added in v0.0.17
func (p *PathTraversalConfig) GetTargets() []string
func (*PathTraversalConfig) GetThreshold ¶ added in v0.0.17
func (p *PathTraversalConfig) GetThreshold() float64
func (*PathTraversalConfig) GetTimeout ¶ added in v0.0.17
func (p *PathTraversalConfig) GetTimeout() int
func (*PathTraversalConfig) String ¶
func (p *PathTraversalConfig) String() string
func (*PathTraversalConfig) UnmarshalJSON ¶
func (p *PathTraversalConfig) UnmarshalJSON(data []byte) error
type PathTraversalEngineConfig ¶
type PathTraversalEngineConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Paths []string `json:"paths,omitempty" url:"paths,omitempty"` PathFiles []string `json:"pathFiles,omitempty" url:"pathFiles,omitempty"` QueryParam *string `json:"queryParam,omitempty" url:"queryParam,omitempty"` ResponseCodes string `json:"responseCodes" url:"responseCodes"` IgnoreBaseContent bool `json:"ignoreBaseContent" url:"ignoreBaseContent"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` SuccessfulOnly bool `json:"successfulOnly" url:"successfulOnly"` Threshold *float64 `json:"threshold,omitempty" url:"threshold,omitempty"` MaxRunTime *int `json:"maxRunTime,omitempty" url:"maxRunTime,omitempty"` // contains filtered or unexported fields }
func (*PathTraversalEngineConfig) GetExtraProperties ¶
func (p *PathTraversalEngineConfig) GetExtraProperties() map[string]interface{}
func (*PathTraversalEngineConfig) GetIgnoreBaseContent ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetIgnoreBaseContent() bool
func (*PathTraversalEngineConfig) GetMaxRunTime ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetMaxRunTime() *int
func (*PathTraversalEngineConfig) GetPathFiles ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetPathFiles() []string
func (*PathTraversalEngineConfig) GetPaths ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetPaths() []string
func (*PathTraversalEngineConfig) GetQueryParam ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetQueryParam() *string
func (*PathTraversalEngineConfig) GetResponseCodes ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetResponseCodes() string
func (*PathTraversalEngineConfig) GetRetries ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetRetries() int
func (*PathTraversalEngineConfig) GetSleep ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetSleep() int
func (*PathTraversalEngineConfig) GetSuccessfulOnly ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetSuccessfulOnly() bool
func (*PathTraversalEngineConfig) GetTargets ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetTargets() []string
func (*PathTraversalEngineConfig) GetThreshold ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetThreshold() *float64
func (*PathTraversalEngineConfig) GetTimeout ¶ added in v0.0.17
func (p *PathTraversalEngineConfig) GetTimeout() int
func (*PathTraversalEngineConfig) String ¶
func (p *PathTraversalEngineConfig) String() string
func (*PathTraversalEngineConfig) UnmarshalJSON ¶
func (p *PathTraversalEngineConfig) UnmarshalJSON(data []byte) error
type QueryEvent ¶
type QueryEvent string
const (
QueryEventRedirect QueryEvent = "REDIRECT"
)
func NewQueryEventFromString ¶
func NewQueryEventFromString(s string) (QueryEvent, error)
func (QueryEvent) Ptr ¶
func (q QueryEvent) Ptr() *QueryEvent
type QueryReverseProxyConfig ¶
type QueryReverseProxyConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` RedirectAddress string `json:"redirectAddress" url:"redirectAddress"` Timeout int `json:"timeout" url:"timeout"` Retries int `json:"retries" url:"retries"` Sleep int `json:"sleep" url:"sleep"` // contains filtered or unexported fields }
func (*QueryReverseProxyConfig) GetExtraProperties ¶
func (q *QueryReverseProxyConfig) GetExtraProperties() map[string]interface{}
func (*QueryReverseProxyConfig) GetRedirectAddress ¶ added in v0.0.17
func (q *QueryReverseProxyConfig) GetRedirectAddress() string
func (*QueryReverseProxyConfig) GetRetries ¶ added in v0.0.17
func (q *QueryReverseProxyConfig) GetRetries() int
func (*QueryReverseProxyConfig) GetSleep ¶ added in v0.0.17
func (q *QueryReverseProxyConfig) GetSleep() int
func (*QueryReverseProxyConfig) GetTargets ¶ added in v0.0.17
func (q *QueryReverseProxyConfig) GetTargets() []string
func (*QueryReverseProxyConfig) GetTimeout ¶ added in v0.0.17
func (q *QueryReverseProxyConfig) GetTimeout() int
func (*QueryReverseProxyConfig) String ¶
func (q *QueryReverseProxyConfig) String() string
func (*QueryReverseProxyConfig) UnmarshalJSON ¶
func (q *QueryReverseProxyConfig) UnmarshalJSON(data []byte) error
type Report ¶
type Report struct { Targets []*TargetInfo `json:"targets,omitempty" url:"targets,omitempty"` Config *EngineConfig `json:"config,omitempty" url:"config,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*Report) GetConfig ¶ added in v0.0.17
func (r *Report) GetConfig() *EngineConfig
func (*Report) GetExtraProperties ¶
func (*Report) GetTargets ¶ added in v0.0.17
func (r *Report) GetTargets() []*TargetInfo
func (*Report) UnmarshalJSON ¶
type RequestInfo ¶
type RequestInfo struct { BaseUrl string `json:"baseUrl" url:"baseUrl"` Path string `json:"path" url:"path"` Method HttpMethod `json:"method" url:"method"` PathParams map[string]string `json:"pathParams,omitempty" url:"pathParams,omitempty"` QueryParams map[string]string `json:"queryParams,omitempty" url:"queryParams,omitempty"` HeaderParams map[string]string `json:"headerParams,omitempty" url:"headerParams,omitempty"` BodyParams *string `json:"bodyParams,omitempty" url:"bodyParams,omitempty"` FormParams map[string]string `json:"formParams,omitempty" url:"formParams,omitempty"` MultipartParams map[string]string `json:"multipartParams,omitempty" url:"multipartParams,omitempty"` EventType []*EventType `json:"eventType,omitempty" url:"eventType,omitempty"` StatusCode *int `json:"statusCode,omitempty" url:"statusCode,omitempty"` ResponseBody *string `json:"responseBody,omitempty" url:"responseBody,omitempty"` ResponseBodyEncoded *string `json:"responseBodyEncoded,omitempty" url:"responseBodyEncoded,omitempty"` ResponseHeaders map[string]string `json:"responseHeaders,omitempty" url:"responseHeaders,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*RequestInfo) GetBaseUrl ¶ added in v0.0.17
func (r *RequestInfo) GetBaseUrl() string
func (*RequestInfo) GetBodyParams ¶ added in v0.0.17
func (r *RequestInfo) GetBodyParams() *string
func (*RequestInfo) GetErrors ¶ added in v0.0.17
func (r *RequestInfo) GetErrors() []string
func (*RequestInfo) GetEventType ¶ added in v0.0.17
func (r *RequestInfo) GetEventType() []*EventType
func (*RequestInfo) GetExtraProperties ¶
func (r *RequestInfo) GetExtraProperties() map[string]interface{}
func (*RequestInfo) GetFormParams ¶ added in v0.0.17
func (r *RequestInfo) GetFormParams() map[string]string
func (*RequestInfo) GetHeaderParams ¶ added in v0.0.17
func (r *RequestInfo) GetHeaderParams() map[string]string
func (*RequestInfo) GetMethod ¶ added in v0.0.17
func (r *RequestInfo) GetMethod() HttpMethod
func (*RequestInfo) GetMultipartParams ¶ added in v0.0.17
func (r *RequestInfo) GetMultipartParams() map[string]string
func (*RequestInfo) GetPath ¶ added in v0.0.17
func (r *RequestInfo) GetPath() string
func (*RequestInfo) GetPathParams ¶ added in v0.0.17
func (r *RequestInfo) GetPathParams() map[string]string
func (*RequestInfo) GetQueryParams ¶ added in v0.0.17
func (r *RequestInfo) GetQueryParams() map[string]string
func (*RequestInfo) GetResponseBody ¶ added in v0.0.17
func (r *RequestInfo) GetResponseBody() *string
func (*RequestInfo) GetResponseBodyEncoded ¶ added in v0.0.17
func (r *RequestInfo) GetResponseBodyEncoded() *string
func (*RequestInfo) GetResponseHeaders ¶ added in v0.0.17
func (r *RequestInfo) GetResponseHeaders() map[string]string
func (*RequestInfo) GetStatusCode ¶ added in v0.0.17
func (r *RequestInfo) GetStatusCode() *int
func (*RequestInfo) String ¶
func (r *RequestInfo) String() string
func (*RequestInfo) UnmarshalJSON ¶
func (r *RequestInfo) UnmarshalJSON(data []byte) error
type RequestParams ¶
type RequestParams struct { PathParams map[string]string `json:"pathParams,omitempty" url:"pathParams,omitempty"` QueryParams map[string]string `json:"queryParams,omitempty" url:"queryParams,omitempty"` HeaderParams map[string]string `json:"headerParams,omitempty" url:"headerParams,omitempty"` BodyParams string `json:"bodyParams" url:"bodyParams"` FormParams map[string]string `json:"formParams,omitempty" url:"formParams,omitempty"` MultipartParams map[string]string `json:"multipartParams,omitempty" url:"multipartParams,omitempty"` // contains filtered or unexported fields }
func (*RequestParams) GetBodyParams ¶ added in v0.0.17
func (r *RequestParams) GetBodyParams() string
func (*RequestParams) GetExtraProperties ¶
func (r *RequestParams) GetExtraProperties() map[string]interface{}
func (*RequestParams) GetFormParams ¶ added in v0.0.17
func (r *RequestParams) GetFormParams() map[string]string
func (*RequestParams) GetHeaderParams ¶ added in v0.0.17
func (r *RequestParams) GetHeaderParams() map[string]string
func (*RequestParams) GetMultipartParams ¶ added in v0.0.17
func (r *RequestParams) GetMultipartParams() map[string]string
func (*RequestParams) GetPathParams ¶ added in v0.0.17
func (r *RequestParams) GetPathParams() map[string]string
func (*RequestParams) GetQueryParams ¶ added in v0.0.17
func (r *RequestParams) GetQueryParams() map[string]string
func (*RequestParams) String ¶
func (r *RequestParams) String() string
func (*RequestParams) UnmarshalJSON ¶
func (r *RequestParams) UnmarshalJSON(data []byte) error
type TargetInfo ¶
type TargetInfo struct { Target string `json:"target" url:"target"` StartTimestamp time.Time `json:"startTimestamp" url:"startTimestamp"` EndTimestamp time.Time `json:"endTimestamp" url:"endTimestamp"` RequestCount int `json:"requestCount" url:"requestCount"` BaselineAttempt *AttemptInfo `json:"baselineAttempt,omitempty" url:"baselineAttempt,omitempty"` Attempts []*AttemptInfo `json:"attempts,omitempty" url:"attempts,omitempty"` // contains filtered or unexported fields }
func (*TargetInfo) GetAttempts ¶ added in v0.0.17
func (t *TargetInfo) GetAttempts() []*AttemptInfo
func (*TargetInfo) GetBaselineAttempt ¶ added in v0.0.17
func (t *TargetInfo) GetBaselineAttempt() *AttemptInfo
func (*TargetInfo) GetEndTimestamp ¶ added in v0.0.17
func (t *TargetInfo) GetEndTimestamp() time.Time
func (*TargetInfo) GetExtraProperties ¶
func (t *TargetInfo) GetExtraProperties() map[string]interface{}
func (*TargetInfo) GetRequestCount ¶ added in v0.0.17
func (t *TargetInfo) GetRequestCount() int
func (*TargetInfo) GetStartTimestamp ¶ added in v0.0.17
func (t *TargetInfo) GetStartTimestamp() time.Time
func (*TargetInfo) GetTarget ¶ added in v0.0.17
func (t *TargetInfo) GetTarget() string
func (*TargetInfo) MarshalJSON ¶
func (t *TargetInfo) MarshalJSON() ([]byte, error)
func (*TargetInfo) String ¶
func (t *TargetInfo) String() string
func (*TargetInfo) UnmarshalJSON ¶
func (t *TargetInfo) UnmarshalJSON(data []byte) error