Documentation
¶
Index ¶
- type HostScanDetails
- func (h *HostScanDetails) GetExtraProperties() map[string]interface{}
- func (h *HostScanDetails) GetHost() string
- func (h *HostScanDetails) GetIp() string
- func (h *HostScanDetails) GetPorts() []*PortScanDetails
- func (h *HostScanDetails) String() string
- func (h *HostScanDetails) UnmarshalJSON(data []byte) error
- type HostValidateDetails
- func (h *HostValidateDetails) GetExtraProperties() map[string]interface{}
- func (h *HostValidateDetails) GetHost() string
- func (h *HostValidateDetails) GetIp() string
- func (h *HostValidateDetails) GetPortDetails() []*PortValidateDetails
- func (h *HostValidateDetails) String() string
- func (h *HostValidateDetails) UnmarshalJSON(data []byte) error
- type HttpRequest
- func (h *HttpRequest) GetError() *string
- func (h *HttpRequest) GetExtraProperties() map[string]interface{}
- func (h *HttpRequest) GetMethod() string
- func (h *HttpRequest) GetResponseBody() *string
- func (h *HttpRequest) GetResponseCode() *int
- func (h *HttpRequest) GetUrl() string
- func (h *HttpRequest) String() string
- func (h *HttpRequest) UnmarshalJSON(data []byte) error
- type PortScanDetails
- type PortScanReport
- type PortScanValidateConfig
- func (p *PortScanValidateConfig) GetExtraProperties() map[string]interface{}
- func (p *PortScanValidateConfig) GetPorts() *string
- func (p *PortScanValidateConfig) GetScantype() ScanType
- func (p *PortScanValidateConfig) GetSkipTlsVerify() bool
- func (p *PortScanValidateConfig) GetTarget() string
- func (p *PortScanValidateConfig) GetThreads() int
- func (p *PortScanValidateConfig) GetTimeout() int
- func (p *PortScanValidateConfig) GetTopports() *string
- func (p *PortScanValidateConfig) String() string
- func (p *PortScanValidateConfig) UnmarshalJSON(data []byte) error
- type PortScanValidateReport
- func (p *PortScanValidateReport) GetConfig() *PortScanValidateConfig
- func (p *PortScanValidateReport) GetErrors() []string
- func (p *PortScanValidateReport) GetExtraProperties() map[string]interface{}
- func (p *PortScanValidateReport) GetHosts() []*HostValidateDetails
- func (p *PortScanValidateReport) String() string
- func (p *PortScanValidateReport) UnmarshalJSON(data []byte) error
- type PortValidateDetails
- func (p *PortValidateDetails) GetExtraProperties() map[string]interface{}
- func (p *PortValidateDetails) GetHostRequest() *HttpRequest
- func (p *PortValidateDetails) GetIpRequest() *HttpRequest
- func (p *PortValidateDetails) GetPort() int
- func (p *PortValidateDetails) String() string
- func (p *PortValidateDetails) UnmarshalJSON(data []byte) error
- type ScanType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostScanDetails ¶
type HostScanDetails struct {
Host string `json:"host" url:"host"`
Ip string `json:"ip" url:"ip"`
Ports []*PortScanDetails `json:"ports,omitempty" url:"ports,omitempty"`
// contains filtered or unexported fields
}
func (*HostScanDetails) GetExtraProperties ¶
func (h *HostScanDetails) GetExtraProperties() map[string]interface{}
func (*HostScanDetails) GetHost ¶ added in v0.0.25
func (h *HostScanDetails) GetHost() string
func (*HostScanDetails) GetIp ¶ added in v0.0.25
func (h *HostScanDetails) GetIp() string
func (*HostScanDetails) GetPorts ¶ added in v0.0.25
func (h *HostScanDetails) GetPorts() []*PortScanDetails
func (*HostScanDetails) String ¶
func (h *HostScanDetails) String() string
func (*HostScanDetails) UnmarshalJSON ¶
func (h *HostScanDetails) UnmarshalJSON(data []byte) error
type HostValidateDetails ¶
type HostValidateDetails struct {
Host string `json:"host" url:"host"`
Ip string `json:"ip" url:"ip"`
PortDetails []*PortValidateDetails `json:"portDetails,omitempty" url:"portDetails,omitempty"`
// contains filtered or unexported fields
}
func (*HostValidateDetails) GetExtraProperties ¶
func (h *HostValidateDetails) GetExtraProperties() map[string]interface{}
func (*HostValidateDetails) GetHost ¶ added in v0.0.25
func (h *HostValidateDetails) GetHost() string
func (*HostValidateDetails) GetIp ¶ added in v0.0.25
func (h *HostValidateDetails) GetIp() string
func (*HostValidateDetails) GetPortDetails ¶ added in v0.0.25
func (h *HostValidateDetails) GetPortDetails() []*PortValidateDetails
func (*HostValidateDetails) String ¶
func (h *HostValidateDetails) String() string
func (*HostValidateDetails) UnmarshalJSON ¶
func (h *HostValidateDetails) UnmarshalJSON(data []byte) error
type HttpRequest ¶
type HttpRequest struct {
Url string `json:"url" url:"url"`
Method string `json:"method" url:"method"`
ResponseCode *int `json:"responseCode,omitempty" url:"responseCode,omitempty"`
ResponseBody *string `json:"responseBody,omitempty" url:"responseBody,omitempty"`
Error *string `json:"error,omitempty" url:"error,omitempty"`
// contains filtered or unexported fields
}
func (*HttpRequest) GetError ¶ added in v0.0.25
func (h *HttpRequest) GetError() *string
func (*HttpRequest) GetExtraProperties ¶
func (h *HttpRequest) GetExtraProperties() map[string]interface{}
func (*HttpRequest) GetMethod ¶ added in v0.0.25
func (h *HttpRequest) GetMethod() string
func (*HttpRequest) GetResponseBody ¶ added in v0.0.25
func (h *HttpRequest) GetResponseBody() *string
func (*HttpRequest) GetResponseCode ¶ added in v0.0.25
func (h *HttpRequest) GetResponseCode() *int
func (*HttpRequest) GetUrl ¶ added in v0.0.25
func (h *HttpRequest) GetUrl() string
func (*HttpRequest) String ¶
func (h *HttpRequest) String() string
func (*HttpRequest) UnmarshalJSON ¶
func (h *HttpRequest) UnmarshalJSON(data []byte) error
type PortScanDetails ¶
type PortScanDetails struct {
Port int `json:"port" url:"port"`
Protocol string `json:"protocol" url:"protocol"`
// contains filtered or unexported fields
}
func (*PortScanDetails) GetExtraProperties ¶
func (p *PortScanDetails) GetExtraProperties() map[string]interface{}
func (*PortScanDetails) GetPort ¶ added in v0.0.25
func (p *PortScanDetails) GetPort() int
func (*PortScanDetails) GetProtocol ¶ added in v0.0.25
func (p *PortScanDetails) GetProtocol() string
func (*PortScanDetails) String ¶
func (p *PortScanDetails) String() string
func (*PortScanDetails) UnmarshalJSON ¶
func (p *PortScanDetails) UnmarshalJSON(data []byte) error
type PortScanReport ¶
type PortScanReport struct {
Hosts []*HostScanDetails `json:"hosts,omitempty" url:"hosts,omitempty"`
Errors []string `json:"errors,omitempty" url:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*PortScanReport) GetErrors ¶ added in v0.0.25
func (p *PortScanReport) GetErrors() []string
func (*PortScanReport) GetExtraProperties ¶
func (p *PortScanReport) GetExtraProperties() map[string]interface{}
func (*PortScanReport) GetHosts ¶ added in v0.0.25
func (p *PortScanReport) GetHosts() []*HostScanDetails
func (*PortScanReport) String ¶
func (p *PortScanReport) String() string
func (*PortScanReport) UnmarshalJSON ¶
func (p *PortScanReport) UnmarshalJSON(data []byte) error
type PortScanValidateConfig ¶ added in v0.0.17
type PortScanValidateConfig struct {
Target string `json:"target" url:"target"`
Ports *string `json:"ports,omitempty" url:"ports,omitempty"`
Topports *string `json:"topports,omitempty" url:"topports,omitempty"`
Threads int `json:"threads" url:"threads"`
Scantype ScanType `json:"scantype" url:"scantype"`
Timeout int `json:"timeout" url:"timeout"`
SkipTlsVerify bool `json:"skipTLSVerify" url:"skipTLSVerify"`
// contains filtered or unexported fields
}
func (*PortScanValidateConfig) GetExtraProperties ¶ added in v0.0.17
func (p *PortScanValidateConfig) GetExtraProperties() map[string]interface{}
func (*PortScanValidateConfig) GetPorts ¶ added in v0.0.25
func (p *PortScanValidateConfig) GetPorts() *string
func (*PortScanValidateConfig) GetScantype ¶ added in v0.0.25
func (p *PortScanValidateConfig) GetScantype() ScanType
func (*PortScanValidateConfig) GetSkipTlsVerify ¶ added in v0.0.25
func (p *PortScanValidateConfig) GetSkipTlsVerify() bool
func (*PortScanValidateConfig) GetTarget ¶ added in v0.0.25
func (p *PortScanValidateConfig) GetTarget() string
func (*PortScanValidateConfig) GetThreads ¶ added in v0.0.25
func (p *PortScanValidateConfig) GetThreads() int
func (*PortScanValidateConfig) GetTimeout ¶ added in v0.0.25
func (p *PortScanValidateConfig) GetTimeout() int
func (*PortScanValidateConfig) GetTopports ¶ added in v0.0.25
func (p *PortScanValidateConfig) GetTopports() *string
func (*PortScanValidateConfig) String ¶ added in v0.0.17
func (p *PortScanValidateConfig) String() string
func (*PortScanValidateConfig) UnmarshalJSON ¶ added in v0.0.17
func (p *PortScanValidateConfig) UnmarshalJSON(data []byte) error
type PortScanValidateReport ¶
type PortScanValidateReport struct {
Hosts []*HostValidateDetails `json:"hosts,omitempty" url:"hosts,omitempty"`
Config *PortScanValidateConfig `json:"config,omitempty" url:"config,omitempty"`
Errors []string `json:"errors,omitempty" url:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*PortScanValidateReport) GetConfig ¶ added in v0.0.25
func (p *PortScanValidateReport) GetConfig() *PortScanValidateConfig
func (*PortScanValidateReport) GetErrors ¶ added in v0.0.25
func (p *PortScanValidateReport) GetErrors() []string
func (*PortScanValidateReport) GetExtraProperties ¶
func (p *PortScanValidateReport) GetExtraProperties() map[string]interface{}
func (*PortScanValidateReport) GetHosts ¶ added in v0.0.25
func (p *PortScanValidateReport) GetHosts() []*HostValidateDetails
func (*PortScanValidateReport) String ¶
func (p *PortScanValidateReport) String() string
func (*PortScanValidateReport) UnmarshalJSON ¶
func (p *PortScanValidateReport) UnmarshalJSON(data []byte) error
type PortValidateDetails ¶
type PortValidateDetails struct {
Port int `json:"port" url:"port"`
IpRequest *HttpRequest `json:"IpRequest,omitempty" url:"IpRequest,omitempty"`
HostRequest *HttpRequest `json:"HostRequest,omitempty" url:"HostRequest,omitempty"`
// contains filtered or unexported fields
}
func (*PortValidateDetails) GetExtraProperties ¶
func (p *PortValidateDetails) GetExtraProperties() map[string]interface{}
func (*PortValidateDetails) GetHostRequest ¶ added in v0.0.25
func (p *PortValidateDetails) GetHostRequest() *HttpRequest
func (*PortValidateDetails) GetIpRequest ¶ added in v0.0.25
func (p *PortValidateDetails) GetIpRequest() *HttpRequest
func (*PortValidateDetails) GetPort ¶ added in v0.0.25
func (p *PortValidateDetails) GetPort() int
func (*PortValidateDetails) String ¶
func (p *PortValidateDetails) String() string
func (*PortValidateDetails) UnmarshalJSON ¶
func (p *PortValidateDetails) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.