Documentation ¶
Index ¶
- type DeleteScanRequest
- type DeleteScanResponse
- type GetScannerDetailsRequest
- type GetScannerDetailsResponse
- type GetScansRequest
- type GetScansResponse
- type GetVersionRequest
- type GetVersionResponse
- type HelpConfig
- type HelpResponse
- type Result
- type ScannerParam
- type StartScan
- type StartScanRequest
- type StartScanResponse
- type StopScanRequest
- type StopScanResponse
- type Target
- type VtGroup
- type VtSelection
- type VtSingle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteScanRequest ¶
type DeleteScanResponse ¶
type GetScannerDetailsResponse ¶
type GetScannerDetailsResponse struct { XMLName xml.Name `xml:"get_scanner_details_response"` Text string `xml:",chardata"` StatusText string `xml:"status_text,attr"` Status int `xml:"status,attr"` Description string `xml:"description"` ScannerParams struct { Text string `xml:",chardata"` ScannerParam []struct { Text string `xml:",chardata"` ID string `xml:"id,attr"` Type bool `xml:"type,attr"` Name string `xml:"name"` Description string `xml:"description"` Default string `xml:"default"` } `xml:"scanner_param"` } `xml:"scanner_params"` }
type GetScansRequest ¶
type GetScansResponse ¶
type GetScansResponse struct { XMLName xml.Name `xml:"get_scans_response"` Text string `xml:",chardata"` StatusText string `xml:"status_text,attr"` Status int `xml:"status,attr"` Scan struct { Text string `xml:",chardata"` ID string `xml:"id,attr"` Target string `xml:"target,attr"` EndTime string `xml:"end_time,attr"` Progress float32 `xml:"progress,attr"` StartTime string `xml:"start_time,attr"` Results struct { Text string `xml:",chardata"` Result []Result `xml:"result"` } `xml:"results"` } `xml:"scan"` }
type GetVersionRequest ¶
type GetVersionResponse ¶
type GetVersionResponse struct { XMLName xml.Name `xml:"get_version_response"` Text string `xml:",chardata"` StatusText string `xml:"status_text,attr"` Status int `xml:"status,attr"` Protocol struct { Text string `xml:",chardata"` Version string `xml:"version"` Name string `xml:"name"` } `xml:"protocol"` Daemon struct { Text string `xml:",chardata"` Version string `xml:"version"` Name string `xml:"name"` } `xml:"daemon"` Scanner struct { Text string `xml:",chardata"` Version string `xml:"version"` Name string `xml:"name"` } `xml:"scanner"` }
type HelpConfig ¶
type HelpResponse ¶
type HelpResponse struct { XMLName xml.Name `xml:"help_response"` Text string `xml:",chardata"` StatusText string `xml:"status_text,attr"` Status int `xml:"status,attr"` DeleteScan struct { Text string `xml:",chardata"` Attributes struct { Text string `xml:",chardata"` ScanID string `xml:"scan_id"` } `xml:"attributes"` Elements string `xml:"elements"` Description string `xml:"description"` } `xml:"delete_scan"` Help struct { Text string `xml:",chardata"` Attributes struct { Text string `xml:",chardata"` Format string `xml:"format"` } `xml:"attributes"` Elements string `xml:"elements"` Description string `xml:"description"` } `xml:"help"` GetVersion struct { Text string `xml:",chardata"` Attributes string `xml:"attributes"` Elements string `xml:"elements"` Description string `xml:"description"` } `xml:"get_version"` StopScan []struct { Text string `xml:",chardata"` Attributes struct { Text string `xml:",chardata"` ScanID string `xml:"scan_id"` } `xml:"attributes"` Elements string `xml:"elements"` Description string `xml:"description"` } `xml:"stop_scan"` GetScannerDetails struct { Text string `xml:",chardata"` Attributes string `xml:"attributes"` Elements string `xml:"elements"` Description string `xml:"description"` } `xml:"get_scanner_details"` StartScan struct { Text string `xml:",chardata"` Attributes struct { Text string `xml:",chardata"` ScanID string `xml:"scan_id"` Target string `xml:"target"` Ports string `xml:"ports"` } `xml:"attributes"` Elements struct { Text string `xml:",chardata"` ScannerParams struct { Text string `xml:",chardata"` Profile string `xml:"profile"` TargetPort string `xml:"target_port"` UseHttps string `xml:"use_https"` W3afTimeout string `xml:"w3af_timeout"` } `xml:"scanner_params"` } `xml:"elements"` Description string `xml:"description"` } `xml:"start_scan"` GetScans struct { Text string `xml:",chardata"` Attributes struct { Text string `xml:",chardata"` ScanID string `xml:"scan_id"` Details string `xml:"details"` } `xml:"attributes"` Elements string `xml:"elements"` Description string `xml:"description"` } `xml:"get_scans"` }
type ScannerParam ¶
type StartScan ¶
type StartScan struct { XMLName xml.Name `xml:"start_scan"` Text string `xml:",chardata"` Parallel string `xml:"parallel,attr"` ScannerParams []ScannerParam `xml:"scanner_params"` VtSelection VtSelection `xml:"vt_selection"` Targets struct { Text string `xml:",chardata"` Targets []Target `xml:"target"` } `xml:"targets"` }
New version
type StartScanRequest ¶
type StartScanRequest struct { XMLName xml.Name `xml:"start_scan"` Text string `xml:",chardata"` Target string `xml:"target,attr"` Ports string `xml:"ports,attr"` ScannerParams []ScannerParam `xml:"scanner_params"` VtSelection VtSelection `xml:"vt_selection"` }
StartScanRequest @deprecated
type StartScanResponse ¶
type StopScanRequest ¶
type StopScanResponse ¶
type Target ¶
type Target struct { Text string `xml:",chardata"` Hosts string `xml:"hosts"` Ports string `xml:"ports"` Credentials string `xml:"credentials"` ExcludeHosts string `xml:"exclude_hosts"` FinishedHosts string `xml:"finished_hosts"` AliveTest string `xml:"alive_test"` AliveTestMethods struct { Text string `xml:",chardata"` Icmp string `xml:"icmp"` TcpAck string `xml:"tcp_ack"` TcpSyn string `xml:"tcp_syn"` Arp string `xml:"arp"` ConsiderAlive string `xml:"consider_alive"` } `xml:"alive_test_methods"` }
type VtSelection ¶
Click to show internal directories.
Click to hide internal directories.