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 280e10d commit 564488aCopy full SHA for 564488a
modules/exploits/linux/http/vap2500_tools_command_exec.rb
@@ -90,7 +90,7 @@ def exploit
90
'Cookie' => "p=1b3231655cebb7a1f783eddf27d254ca", # md5("super")
91
}
92
})
93
- if res and res.code == 200 and res.body.to_s =~ /TOOLS - COMMAND/
+ if res && res.code == 200 && res.body.to_s =~ /TOOLS - COMMAND/
94
print_good("#{peer} - Command sent successfully")
95
else
96
fail_with(Failure::UnexpectedReply, "#{peer} - Command execution failed")
0 commit comments