Documentation
¶
Overview ¶
Package wsdiscovery provides a zgrab2 module that scans for vulnerable WS-Discovery servers. Default Port: 3702 (UDP)
Index ¶
- func IsTargetVulnerable(hexstr string, sock net.Conn) (bool, string, error)
- func RegisterModule()
- type Flags
- type Module
- type Results
- type Scanner
- func (scanner *Scanner) GetName() string
- func (scanner *Scanner) GetPort() uint
- func (scanner *Scanner) GetTrigger() string
- func (scanner *Scanner) Init(flags zgrab2.ScanFlags) error
- func (scanner *Scanner) InitPerSender(senderID int) error
- func (scanner *Scanner) Protocol() string
- func (scanner *Scanner) Scan(target zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTargetVulnerable ¶
Types ¶
type Flags ¶
Flags holds the command-line configuration for the WS-Discovery scan module. Populated by the framework.
type Module ¶
type Module struct { }
Module implements the zgrab2.Module interface.
func (*Module) NewFlags ¶
func (module *Module) NewFlags() interface{}
NewFlags returns a default Flags object.
func (*Module) NewScanner ¶
NewScanner returns a new Scanner instance.
type Results ¶
type Results struct { IsVulnerable bool `json:"is_vulnerable"` FullResponse string `json:"full_response"` }
Results is the struct that is returned to the zgrab2 framework from Scan()
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner implements the zgrab2.Scanner interface.
func (*Scanner) GetTrigger ¶
GetTrigger returns the Trigger defined in the Flags.
func (*Scanner) InitPerSender ¶
InitPerSender initializes the scanner for a given sender.
func (*Scanner) Scan ¶
func (scanner *Scanner) Scan(target zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)
Click to show internal directories.
Click to hide internal directories.