Skip to content

Commit 29307b1

Browse files
committed
Appease msftidy
1 parent 95ebf18 commit 29307b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/http/dnn_cookie_deserialization_rce.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,11 @@ def exploit
228228

229229
if @encrypted
230230
# Requires either supplied key and IV, or verification code and plaintext
231-
if (!key.blank? && !iv.blank?)
231+
if !key.blank? && !iv.blank?
232232
@passphrase = key + iv
233233
# Key and IV were supplied, don't try and decrypt.
234234
@try_decrypt = false
235-
elsif (!@verification_codes.empty? && !@kpt.blank?)
235+
elsif !@verification_codes.empty? && !@kpt.blank?
236236
@try_decrypt = true
237237
else
238238
fail_with(Failure::BadConfig, 'You must provide either (VERIFICATION_CODE and VERIFICATION_PLAIN) or (KEY and IV).')

0 commit comments

Comments
 (0)