Skip to content

Commit

Permalink
comment not implemented flags
Browse files Browse the repository at this point in the history
  • Loading branch information
RicYaben committed Oct 17, 2024
1 parent 4b736d3 commit 442776f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/opcua/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ type Flags struct {
Endpoint string `json:"endpoint" description:"Path endpoint in the server"`
BrowseDepth uint `json:"browse-depth" description:"Browse nesting level, one level is enough to prove access and retrival. Default: 0; Max: 10; Recommended: 1;"`

UseHTTP bool `json:"use-http" description:"use HTTP"`
RetryHTTP bool `json:"retry-http" description:"retry over HTTP"`
UseTLS bool `json:"use-tls" description:"Use HTTPS"`
RetryTLS bool `json:"retry-tls" description:"retry to connect with TLS"`
/*
# TODO FIXME [17/10/2024]: This may make sense in the future. Implement it
# Right now is not a priority, but others may want to specify the scheme directly
UseHTTP bool `json:"use-http" description:"use HTTP"`
RetryHTTP bool `json:"retry-http" description:"retry over HTTP"`
UseTLS bool `json:"use-tls" description:"Use HTTPS"`
RetryTLS bool `json:"retry-tls" description:"retry to connect with TLS"`
*/
}

// Module implements the zgrab2.Module interface.
Expand Down

0 comments on commit 442776f

Please sign in to comment.