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 21e741b commit 1f4ff30Copy full SHA for 1f4ff30
modules/exploits/unix/webapp/wp_phpmailer_host_header.rb
@@ -137,7 +137,7 @@ def send_request_payload(command)
137
)
138
139
if res && !res.redirect?
140
- if res.code == 200
+ if res.code == 200 && res.body.include?('login_error')
141
fail_with(Failure::NoAccess, 'WordPress username may be incorrect')
142
elsif res.code == 400 && res.headers['Server'] =~ /^Apache/
143
fail_with(Failure::NotVulnerable, 'HttpProtocolOptions may be Strict')
0 commit comments