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 Certificate
- type FingerprintReport
- type FuzzPathReport
- type HttpHeaders
- type PublicKeyAlgorithm
- type SignatureAlgorithm
- type TlsInfo
- type TlsVersion
- type UrlDetails
- type WebpageCaptureReport
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 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 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 FuzzPathReport ¶
type FuzzPathReport struct {
Target string `json:"target" url:"target"`
Urls []*UrlDetails `json:"urls,omitempty" url:"urls,omitempty"`
UrlsSkippedFromBaseMatch []*UrlDetails `json:"urlsSkippedFromBaseMatch,omitempty" url:"urlsSkippedFromBaseMatch,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 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 PublicKeyAlgorithm ¶ added in v0.0.8
type PublicKeyAlgorithm string
const ( PublicKeyAlgorithmRsa PublicKeyAlgorithm = "RSA" PublicKeyAlgorithmDsa PublicKeyAlgorithm = "DSA" PublicKeyAlgorithmEcdsa PublicKeyAlgorithm = "ECDSA" PublicKeyAlgorithmEd25519 PublicKeyAlgorithm = "Ed25519" 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 SignatureAlgorithm ¶ added in v0.0.8
type SignatureAlgorithm string
const ( SignatureAlgorithmMd2Rsa SignatureAlgorithm = "MD2RSA" SignatureAlgorithmMd5Rsa SignatureAlgorithm = "MD5RSA" 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 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 UrlDetails ¶
type UrlDetails struct {
Url string `json:"url" url:"url"`
Status string `json:"status" url:"status"`
Size int `json:"size" url:"size"`
// contains filtered or unexported fields
}
func (*UrlDetails) GetExtraProperties ¶
func (u *UrlDetails) GetExtraProperties() map[string]interface{}
func (*UrlDetails) String ¶
func (u *UrlDetails) String() string
func (*UrlDetails) UnmarshalJSON ¶
func (u *UrlDetails) UnmarshalJSON(data []byte) error
type WebpageCaptureReport ¶ added in v0.0.8
type WebpageCaptureReport 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 (*WebpageCaptureReport) GetExtraProperties ¶ added in v0.0.8
func (w *WebpageCaptureReport) GetExtraProperties() map[string]interface{}
func (*WebpageCaptureReport) String ¶ added in v0.0.8
func (w *WebpageCaptureReport) String() string
func (*WebpageCaptureReport) UnmarshalJSON ¶ added in v0.0.8
func (w *WebpageCaptureReport) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.