Update output.rb
This commit is contained in:
@@ -11,17 +11,12 @@ class WpItem
|
|||||||
#puts " | WordPress: #{wordpress_url}" if wordpress_org_item?
|
#puts " | WordPress: #{wordpress_url}" if wordpress_org_item?
|
||||||
puts " | Readme: #{readme_url}" if has_readme?
|
puts " | Readme: #{readme_url}" if has_readme?
|
||||||
puts " | Changelog: #{changelog_url}" if has_changelog?
|
puts " | Changelog: #{changelog_url}" if has_changelog?
|
||||||
puts " |"
|
|
||||||
puts " | " + red('[!]') + " Directory listing is enabled: #{url}" if has_directory_listing?
|
puts " | " + red('[!]') + " Directory listing is enabled: #{url}" if has_directory_listing?
|
||||||
puts " | " + red('[!]') + " An error_log file has been found: #{error_log_url}" if has_error_log?
|
puts " | " + red('[!]') + " An error_log file has been found: #{error_log_url}" if has_error_log?
|
||||||
|
|
||||||
if respond_to?(:additional_output)
|
additional_output(verbose) if respond_to?(:additional_output)
|
||||||
additional_output(verbose)
|
|
||||||
end
|
|
||||||
|
|
||||||
vulnerabilities.output
|
vulnerabilities.output
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user