Skip to content

Commit d52593f

Browse files
committed
Rubocop fix
1 parent 928634b commit d52593f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/craftcms_ftp_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def check
179179
'vars_get' => { '--configPath' => "/#{nonce}" }
180180
)
181181

182-
if res&.body&.include?('mkdir()') && res&.body&.include?(nonce)
182+
if res&.body&.include?('mkdir()') && res.body.include?(nonce)
183183
CheckCode::Vulnerable
184184
else
185185
CheckCode::Safe

0 commit comments

Comments
 (0)