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 b06895b commit 0d56676Copy full SHA for 0d56676
modules/auxiliary/scanner/http/wordpress_content_injection.rb
@@ -66,7 +66,7 @@ def check_host(_ip)
66
67
def run_host(_ip)
68
if !wordpress_and_online?
69
- print_error("WordPress not detected at #{full_uri}")
+ vprint_error("WordPress not detected at #{full_uri}")
70
return
71
end
72
@@ -157,6 +157,8 @@ def list_posts
157
password: post['content']['protected']
158
}
159
160
+ elsif res && (error = res.get_json_document['message'])
161
+ vprint_error("Failed to list posts: #{error}")
162
163
164
posts
0 commit comments