Documentation ¶
Index ¶
- type BasePayload
- type CSTIPayload
- type GenericPayload
- type HostHeaderInjectionPayload
- type Log4ShellPayload
- type PathTraversalCharacters
- type PathTraversalPayload
- type PayloadInteractionData
- type PayloadInterface
- func GenerateLog4ShellPayload(im *integrations.InteractionsManager) (payloads PayloadInterface)
- func GetCSTIPayloads() (payloads []PayloadInterface)
- func GetGraphQLIntrospectionPayload() PayloadInterface
- func GetHostHeaderInjectionPayloads() (payloads []PayloadInterface)
- func GetSimpleGraphQLPayload() PayloadInterface
- func GetXSSPayloads() []PayloadInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasePayload ¶
type BasePayload struct{}
func (BasePayload) GetInteractionData ¶
func (p BasePayload) GetInteractionData() PayloadInteractionData
type CSTIPayload ¶
type CSTIPayload struct { BasePayload Value string Platform string }
func (CSTIPayload) GetValue ¶
func (p CSTIPayload) GetValue() string
GetValue gets the payload value as string
func (CSTIPayload) MatchAgainstString ¶
func (p CSTIPayload) MatchAgainstString(text string) (bool, error)
MatchAgainstString Checks if the payload match against a string
type GenericPayload ¶
type GenericPayload struct { BasePayload Value string Platform string }
func (GenericPayload) GetValue ¶
func (p GenericPayload) GetValue() string
GetValue gets the payload value as string
func (GenericPayload) MatchAgainstString ¶
func (p GenericPayload) MatchAgainstString(text string) (bool, error)
MatchAgainstString Checks if the payload match against a string
type HostHeaderInjectionPayload ¶
type HostHeaderInjectionPayload struct { BasePayload Value string }
func (HostHeaderInjectionPayload) GetValue ¶
func (p HostHeaderInjectionPayload) GetValue() string
GetValue gets the payload value as string
func (HostHeaderInjectionPayload) MatchAgainstString ¶
func (p HostHeaderInjectionPayload) MatchAgainstString(text string) (bool, error)
MatchAgainstString Checks if the payload match against a string
type Log4ShellPayload ¶
func (Log4ShellPayload) GetInteractionData ¶
func (p Log4ShellPayload) GetInteractionData() PayloadInteractionData
func (Log4ShellPayload) GetValue ¶
func (p Log4ShellPayload) GetValue() string
GetValue gets the payload value as string
func (Log4ShellPayload) MatchAgainstString ¶
func (p Log4ShellPayload) MatchAgainstString(text string) (bool, error)
MatchAgainstString Checks if the payload match against a string
type PathTraversalCharacters ¶
type PathTraversalCharacters struct {
// contains filtered or unexported fields
}
type PathTraversalPayload ¶
type PathTraversalPayload struct { BasePayload Value string Regex string }
TemplateLanguagePayload Holds a payload and a regex pattern to verify it
func GetPathTraversalPayloads ¶
func GetPathTraversalPayloads(depth int, platform string) (payloads []PathTraversalPayload)
GetPathTraversalPayloads generates a list of path transversals payloads for a target platform
func (PathTraversalPayload) GetValue ¶
func (p PathTraversalPayload) GetValue() string
GetValue gets the payload value
func (PathTraversalPayload) MatchAgainstString ¶
func (p PathTraversalPayload) MatchAgainstString(text string) (bool, error)
MatchAgainstString Checks if the payload match against a string
type PayloadInteractionData ¶
type PayloadInterface ¶
type PayloadInterface interface { GetValue() string MatchAgainstString(string) (bool, error) GetInteractionData() PayloadInteractionData }
PayloadInterface needed to implement if want to use the payloads with the fuzzer
func GenerateLog4ShellPayload ¶
func GenerateLog4ShellPayload(im *integrations.InteractionsManager) (payloads PayloadInterface)
func GetCSTIPayloads ¶
func GetCSTIPayloads() (payloads []PayloadInterface)
func GetGraphQLIntrospectionPayload ¶
func GetGraphQLIntrospectionPayload() PayloadInterface
func GetHostHeaderInjectionPayloads ¶
func GetHostHeaderInjectionPayloads() (payloads []PayloadInterface)
func GetSimpleGraphQLPayload ¶
func GetSimpleGraphQLPayload() PayloadInterface
func GetXSSPayloads ¶
func GetXSSPayloads() []PayloadInterface