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 ApiType
- type Attempt
- type AttemptInfoUnion
- type AttemptInfoUnionVisitor
- type BodyParams
- type Certificate
- type CommandInjectionType
- type FingerprintReport
- type FuzzAttemptInfo
- type FuzzPathConfig
- type FuzzPathReport
- type GeneralAttemptInfo
- type GeneralRequestInfo
- type GeneralResponseInfo
- type GraphQlData
- type GraphQlField
- type GraphQlQuery
- type GraphQlSchema
- type GraphQlSchemaData
- type GraphQlType
- type HeaderInjectionType
- type HttpHeaders
- type HttpMethod
- type K8SPathInfo
- type K8SReport
- type MisconfigurationType
- type ModuleName
- type MultiplePathsAttemptInfo
- type OAuthFlow
- type OAuthFlows
- type PageCaptureMethod
- type PageCaptureReport
- type PageScreenshotReport
- type ParsedParams
- type PathInfo
- type ProbeType
- type PublicKeyAlgorithm
- type QueryParams
- type RequestInfo
- type RequestParams
- type RequestReport
- type RequestSchema
- type ResponseInfo
- type ResponseUnion
- type ResponseUnionVisitor
- type Route
- type RouteCaptureReport
- type RoutesReport
- type SchemaProperty
- type SecurityRequirement
- type SecurityScheme
- type SecuritySchemeName
- type SecuritySchemeType
- type ServerType
- type SignatureAlgorithm
- type TargetInfo
- type TlsInfo
- type TlsVersion
- type VersionEnumerateAttemptInfo
- type VersionEnumerateResponseInfo
- type VulnType
- type VulnTypeVisitor
- type WebRoute
- type WebServer
- type WebServerReport
- type WebServerTypeConfig
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 Attempt ¶ added in v0.0.23
type Attempt struct { Name ModuleName `json:"name" url:"name"` Timestamp time.Time `json:"timestamp" url:"timestamp"` AttemptInfo *AttemptInfoUnion `json:"AttemptInfo,omitempty" url:"AttemptInfo,omitempty"` Finding bool `json:"finding" url:"finding"` // contains filtered or unexported fields }
func (*Attempt) GetExtraProperties ¶ added in v0.0.23
func (*Attempt) MarshalJSON ¶ added in v0.0.23
func (*Attempt) UnmarshalJSON ¶ added in v0.0.23
type AttemptInfoUnion ¶ added in v0.0.23
type AttemptInfoUnion struct { Type string MultiplePathsAttempt *MultiplePathsAttemptInfo GeneralAttempt *GeneralAttemptInfo VersionAttempt *VersionEnumerateAttemptInfo }
func NewAttemptInfoUnionFromGeneralAttempt ¶ added in v0.0.23
func NewAttemptInfoUnionFromGeneralAttempt(value *GeneralAttemptInfo) *AttemptInfoUnion
func NewAttemptInfoUnionFromMultiplePathsAttempt ¶ added in v0.0.23
func NewAttemptInfoUnionFromMultiplePathsAttempt(value *MultiplePathsAttemptInfo) *AttemptInfoUnion
func NewAttemptInfoUnionFromVersionAttempt ¶ added in v0.0.23
func NewAttemptInfoUnionFromVersionAttempt(value *VersionEnumerateAttemptInfo) *AttemptInfoUnion
func (*AttemptInfoUnion) Accept ¶ added in v0.0.23
func (a *AttemptInfoUnion) Accept(visitor AttemptInfoUnionVisitor) error
func (AttemptInfoUnion) MarshalJSON ¶ added in v0.0.23
func (a AttemptInfoUnion) MarshalJSON() ([]byte, error)
func (*AttemptInfoUnion) UnmarshalJSON ¶ added in v0.0.23
func (a *AttemptInfoUnion) UnmarshalJSON(data []byte) error
type AttemptInfoUnionVisitor ¶ added in v0.0.23
type AttemptInfoUnionVisitor interface { VisitMultiplePathsAttempt(*MultiplePathsAttemptInfo) error VisitGeneralAttempt(*GeneralAttemptInfo) error VisitVersionAttempt(*VersionEnumerateAttemptInfo) error }
type BodyParams ¶ added in v0.0.21
type BodyParams struct { Name string `json:"name" url:"name"` ExampleValues []string `json:"exampleValues,omitempty" url:"exampleValues,omitempty"` // contains filtered or unexported fields }
func (*BodyParams) GetExtraProperties ¶ added in v0.0.21
func (b *BodyParams) GetExtraProperties() map[string]interface{}
func (*BodyParams) String ¶ added in v0.0.21
func (b *BodyParams) String() string
func (*BodyParams) UnmarshalJSON ¶ added in v0.0.21
func (b *BodyParams) UnmarshalJSON(data []byte) error
type Certificate ¶ added in v0.0.8
type Certificate struct { SubjectCommonName *string `json:"subjectCommonName,omitempty" url:"subjectCommonName,omitempty"` IssuerCommonName *string `json:"issuerCommonName,omitempty" url:"issuerCommonName,omitempty"` ValidFrom *time.Time `json:"validFrom,omitempty" url:"validFrom,omitempty"` ValidTo *time.Time `json:"validTo,omitempty" url:"validTo,omitempty"` Version *int `json:"version,omitempty" url:"version,omitempty"` SerialNumber *string `json:"serialNumber,omitempty" url:"serialNumber,omitempty"` Certificate *string `json:"certificate,omitempty" url:"certificate,omitempty"` Signature *string `json:"signature,omitempty" url:"signature,omitempty"` SignatureAlgorithm *SignatureAlgorithm `json:"signatureAlgorithm,omitempty" url:"signatureAlgorithm,omitempty"` PublicKeyAlgorithm *PublicKeyAlgorithm `json:"publicKeyAlgorithm,omitempty" url:"publicKeyAlgorithm,omitempty"` // contains filtered or unexported fields }
func (*Certificate) GetExtraProperties ¶ added in v0.0.8
func (c *Certificate) GetExtraProperties() map[string]interface{}
func (*Certificate) MarshalJSON ¶ added in v0.0.8
func (c *Certificate) MarshalJSON() ([]byte, error)
func (*Certificate) String ¶ added in v0.0.8
func (c *Certificate) String() string
func (*Certificate) UnmarshalJSON ¶ added in v0.0.8
func (c *Certificate) UnmarshalJSON(data []byte) error
type CommandInjectionType ¶ added in v0.0.40
type CommandInjectionType string
const ( CommandInjectionTypeCommand CommandInjectionType = "COMMAND" CommandInjectionTypeNosql CommandInjectionType = "NOSQL" CommandInjectionTypeSql CommandInjectionType = "SQL" CommandInjectionTypeTemplate CommandInjectionType = "TEMPLATE" CommandInjectionTypeXss CommandInjectionType = "XSS" )
func NewCommandInjectionTypeFromString ¶ added in v0.0.40
func NewCommandInjectionTypeFromString(s string) (CommandInjectionType, error)
func (CommandInjectionType) Ptr ¶ added in v0.0.40
func (c CommandInjectionType) Ptr() *CommandInjectionType
type FingerprintReport ¶ added in v0.0.8
type FingerprintReport struct { Target string `json:"target" url:"target"` HttpHeaders *HttpHeaders `json:"httpHeaders,omitempty" url:"httpHeaders,omitempty"` TlsInfo *TlsInfo `json:"tlsInfo,omitempty" url:"tlsInfo,omitempty"` RedirectUrl *string `json:"redirectUrl,omitempty" url:"redirectUrl,omitempty"` RedirectHttpHeaders *HttpHeaders `json:"redirectHttpHeaders,omitempty" url:"redirectHttpHeaders,omitempty"` RedirectTlsInfo *TlsInfo `json:"redirectTlsInfo,omitempty" url:"redirectTlsInfo,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*FingerprintReport) GetExtraProperties ¶ added in v0.0.8
func (f *FingerprintReport) GetExtraProperties() map[string]interface{}
func (*FingerprintReport) String ¶ added in v0.0.8
func (f *FingerprintReport) String() string
func (*FingerprintReport) UnmarshalJSON ¶ added in v0.0.8
func (f *FingerprintReport) UnmarshalJSON(data []byte) error
type FuzzAttemptInfo ¶ added in v0.0.33
type FuzzAttemptInfo struct { Path string `json:"path" url:"path"` Timestamp time.Time `json:"timestamp" url:"timestamp"` Request *RequestInfo `json:"request,omitempty" url:"request,omitempty"` Response *ResponseInfo `json:"response,omitempty" url:"response,omitempty"` Finding *bool `json:"finding,omitempty" url:"finding,omitempty"` // contains filtered or unexported fields }
func (*FuzzAttemptInfo) GetExtraProperties ¶ added in v0.0.33
func (f *FuzzAttemptInfo) GetExtraProperties() map[string]interface{}
func (*FuzzAttemptInfo) MarshalJSON ¶ added in v0.0.33
func (f *FuzzAttemptInfo) MarshalJSON() ([]byte, error)
func (*FuzzAttemptInfo) String ¶ added in v0.0.33
func (f *FuzzAttemptInfo) String() string
func (*FuzzAttemptInfo) UnmarshalJSON ¶ added in v0.0.33
func (f *FuzzAttemptInfo) UnmarshalJSON(data []byte) error
type FuzzPathConfig ¶ added in v0.0.33
type FuzzPathConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Paths []string `json:"paths,omitempty" url:"paths,omitempty"` ResponseCodes string `json:"responseCodes" url:"responseCodes"` IgnoreBaseContent bool `json:"ignoreBaseContent" url:"ignoreBaseContent"` Timeout int `json:"timeout" url:"timeout"` Sleep int `json:"sleep" url:"sleep"` Retries int `json:"retries" url:"retries"` SuccessfulOnly bool `json:"successfulOnly" url:"successfulOnly"` // contains filtered or unexported fields }
func (*FuzzPathConfig) GetExtraProperties ¶ added in v0.0.33
func (f *FuzzPathConfig) GetExtraProperties() map[string]interface{}
func (*FuzzPathConfig) String ¶ added in v0.0.33
func (f *FuzzPathConfig) String() string
func (*FuzzPathConfig) UnmarshalJSON ¶ added in v0.0.33
func (f *FuzzPathConfig) UnmarshalJSON(data []byte) error
type FuzzPathReport ¶
type FuzzPathReport struct { Targets []*TargetInfo `json:"targets,omitempty" url:"targets,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*FuzzPathReport) GetExtraProperties ¶
func (f *FuzzPathReport) GetExtraProperties() map[string]interface{}
func (*FuzzPathReport) String ¶
func (f *FuzzPathReport) String() string
func (*FuzzPathReport) UnmarshalJSON ¶
func (f *FuzzPathReport) UnmarshalJSON(data []byte) error
type GeneralAttemptInfo ¶ added in v0.0.23
type GeneralAttemptInfo struct { Request *GeneralRequestInfo `json:"request,omitempty" url:"request,omitempty"` Response *GeneralResponseInfo `json:"response,omitempty" url:"response,omitempty"` // contains filtered or unexported fields }
func (*GeneralAttemptInfo) GetExtraProperties ¶ added in v0.0.23
func (g *GeneralAttemptInfo) GetExtraProperties() map[string]interface{}
func (*GeneralAttemptInfo) String ¶ added in v0.0.23
func (g *GeneralAttemptInfo) String() string
func (*GeneralAttemptInfo) UnmarshalJSON ¶ added in v0.0.23
func (g *GeneralAttemptInfo) UnmarshalJSON(data []byte) error
type GeneralRequestInfo ¶ added in v0.0.23
type GeneralRequestInfo struct { Method HttpMethod `json:"method" url:"method"` Url string `json:"url" url:"url"` Headers map[string]string `json:"headers,omitempty" url:"headers,omitempty"` Params map[string]string `json:"params,omitempty" url:"params,omitempty"` // contains filtered or unexported fields }
func (*GeneralRequestInfo) GetExtraProperties ¶ added in v0.0.23
func (g *GeneralRequestInfo) GetExtraProperties() map[string]interface{}
func (*GeneralRequestInfo) String ¶ added in v0.0.23
func (g *GeneralRequestInfo) String() string
func (*GeneralRequestInfo) UnmarshalJSON ¶ added in v0.0.23
func (g *GeneralRequestInfo) UnmarshalJSON(data []byte) error
type GeneralResponseInfo ¶ added in v0.0.23
type GeneralResponseInfo struct { StatusCode *int `json:"statusCode,omitempty" url:"statusCode,omitempty"` Body *string `json:"body,omitempty" url:"body,omitempty"` Headers map[string]string `json:"headers,omitempty" url:"headers,omitempty"` Error *string `json:"error,omitempty" url:"error,omitempty"` // contains filtered or unexported fields }
func (*GeneralResponseInfo) GetExtraProperties ¶ added in v0.0.23
func (g *GeneralResponseInfo) GetExtraProperties() map[string]interface{}
func (*GeneralResponseInfo) String ¶ added in v0.0.23
func (g *GeneralResponseInfo) String() string
func (*GeneralResponseInfo) UnmarshalJSON ¶ added in v0.0.23
func (g *GeneralResponseInfo) UnmarshalJSON(data []byte) error
type GraphQlData ¶ added in v0.0.9
type GraphQlData struct { Schema *GraphQlSchemaData `json:"__schema,omitempty" url:"__schema,omitempty"` // contains filtered or unexported fields }
func (*GraphQlData) GetExtraProperties ¶ added in v0.0.9
func (g *GraphQlData) GetExtraProperties() map[string]interface{}
func (*GraphQlData) String ¶ added in v0.0.9
func (g *GraphQlData) String() string
func (*GraphQlData) UnmarshalJSON ¶ added in v0.0.9
func (g *GraphQlData) UnmarshalJSON(data []byte) error
type GraphQlField ¶ added in v0.0.9
type GraphQlField struct { Name string `json:"name" url:"name"` // contains filtered or unexported fields }
func (*GraphQlField) GetExtraProperties ¶ added in v0.0.9
func (g *GraphQlField) GetExtraProperties() map[string]interface{}
func (*GraphQlField) String ¶ added in v0.0.9
func (g *GraphQlField) String() string
func (*GraphQlField) UnmarshalJSON ¶ added in v0.0.9
func (g *GraphQlField) UnmarshalJSON(data []byte) error
type GraphQlQuery ¶ added in v0.0.9
type GraphQlQuery struct { Type string `json:"type" url:"type"` Fields []string `json:"fields,omitempty" url:"fields,omitempty"` // contains filtered or unexported fields }
func (*GraphQlQuery) GetExtraProperties ¶ added in v0.0.9
func (g *GraphQlQuery) GetExtraProperties() map[string]interface{}
func (*GraphQlQuery) String ¶ added in v0.0.9
func (g *GraphQlQuery) String() string
func (*GraphQlQuery) UnmarshalJSON ¶ added in v0.0.9
func (g *GraphQlQuery) UnmarshalJSON(data []byte) error
type GraphQlSchema ¶ added in v0.0.9
type GraphQlSchema struct { Data *GraphQlData `json:"data,omitempty" url:"data,omitempty"` // contains filtered or unexported fields }
func (*GraphQlSchema) GetExtraProperties ¶ added in v0.0.9
func (g *GraphQlSchema) GetExtraProperties() map[string]interface{}
func (*GraphQlSchema) String ¶ added in v0.0.9
func (g *GraphQlSchema) String() string
func (*GraphQlSchema) UnmarshalJSON ¶ added in v0.0.9
func (g *GraphQlSchema) UnmarshalJSON(data []byte) error
type GraphQlSchemaData ¶ added in v0.0.9
type GraphQlSchemaData struct { Types []*GraphQlType `json:"types,omitempty" url:"types,omitempty"` // contains filtered or unexported fields }
func (*GraphQlSchemaData) GetExtraProperties ¶ added in v0.0.9
func (g *GraphQlSchemaData) GetExtraProperties() map[string]interface{}
func (*GraphQlSchemaData) String ¶ added in v0.0.9
func (g *GraphQlSchemaData) String() string
func (*GraphQlSchemaData) UnmarshalJSON ¶ added in v0.0.9
func (g *GraphQlSchemaData) UnmarshalJSON(data []byte) error
type GraphQlType ¶ added in v0.0.9
type GraphQlType struct { Name string `json:"name" url:"name"` Kind string `json:"kind" url:"kind"` Description *string `json:"description,omitempty" url:"description,omitempty"` Fields []*GraphQlField `json:"fields,omitempty" url:"fields,omitempty"` // contains filtered or unexported fields }
func (*GraphQlType) GetExtraProperties ¶ added in v0.0.9
func (g *GraphQlType) GetExtraProperties() map[string]interface{}
func (*GraphQlType) String ¶ added in v0.0.9
func (g *GraphQlType) String() string
func (*GraphQlType) UnmarshalJSON ¶ added in v0.0.9
func (g *GraphQlType) UnmarshalJSON(data []byte) error
type HeaderInjectionType ¶ added in v0.0.40
type HeaderInjectionType string
const ( HeaderInjectionTypeCors HeaderInjectionType = "CORS" HeaderInjectionTypeEscape HeaderInjectionType = "ESCAPE" HeaderInjectionTypeHttp HeaderInjectionType = "HTTP" HeaderInjectionTypeSensitiveexposed HeaderInjectionType = "SENSITIVEEXPOSED" HeaderInjectionTypeServeroverload HeaderInjectionType = "SERVEROVERLOAD" )
func NewHeaderInjectionTypeFromString ¶ added in v0.0.40
func NewHeaderInjectionTypeFromString(s string) (HeaderInjectionType, error)
func (HeaderInjectionType) Ptr ¶ added in v0.0.40
func (h HeaderInjectionType) Ptr() *HeaderInjectionType
type HttpHeaders ¶ added in v0.0.8
type HttpHeaders struct { Location *string `json:"location,omitempty" url:"location,omitempty"` Server *string `json:"server,omitempty" url:"server,omitempty"` XPoweredBy *string `json:"xPoweredBy,omitempty" url:"xPoweredBy,omitempty"` XFrameOptions *string `json:"xFrameOptions,omitempty" url:"xFrameOptions,omitempty"` XClusterName *string `json:"xClusterName,omitempty" url:"xClusterName,omitempty"` CrossOriginResourcePolicy *string `json:"crossOriginResourcePolicy,omitempty" url:"crossOriginResourcePolicy,omitempty"` AccessControlAllowOrigin *string `json:"accessControlAllowOrigin,omitempty" url:"accessControlAllowOrigin,omitempty"` XAspNetVersion *string `json:"xAspNetVersion,omitempty" url:"xAspNetVersion,omitempty"` AllowedHttpMethods *string `json:"allowedHttpMethods,omitempty" url:"allowedHttpMethods,omitempty"` // contains filtered or unexported fields }
func (*HttpHeaders) GetExtraProperties ¶ added in v0.0.8
func (h *HttpHeaders) GetExtraProperties() map[string]interface{}
func (*HttpHeaders) String ¶ added in v0.0.8
func (h *HttpHeaders) String() string
func (*HttpHeaders) UnmarshalJSON ¶ added in v0.0.8
func (h *HttpHeaders) UnmarshalJSON(data []byte) error
type HttpMethod ¶ added in v0.0.20
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 ¶ added in v0.0.20
func NewHttpMethodFromString(s string) (HttpMethod, error)
func (HttpMethod) Ptr ¶ added in v0.0.20
func (h HttpMethod) Ptr() *HttpMethod
type K8SPathInfo ¶ added in v0.0.37
type K8SPathInfo struct { Path string `json:"path" url:"path"` Method HttpMethod `json:"method" url:"method"` ResponseStatus *int `json:"response_status,omitempty" url:"response_status,omitempty"` ResponseHeaders map[string]string `json:"response_headers,omitempty" url:"response_headers,omitempty"` ResponseBody *string `json:"response_body,omitempty" url:"response_body,omitempty"` Finding bool `json:"finding" url:"finding"` Timestamp time.Time `json:"timestamp" url:"timestamp"` // contains filtered or unexported fields }
func (*K8SPathInfo) GetExtraProperties ¶ added in v0.0.37
func (k *K8SPathInfo) GetExtraProperties() map[string]interface{}
func (*K8SPathInfo) MarshalJSON ¶ added in v0.0.37
func (k *K8SPathInfo) MarshalJSON() ([]byte, error)
func (*K8SPathInfo) String ¶ added in v0.0.37
func (k *K8SPathInfo) String() string
func (*K8SPathInfo) UnmarshalJSON ¶ added in v0.0.37
func (k *K8SPathInfo) UnmarshalJSON(data []byte) error
type K8SReport ¶ added in v0.0.37
type K8SReport struct { Target string `json:"target" url:"target"` K8SPaths []*K8SPathInfo `json:"k8sPaths,omitempty" url:"k8sPaths,omitempty"` IsCluster bool `json:"isCluster" url:"isCluster"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*K8SReport) GetExtraProperties ¶ added in v0.0.37
func (*K8SReport) UnmarshalJSON ¶ added in v0.0.37
type MisconfigurationType ¶ added in v0.0.40
type MisconfigurationType string
const (
MisconfigurationTypeDomainTakeover MisconfigurationType = "DOMAIN_TAKEOVER"
)
func NewMisconfigurationTypeFromString ¶ added in v0.0.40
func NewMisconfigurationTypeFromString(s string) (MisconfigurationType, error)
func (MisconfigurationType) Ptr ¶ added in v0.0.40
func (m MisconfigurationType) Ptr() *MisconfigurationType
type ModuleName ¶ added in v0.0.23
type ModuleName string
const ( ModuleNameBufferOverflowContentHeader ModuleName = "BUFFER_OVERFLOW_CONTENT_HEADER" ModuleNameCrlfInjection ModuleName = "CRLF_INJECTION" ModuleNamePathTraversal ModuleName = "PATH_TRAVERSAL" ModuleNameRceModFile ModuleName = "RCE_MOD_FILE" ModuleNameReverseProxyMisconfiguration ModuleName = "REVERSE_PROXY_MISCONFIGURATION" ModuleNameXPoweredByHeaderGrab ModuleName = "X_POWERED_BY_HEADER_GRAB" )
func NewModuleNameFromString ¶ added in v0.0.23
func NewModuleNameFromString(s string) (ModuleName, error)
func (ModuleName) Ptr ¶ added in v0.0.23
func (m ModuleName) Ptr() *ModuleName
type MultiplePathsAttemptInfo ¶ added in v0.0.23
type MultiplePathsAttemptInfo struct { Paths []*PathInfo `json:"paths,omitempty" url:"paths,omitempty"` // contains filtered or unexported fields }
func (*MultiplePathsAttemptInfo) GetExtraProperties ¶ added in v0.0.23
func (m *MultiplePathsAttemptInfo) GetExtraProperties() map[string]interface{}
func (*MultiplePathsAttemptInfo) String ¶ added in v0.0.23
func (m *MultiplePathsAttemptInfo) String() string
func (*MultiplePathsAttemptInfo) UnmarshalJSON ¶ added in v0.0.23
func (m *MultiplePathsAttemptInfo) UnmarshalJSON(data []byte) error
type OAuthFlow ¶ added in v0.0.13
type OAuthFlow struct { AuthorizationUrl *string `json:"authorizationUrl,omitempty" url:"authorizationUrl,omitempty"` TokenUrl *string `json:"tokenUrl,omitempty" url:"tokenUrl,omitempty"` RefreshUrl *string `json:"refreshUrl,omitempty" url:"refreshUrl,omitempty"` Scopes map[string]string `json:"scopes,omitempty" url:"scopes,omitempty"` // contains filtered or unexported fields }
func (*OAuthFlow) GetExtraProperties ¶ added in v0.0.13
func (*OAuthFlow) UnmarshalJSON ¶ added in v0.0.13
type OAuthFlows ¶ added in v0.0.13
type OAuthFlows struct { Implicit *OAuthFlow `json:"implicit,omitempty" url:"implicit,omitempty"` Password *OAuthFlow `json:"password,omitempty" url:"password,omitempty"` ClientCredentials *OAuthFlow `json:"clientCredentials,omitempty" url:"clientCredentials,omitempty"` AuthorizationCode *OAuthFlow `json:"authorizationCode,omitempty" url:"authorizationCode,omitempty"` // contains filtered or unexported fields }
func (*OAuthFlows) GetExtraProperties ¶ added in v0.0.13
func (o *OAuthFlows) GetExtraProperties() map[string]interface{}
func (*OAuthFlows) String ¶ added in v0.0.13
func (o *OAuthFlows) String() string
func (*OAuthFlows) UnmarshalJSON ¶ added in v0.0.13
func (o *OAuthFlows) UnmarshalJSON(data []byte) error
type PageCaptureMethod ¶ added in v0.0.21
type PageCaptureMethod string
const ( PageCaptureMethodRequest PageCaptureMethod = "REQUEST" PageCaptureMethodBrowser PageCaptureMethod = "BROWSER" PageCaptureMethodBrowserbase PageCaptureMethod = "BROWSERBASE" )
func NewPageCaptureMethodFromString ¶ added in v0.0.21
func NewPageCaptureMethodFromString(s string) (PageCaptureMethod, error)
func (PageCaptureMethod) Ptr ¶ added in v0.0.21
func (p PageCaptureMethod) Ptr() *PageCaptureMethod
type PageCaptureReport ¶ added in v0.0.21
type PageCaptureReport struct { Target string `json:"target" url:"target"` HtmlEncoded *string `json:"html_encoded,omitempty" url:"html_encoded,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*PageCaptureReport) GetExtraProperties ¶ added in v0.0.21
func (p *PageCaptureReport) GetExtraProperties() map[string]interface{}
func (*PageCaptureReport) String ¶ added in v0.0.21
func (p *PageCaptureReport) String() string
func (*PageCaptureReport) UnmarshalJSON ¶ added in v0.0.21
func (p *PageCaptureReport) UnmarshalJSON(data []byte) error
type PageScreenshotReport ¶ added in v0.0.21
type PageScreenshotReport struct { Target string `json:"target" url:"target"` HtmlEncoded *string `json:"html_encoded,omitempty" url:"html_encoded,omitempty"` Screenshot *[]byte `json:"screenshot,omitempty" url:"screenshot,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*PageScreenshotReport) GetExtraProperties ¶ added in v0.0.21
func (p *PageScreenshotReport) GetExtraProperties() map[string]interface{}
func (*PageScreenshotReport) String ¶ added in v0.0.21
func (p *PageScreenshotReport) String() string
func (*PageScreenshotReport) UnmarshalJSON ¶ added in v0.0.21
func (p *PageScreenshotReport) UnmarshalJSON(data []byte) error
type ParsedParams ¶ added in v0.0.20
type ParsedParams 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 (*ParsedParams) GetExtraProperties ¶ added in v0.0.20
func (p *ParsedParams) GetExtraProperties() map[string]interface{}
func (*ParsedParams) String ¶ added in v0.0.20
func (p *ParsedParams) String() string
func (*ParsedParams) UnmarshalJSON ¶ added in v0.0.20
func (p *ParsedParams) UnmarshalJSON(data []byte) error
type PathInfo ¶ added in v0.0.23
type PathInfo struct { Path string `json:"path" url:"path"` Request *GeneralRequestInfo `json:"request,omitempty" url:"request,omitempty"` Response *GeneralResponseInfo `json:"response,omitempty" url:"response,omitempty"` Finding *bool `json:"finding,omitempty" url:"finding,omitempty"` // contains filtered or unexported fields }
func (*PathInfo) GetExtraProperties ¶ added in v0.0.23
func (*PathInfo) UnmarshalJSON ¶ added in v0.0.23
type ProbeType ¶ added in v0.0.23
type ProbeType string
func NewProbeTypeFromString ¶ added in v0.0.23
type PublicKeyAlgorithm ¶ added in v0.0.8
type PublicKeyAlgorithm string
const ( PublicKeyAlgorithmDes PublicKeyAlgorithm = "DES" PublicKeyAlgorithmDh1024 PublicKeyAlgorithm = "DH1024" PublicKeyAlgorithmDh512 PublicKeyAlgorithm = "DH512" PublicKeyAlgorithmDh768 PublicKeyAlgorithm = "DH768" PublicKeyAlgorithmDsa PublicKeyAlgorithm = "DSA" PublicKeyAlgorithmDsa1024 PublicKeyAlgorithm = "DSA1024" PublicKeyAlgorithmEcdsa PublicKeyAlgorithm = "ECDSA" PublicKeyAlgorithmEcdsasha1 PublicKeyAlgorithm = "ECDSASHA1" PublicKeyAlgorithmEcdhsha1 PublicKeyAlgorithm = "ECDHSHA1" PublicKeyAlgorithmEd25519 PublicKeyAlgorithm = "Ed25519" PublicKeyAlgorithmRc4 PublicKeyAlgorithm = "RC4" PublicKeyAlgorithmRsa PublicKeyAlgorithm = "RSA" PublicKeyAlgorithmRsa1024 PublicKeyAlgorithm = "RSA1024" PublicKeyAlgorithmUnknown PublicKeyAlgorithm = "Unknown" )
func NewPublicKeyAlgorithmFromString ¶ added in v0.0.8
func NewPublicKeyAlgorithmFromString(s string) (PublicKeyAlgorithm, error)
func (PublicKeyAlgorithm) Ptr ¶ added in v0.0.8
func (p PublicKeyAlgorithm) Ptr() *PublicKeyAlgorithm
type QueryParams ¶ added in v0.0.21
type QueryParams struct { Name string `json:"name" url:"name"` ExampleValues []string `json:"exampleValues,omitempty" url:"exampleValues,omitempty"` // contains filtered or unexported fields }
func (*QueryParams) GetExtraProperties ¶ added in v0.0.21
func (q *QueryParams) GetExtraProperties() map[string]interface{}
func (*QueryParams) String ¶ added in v0.0.21
func (q *QueryParams) String() string
func (*QueryParams) UnmarshalJSON ¶ added in v0.0.21
func (q *QueryParams) UnmarshalJSON(data []byte) error
type RequestInfo ¶ added in v0.0.33
type RequestInfo struct { Method HttpMethod `json:"method" url:"method"` Url string `json:"url" url:"url"` // contains filtered or unexported fields }
func (*RequestInfo) GetExtraProperties ¶ added in v0.0.33
func (r *RequestInfo) GetExtraProperties() map[string]interface{}
func (*RequestInfo) String ¶ added in v0.0.33
func (r *RequestInfo) String() string
func (*RequestInfo) UnmarshalJSON ¶ added in v0.0.33
func (r *RequestInfo) UnmarshalJSON(data []byte) error
type RequestParams ¶ added in v0.0.20
type RequestParams struct { PathParams string `json:"pathParams" url:"pathParams"` QueryParams string `json:"queryParams" url:"queryParams"` HeaderParams string `json:"headerParams" url:"headerParams"` BodyParams string `json:"bodyParams" url:"bodyParams"` FormParams string `json:"formParams" url:"formParams"` MultipartParams string `json:"multipartParams" url:"multipartParams"` // contains filtered or unexported fields }
func (*RequestParams) GetExtraProperties ¶ added in v0.0.20
func (r *RequestParams) GetExtraProperties() map[string]interface{}
func (*RequestParams) String ¶ added in v0.0.20
func (r *RequestParams) String() string
func (*RequestParams) UnmarshalJSON ¶ added in v0.0.20
func (r *RequestParams) UnmarshalJSON(data []byte) error
type RequestReport ¶ added in v0.0.20
type RequestReport 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"` VulnTypes []*VulnType `json:"vulnTypes,omitempty" url:"vulnTypes,omitempty"` StatusCode *int `json:"statusCode,omitempty" url:"statusCode,omitempty"` ResponseBody *string `json:"responseBody,omitempty" url:"responseBody,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 (*RequestReport) GetExtraProperties ¶ added in v0.0.20
func (r *RequestReport) GetExtraProperties() map[string]interface{}
func (*RequestReport) String ¶ added in v0.0.20
func (r *RequestReport) String() string
func (*RequestReport) UnmarshalJSON ¶ added in v0.0.20
func (r *RequestReport) UnmarshalJSON(data []byte) error
type RequestSchema ¶ added in v0.0.20
type RequestSchema struct { Type []string `json:"type,omitempty" url:"type,omitempty"` Properties []*SchemaProperty `json:"properties,omitempty" url:"properties,omitempty"` Required []string `json:"required,omitempty" url:"required,omitempty"` Items *RequestSchema `json:"items,omitempty" url:"items,omitempty"` AdditionalProperties *RequestSchema `json:"additionalProperties,omitempty" url:"additionalProperties,omitempty"` AllOf []*RequestSchema `json:"allOf,omitempty" url:"allOf,omitempty"` OneOf []*RequestSchema `json:"oneOf,omitempty" url:"oneOf,omitempty"` AnyOf []*RequestSchema `json:"anyOf,omitempty" url:"anyOf,omitempty"` Not *RequestSchema `json:"not,omitempty" url:"not,omitempty"` Description *string `json:"description,omitempty" url:"description,omitempty"` Format *string `json:"format,omitempty" url:"format,omitempty"` Default *string `json:"default,omitempty" url:"default,omitempty"` Example interface{} `json:"example,omitempty" url:"example,omitempty"` Enum []interface{} `json:"enum,omitempty" url:"enum,omitempty"` MultipleOf *float64 `json:"multipleOf,omitempty" url:"multipleOf,omitempty"` Maximum *float64 `json:"maximum,omitempty" url:"maximum,omitempty"` ExclusiveMaximum *bool `json:"exclusiveMaximum,omitempty" url:"exclusiveMaximum,omitempty"` Minimum *float64 `json:"minimum,omitempty" url:"minimum,omitempty"` ExclusiveMinimum *bool `json:"exclusiveMinimum,omitempty" url:"exclusiveMinimum,omitempty"` MaxLength *int `json:"maxLength,omitempty" url:"maxLength,omitempty"` MinLength *int `json:"minLength,omitempty" url:"minLength,omitempty"` Pattern *string `json:"pattern,omitempty" url:"pattern,omitempty"` MaxItems *int `json:"maxItems,omitempty" url:"maxItems,omitempty"` MinItems *int `json:"minItems,omitempty" url:"minItems,omitempty"` UniqueItems *bool `json:"uniqueItems,omitempty" url:"uniqueItems,omitempty"` MaxProperties *int `json:"maxProperties,omitempty" url:"maxProperties,omitempty"` MinProperties *int `json:"minProperties,omitempty" url:"minProperties,omitempty"` // contains filtered or unexported fields }
func (*RequestSchema) GetExtraProperties ¶ added in v0.0.20
func (r *RequestSchema) GetExtraProperties() map[string]interface{}
func (*RequestSchema) String ¶ added in v0.0.20
func (r *RequestSchema) String() string
func (*RequestSchema) UnmarshalJSON ¶ added in v0.0.20
func (r *RequestSchema) UnmarshalJSON(data []byte) error
type ResponseInfo ¶ added in v0.0.33
type ResponseInfo struct { StatusCode *int `json:"statusCode,omitempty" url:"statusCode,omitempty"` Body *string `json:"body,omitempty" url:"body,omitempty"` Error *string `json:"error,omitempty" url:"error,omitempty"` // contains filtered or unexported fields }
func (*ResponseInfo) GetExtraProperties ¶ added in v0.0.33
func (r *ResponseInfo) GetExtraProperties() map[string]interface{}
func (*ResponseInfo) String ¶ added in v0.0.33
func (r *ResponseInfo) String() string
func (*ResponseInfo) UnmarshalJSON ¶ added in v0.0.33
func (r *ResponseInfo) UnmarshalJSON(data []byte) error
type ResponseUnion ¶ added in v0.0.23
type ResponseUnion struct { Type string GeneralResponse *GeneralResponseInfo VersionEnumerateResponse *VersionEnumerateResponseInfo }
func NewResponseUnionFromGeneralResponse ¶ added in v0.0.23
func NewResponseUnionFromGeneralResponse(value *GeneralResponseInfo) *ResponseUnion
func NewResponseUnionFromVersionEnumerateResponse ¶ added in v0.0.23
func NewResponseUnionFromVersionEnumerateResponse(value *VersionEnumerateResponseInfo) *ResponseUnion
func (*ResponseUnion) Accept ¶ added in v0.0.23
func (r *ResponseUnion) Accept(visitor ResponseUnionVisitor) error
func (ResponseUnion) MarshalJSON ¶ added in v0.0.23
func (r ResponseUnion) MarshalJSON() ([]byte, error)
func (*ResponseUnion) UnmarshalJSON ¶ added in v0.0.23
func (r *ResponseUnion) UnmarshalJSON(data []byte) error
type ResponseUnionVisitor ¶ added in v0.0.23
type ResponseUnionVisitor interface { VisitGeneralResponse(*GeneralResponseInfo) error VisitVersionEnumerateResponse(*VersionEnumerateResponseInfo) error }
type Route ¶ added in v0.0.9
type Route struct { Path string `json:"path" url:"path"` QueryParams []string `json:"queryParams,omitempty" url:"queryParams,omitempty"` Security *SecurityRequirement `json:"security,omitempty" url:"security,omitempty"` Method string `json:"method" url:"method"` Type ApiType `json:"type" url:"type"` Description string `json:"description" url:"description"` ResponseProperties map[string][]string `json:"responseProperties,omitempty" url:"responseProperties,omitempty"` RequestSchema *RequestSchema `json:"requestSchema,omitempty" url:"requestSchema,omitempty"` // contains filtered or unexported fields }
func (*Route) GetExtraProperties ¶ added in v0.0.9
func (*Route) UnmarshalJSON ¶ added in v0.0.9
type RouteCaptureReport ¶ added in v0.0.21
type RouteCaptureReport struct { Target string `json:"target" url:"target"` Routes []*WebRoute `json:"routes,omitempty" url:"routes,omitempty"` Urls []string `json:"urls,omitempty" url:"urls,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*RouteCaptureReport) GetExtraProperties ¶ added in v0.0.21
func (r *RouteCaptureReport) GetExtraProperties() map[string]interface{}
func (*RouteCaptureReport) String ¶ added in v0.0.21
func (r *RouteCaptureReport) String() string
func (*RouteCaptureReport) UnmarshalJSON ¶ added in v0.0.21
func (r *RouteCaptureReport) UnmarshalJSON(data []byte) error
type RoutesReport ¶ added in v0.0.9
type RoutesReport struct { Target string `json:"target" url:"target"` AppType ApiType `json:"appType" url:"appType"` BaseEndpointUrl string `json:"baseEndpointUrl" url:"baseEndpointUrl"` Version *string `json:"version,omitempty" url:"version,omitempty"` SchemaUrl *string `json:"schemaUrl,omitempty" url:"schemaUrl,omitempty"` Routes []*Route `json:"routes,omitempty" url:"routes,omitempty"` SecuritySchemes map[SecuritySchemeName]*SecurityScheme `json:"securitySchemes,omitempty" url:"securitySchemes,omitempty"` Security []*SecurityRequirement `json:"security,omitempty" url:"security,omitempty"` Queries []*GraphQlQuery `json:"queries,omitempty" url:"queries,omitempty"` Raw string `json:"raw" url:"raw"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*RoutesReport) GetExtraProperties ¶ added in v0.0.9
func (r *RoutesReport) GetExtraProperties() map[string]interface{}
func (*RoutesReport) String ¶ added in v0.0.9
func (r *RoutesReport) String() string
func (*RoutesReport) UnmarshalJSON ¶ added in v0.0.9
func (r *RoutesReport) UnmarshalJSON(data []byte) error
type SchemaProperty ¶ added in v0.0.20
type SchemaProperty struct { Name string `json:"name" url:"name"` Type []string `json:"type,omitempty" url:"type,omitempty"` Format *string `json:"format,omitempty" url:"format,omitempty"` Description *string `json:"description,omitempty" url:"description,omitempty"` Required *bool `json:"required,omitempty" url:"required,omitempty"` Items *RequestSchema `json:"items,omitempty" url:"items,omitempty"` Properties []*SchemaProperty `json:"properties,omitempty" url:"properties,omitempty"` AdditionalProperties *RequestSchema `json:"additionalProperties,omitempty" url:"additionalProperties,omitempty"` Enum []string `json:"enum,omitempty" url:"enum,omitempty"` Example *string `json:"example,omitempty" url:"example,omitempty"` // contains filtered or unexported fields }
func (*SchemaProperty) GetExtraProperties ¶ added in v0.0.20
func (s *SchemaProperty) GetExtraProperties() map[string]interface{}
func (*SchemaProperty) String ¶ added in v0.0.20
func (s *SchemaProperty) String() string
func (*SchemaProperty) UnmarshalJSON ¶ added in v0.0.20
func (s *SchemaProperty) UnmarshalJSON(data []byte) error
type SecurityRequirement ¶ added in v0.0.13
type SecurityRequirement struct { Schemes map[string][]string `json:"schemes,omitempty" url:"schemes,omitempty"` // contains filtered or unexported fields }
func (*SecurityRequirement) GetExtraProperties ¶ added in v0.0.13
func (s *SecurityRequirement) GetExtraProperties() map[string]interface{}
func (*SecurityRequirement) String ¶ added in v0.0.13
func (s *SecurityRequirement) String() string
func (*SecurityRequirement) UnmarshalJSON ¶ added in v0.0.13
func (s *SecurityRequirement) UnmarshalJSON(data []byte) error
type SecurityScheme ¶ added in v0.0.13
type SecurityScheme struct { Type SecuritySchemeType `json:"type" url:"type"` Description *string `json:"description,omitempty" url:"description,omitempty"` Name *SecuritySchemeName `json:"name,omitempty" url:"name,omitempty"` In *string `json:"in,omitempty" url:"in,omitempty"` Scheme *string `json:"scheme,omitempty" url:"scheme,omitempty"` BearerFormat *string `json:"bearerFormat,omitempty" url:"bearerFormat,omitempty"` Flow *string `json:"flow,omitempty" url:"flow,omitempty"` AuthorizationUrl *string `json:"authorizationUrl,omitempty" url:"authorizationUrl,omitempty"` TokenUrl *string `json:"tokenUrl,omitempty" url:"tokenUrl,omitempty"` Scopes map[string]string `json:"scopes,omitempty" url:"scopes,omitempty"` Flows *OAuthFlows `json:"flows,omitempty" url:"flows,omitempty"` OpenIdConnectUrl *string `json:"openIdConnectUrl,omitempty" url:"openIdConnectUrl,omitempty"` // contains filtered or unexported fields }
func (*SecurityScheme) GetExtraProperties ¶ added in v0.0.13
func (s *SecurityScheme) GetExtraProperties() map[string]interface{}
func (*SecurityScheme) String ¶ added in v0.0.13
func (s *SecurityScheme) String() string
func (*SecurityScheme) UnmarshalJSON ¶ added in v0.0.13
func (s *SecurityScheme) UnmarshalJSON(data []byte) error
type SecuritySchemeName ¶ added in v0.0.13
type SecuritySchemeName = string
type SecuritySchemeType ¶ added in v0.0.13
type SecuritySchemeType string
const ( SecuritySchemeTypeBasic SecuritySchemeType = "basic" SecuritySchemeTypeApiKey SecuritySchemeType = "apiKey" SecuritySchemeTypeHttp SecuritySchemeType = "http" SecuritySchemeTypeOauth2 SecuritySchemeType = "oauth2" SecuritySchemeTypeOpenIdConnect SecuritySchemeType = "openIdConnect" SecuritySchemeTypeMutualTls SecuritySchemeType = "mutualTLS" )
func NewSecuritySchemeTypeFromString ¶ added in v0.0.13
func NewSecuritySchemeTypeFromString(s string) (SecuritySchemeType, error)
func (SecuritySchemeType) Ptr ¶ added in v0.0.13
func (s SecuritySchemeType) Ptr() *SecuritySchemeType
type ServerType ¶ added in v0.0.23
type ServerType string
const ( ServerTypeApache ServerType = "APACHE" ServerTypeNginx ServerType = "NGINX" )
func NewServerTypeFromString ¶ added in v0.0.23
func NewServerTypeFromString(s string) (ServerType, error)
func (ServerType) Ptr ¶ added in v0.0.23
func (s ServerType) Ptr() *ServerType
type SignatureAlgorithm ¶ added in v0.0.8
type SignatureAlgorithm string
const ( SignatureAlgorithmMd2Rsa SignatureAlgorithm = "MD2RSA" SignatureAlgorithmMd5Rsa SignatureAlgorithm = "MD5RSA" SignatureAlgorithmMd5Ecdsa SignatureAlgorithm = "MD5ECDSA" SignatureAlgorithmSha1Rsa SignatureAlgorithm = "SHA1RSA" SignatureAlgorithmSha256Rsa SignatureAlgorithm = "SHA256RSA" SignatureAlgorithmSha384Rsa SignatureAlgorithm = "SHA384RSA" SignatureAlgorithmSha512Rsa SignatureAlgorithm = "SHA512RSA" SignatureAlgorithmDsasha1 SignatureAlgorithm = "DSASHA1" SignatureAlgorithmDsasha256 SignatureAlgorithm = "DSASHA256" SignatureAlgorithmEcdsasha1 SignatureAlgorithm = "ECDSASHA1" SignatureAlgorithmEcdsasha256 SignatureAlgorithm = "ECDSASHA256" SignatureAlgorithmEcdsasha384 SignatureAlgorithm = "ECDSASHA384" SignatureAlgorithmEcdsasha512 SignatureAlgorithm = "ECDSASHA512" SignatureAlgorithmSha256Rsapss SignatureAlgorithm = "SHA256RSAPSS" SignatureAlgorithmSha384Rsapss SignatureAlgorithm = "SHA384RSAPSS" SignatureAlgorithmSha512Rsapss SignatureAlgorithm = "SHA512RSAPSS" SignatureAlgorithmEd25519 SignatureAlgorithm = "Ed25519" )
func NewSignatureAlgorithmFromString ¶ added in v0.0.8
func NewSignatureAlgorithmFromString(s string) (SignatureAlgorithm, error)
func (SignatureAlgorithm) Ptr ¶ added in v0.0.8
func (s SignatureAlgorithm) Ptr() *SignatureAlgorithm
type TargetInfo ¶ added in v0.0.33
type TargetInfo struct { Target string `json:"target" url:"target"` FuzzAttempts []*FuzzAttemptInfo `json:"fuzzAttempts,omitempty" url:"fuzzAttempts,omitempty"` // contains filtered or unexported fields }
func (*TargetInfo) GetExtraProperties ¶ added in v0.0.33
func (t *TargetInfo) GetExtraProperties() map[string]interface{}
func (*TargetInfo) String ¶ added in v0.0.33
func (t *TargetInfo) String() string
func (*TargetInfo) UnmarshalJSON ¶ added in v0.0.33
func (t *TargetInfo) UnmarshalJSON(data []byte) error
type TlsInfo ¶ added in v0.0.8
type TlsInfo struct { Version *TlsVersion `json:"version,omitempty" url:"version,omitempty"` CipherSuite *string `json:"cipherSuite,omitempty" url:"cipherSuite,omitempty"` Certificates []*Certificate `json:"certificates,omitempty" url:"certificates,omitempty"` // contains filtered or unexported fields }
func (*TlsInfo) GetExtraProperties ¶ added in v0.0.8
func (*TlsInfo) UnmarshalJSON ¶ added in v0.0.8
type TlsVersion ¶ added in v0.0.8
type TlsVersion string
const ( TlsVersionSsl10 TlsVersion = "SSL10" TlsVersionSsl20 TlsVersion = "SSL20" TlsVersionSsl30 TlsVersion = "SSL30" TlsVersionTls10 TlsVersion = "TLS10" TlsVersionTls11 TlsVersion = "TLS11" TlsVersionTls12 TlsVersion = "TLS12" TlsVersionTls13 TlsVersion = "TLS13" TlsVersionUnknown TlsVersion = "UNKNOWN" )
func NewTlsVersionFromString ¶ added in v0.0.8
func NewTlsVersionFromString(s string) (TlsVersion, error)
func (TlsVersion) Ptr ¶ added in v0.0.8
func (t TlsVersion) Ptr() *TlsVersion
type VersionEnumerateAttemptInfo ¶ added in v0.0.23
type VersionEnumerateAttemptInfo struct { Request *GeneralRequestInfo `json:"request,omitempty" url:"request,omitempty"` Response *VersionEnumerateResponseInfo `json:"response,omitempty" url:"response,omitempty"` // contains filtered or unexported fields }
func (*VersionEnumerateAttemptInfo) GetExtraProperties ¶ added in v0.0.23
func (v *VersionEnumerateAttemptInfo) GetExtraProperties() map[string]interface{}
func (*VersionEnumerateAttemptInfo) String ¶ added in v0.0.23
func (v *VersionEnumerateAttemptInfo) String() string
func (*VersionEnumerateAttemptInfo) UnmarshalJSON ¶ added in v0.0.23
func (v *VersionEnumerateAttemptInfo) UnmarshalJSON(data []byte) error
type VersionEnumerateResponseInfo ¶ added in v0.0.23
type VersionEnumerateResponseInfo struct { StatusCode *int `json:"statusCode,omitempty" url:"statusCode,omitempty"` Header *string `json:"header,omitempty" url:"header,omitempty"` VersionType *string `json:"versionType,omitempty" url:"versionType,omitempty"` VersionNumber *string `json:"versionNumber,omitempty" url:"versionNumber,omitempty"` Error *string `json:"error,omitempty" url:"error,omitempty"` // contains filtered or unexported fields }
func (*VersionEnumerateResponseInfo) GetExtraProperties ¶ added in v0.0.23
func (v *VersionEnumerateResponseInfo) GetExtraProperties() map[string]interface{}
func (*VersionEnumerateResponseInfo) String ¶ added in v0.0.23
func (v *VersionEnumerateResponseInfo) String() string
func (*VersionEnumerateResponseInfo) UnmarshalJSON ¶ added in v0.0.23
func (v *VersionEnumerateResponseInfo) UnmarshalJSON(data []byte) error
type VulnType ¶ added in v0.0.20
type VulnType struct { Type string CommandInjectionType CommandInjectionType HeaderInjectionType HeaderInjectionType MisconfigurationType MisconfigurationType }
func NewVulnTypeFromCommandInjectionType ¶ added in v0.0.40
func NewVulnTypeFromCommandInjectionType(value CommandInjectionType) *VulnType
func NewVulnTypeFromHeaderInjectionType ¶ added in v0.0.40
func NewVulnTypeFromHeaderInjectionType(value HeaderInjectionType) *VulnType
func NewVulnTypeFromMisconfigurationType ¶ added in v0.0.40
func NewVulnTypeFromMisconfigurationType(value MisconfigurationType) *VulnType
func (*VulnType) Accept ¶ added in v0.0.40
func (v *VulnType) Accept(visitor VulnTypeVisitor) error
func (VulnType) MarshalJSON ¶ added in v0.0.40
func (*VulnType) UnmarshalJSON ¶ added in v0.0.40
type VulnTypeVisitor ¶ added in v0.0.40
type VulnTypeVisitor interface { VisitCommandInjectionType(CommandInjectionType) error VisitHeaderInjectionType(HeaderInjectionType) error VisitMisconfigurationType(MisconfigurationType) error }
type WebRoute ¶ added in v0.0.21
type WebRoute struct { Url string `json:"url" url:"url"` Path *string `json:"path,omitempty" url:"path,omitempty"` Method *HttpMethod `json:"method,omitempty" url:"method,omitempty"` QueryParams []*QueryParams `json:"queryParams,omitempty" url:"queryParams,omitempty"` BodyParams []*BodyParams `json:"bodyParams,omitempty" url:"bodyParams,omitempty"` // contains filtered or unexported fields }
func (*WebRoute) GetExtraProperties ¶ added in v0.0.21
func (*WebRoute) UnmarshalJSON ¶ added in v0.0.21
type WebServer ¶ added in v0.0.23
type WebServer struct { Target string `json:"target" url:"target"` Attempts []*Attempt `json:"attempts,omitempty" url:"attempts,omitempty"` // contains filtered or unexported fields }
func (*WebServer) GetExtraProperties ¶ added in v0.0.23
func (*WebServer) UnmarshalJSON ¶ added in v0.0.23
type WebServerReport ¶ added in v0.0.23
type WebServerReport struct { Server ServerType `json:"server" url:"server"` Probe ProbeType `json:"probe" url:"probe"` WebServers []*WebServer `json:"webServers,omitempty" url:"webServers,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*WebServerReport) GetExtraProperties ¶ added in v0.0.23
func (w *WebServerReport) GetExtraProperties() map[string]interface{}
func (*WebServerReport) String ¶ added in v0.0.23
func (w *WebServerReport) String() string
func (*WebServerReport) UnmarshalJSON ¶ added in v0.0.23
func (w *WebServerReport) UnmarshalJSON(data []byte) error
type WebServerTypeConfig ¶ added in v0.0.23
type WebServerTypeConfig struct { Targets []string `json:"targets,omitempty" url:"targets,omitempty"` Modules []ModuleName `json:"modules,omitempty" url:"modules,omitempty"` Server ServerType `json:"server" url:"server"` Probe ProbeType `json:"probe" url:"probe"` Timeout int `json:"timeout" url:"timeout"` SuccessfulOnly bool `json:"successfulOnly" url:"successfulOnly"` // contains filtered or unexported fields }
func (*WebServerTypeConfig) GetExtraProperties ¶ added in v0.0.23
func (w *WebServerTypeConfig) GetExtraProperties() map[string]interface{}
func (*WebServerTypeConfig) String ¶ added in v0.0.23
func (w *WebServerTypeConfig) String() string
func (*WebServerTypeConfig) UnmarshalJSON ¶ added in v0.0.23
func (w *WebServerTypeConfig) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.