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 6f4ff89 commit 13f4b0dCopy full SHA for 13f4b0d
modules/auxiliary/scanner/http/wordpress_content_injection.rb
@@ -117,9 +117,11 @@ def do_update
117
post_url = full_uri(wordpress_url_post(post[:id]))
118
119
if res && res.code == 200
120
- print_good("SUCCESS: #{post_url}")
+ print_good("SUCCESS: #{post_url} (post updated)")
121
+ elsif res && res.code == 404
122
+ print_error("FAILURE: #{post_url} (invalid post ID)")
123
else
- print_error("FAILURE: #{post_url}")
124
+ print_error("FAILURE: #{post_url} (unknown error)")
125
end
126
127
0 commit comments