mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 22:35:27 +00:00
Correct typo "Ciper" to "Cipher" (#3468)
This commit is contained in:
parent
f8c5a45966
commit
5b97536c0e
@ -65,7 +65,7 @@ type Request struct {
|
|||||||
MaxVersion string `yaml:"max_version,omitempty" json:"max_version,omitempty" jsonschema:"title=Max. TLS version,description=Max tls version - automatic if not specified.,enum=sslv3,enum=tls10,enum=tls11,enum=tls12,enum=tls13"`
|
MaxVersion string `yaml:"max_version,omitempty" json:"max_version,omitempty" jsonschema:"title=Max. TLS version,description=Max tls version - automatic if not specified.,enum=sslv3,enum=tls10,enum=tls11,enum=tls12,enum=tls13"`
|
||||||
// description: |
|
// description: |
|
||||||
// Client Cipher Suites - auto if not specified.
|
// Client Cipher Suites - auto if not specified.
|
||||||
CiperSuites []string `yaml:"cipher_suites,omitempty" json:"cipher_suites,omitempty"`
|
CipherSuites []string `yaml:"cipher_suites,omitempty" json:"cipher_suites,omitempty"`
|
||||||
// description: |
|
// description: |
|
||||||
// Tls Scan Mode - auto if not specified
|
// Tls Scan Mode - auto if not specified
|
||||||
// values:
|
// values:
|
||||||
@ -83,7 +83,7 @@ type Request struct {
|
|||||||
|
|
||||||
// CanCluster returns true if the request can be clustered.
|
// CanCluster returns true if the request can be clustered.
|
||||||
func (request *Request) CanCluster(other *Request) bool {
|
func (request *Request) CanCluster(other *Request) bool {
|
||||||
if len(request.CiperSuites) > 0 || request.MinVersion != "" || request.MaxVersion != "" {
|
if len(request.CipherSuites) > 0 || request.MinVersion != "" || request.MaxVersion != "" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if request.Address != other.Address || request.ScanMode != other.ScanMode {
|
if request.Address != other.Address || request.ScanMode != other.ScanMode {
|
||||||
@ -127,7 +127,7 @@ func (request *Request) Compile(options *protocols.ExecuterOptions) error {
|
|||||||
MisMatched: true,
|
MisMatched: true,
|
||||||
MinVersion: request.MinVersion,
|
MinVersion: request.MinVersion,
|
||||||
MaxVersion: request.MaxVersion,
|
MaxVersion: request.MaxVersion,
|
||||||
Ciphers: request.CiperSuites,
|
Ciphers: request.CipherSuites,
|
||||||
WildcardCertCheck: true,
|
WildcardCertCheck: true,
|
||||||
Retries: request.options.Options.Retries,
|
Retries: request.options.Options.Retries,
|
||||||
Timeout: request.options.Options.Timeout,
|
Timeout: request.options.Options.Timeout,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user