We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95ebf18 commit 29307b1Copy full SHA for 29307b1
modules/exploits/windows/http/dnn_cookie_deserialization_rce.rb
@@ -228,11 +228,11 @@ def exploit
228
229
if @encrypted
230
# Requires either supplied key and IV, or verification code and plaintext
231
- if (!key.blank? && !iv.blank?)
+ if !key.blank? && !iv.blank?
232
@passphrase = key + iv
233
# Key and IV were supplied, don't try and decrypt.
234
@try_decrypt = false
235
- elsif (!@verification_codes.empty? && !@kpt.blank?)
+ elsif !@verification_codes.empty? && !@kpt.blank?
236
@try_decrypt = true
237
else
238
fail_with(Failure::BadConfig, 'You must provide either (VERIFICATION_CODE and VERIFICATION_PLAIN) or (KEY and IV).')
0 commit comments