webscan

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 value.

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func MustParseDate

func MustParseDate(date string) time.Time

MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.

func MustParseDateTime

func MustParseDateTime(datetime string) time.Time

MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.

func Rune

func Rune(r rune) *rune

Rune returns a pointer to the given rune value.

func String

func String(s string) *string

String returns a pointer to the given string value.

func Time

func Time(t time.Time) *time.Time

Time returns a pointer to the given time.Time value.

func UUID

func UUID(u uuid.UUID) *uuid.UUID

UUID returns a pointer to the given uuid.UUID value.

func Uint

func Uint(u uint) *uint

Uint returns a pointer to the given uint value.

func Uint8

func Uint8(u uint8) *uint8

Uint8 returns a pointer to the given uint8 value.

func Uint16

func Uint16(u uint16) *uint16

Uint16 returns a pointer to the given uint16 value.

func Uint32

func Uint32(u uint32) *uint32

Uint32 returns a pointer to the given uint32 value.

func Uint64

func Uint64(u uint64) *uint64

Uint64 returns a pointer to the given uint64 value.

func Uintptr

func Uintptr(u uintptr) *uintptr

Uintptr returns a pointer to the given uintptr value.

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

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

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 (t *TlsInfo) GetExtraProperties() map[string]interface{}

func (*TlsInfo) String added in v0.0.8

func (t *TlsInfo) String() string

func (*TlsInfo) UnmarshalJSON added in v0.0.8

func (t *TlsInfo) UnmarshalJSON(data []byte) error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL