Misc fixes and typos

This commit is contained in:
g0tmi1k
2018-05-14 16:37:14 +01:00
parent 4333ecb989
commit b9fa1e3587
7 changed files with 31 additions and 25 deletions

View File

@@ -268,7 +268,8 @@ def main
end
if wp_target.has_security?
puts info("security.txt available under: #{wp_target.security_url}")
code = get_http_status(wp_target.humans_url)
puts info("security.txt available under: #{wp_target.security_url} [HTTP #{code}]")
wp_target.parse_security_txt.each do |dir|
puts info("Interesting entry from security.txt: #{dir}")