detect robots.txt

This commit is contained in:
Christian Mehlmauer
2013-01-29 10:51:11 +01:00
parent b121de8b2b
commit a4c0e44c47
3 changed files with 35 additions and 1 deletions

View File

@@ -151,6 +151,10 @@ begin
puts
end
if wp_target.has_robots?
puts green('[+]') + " robots.txt available under '#{wp_target.robots_url}'"
end
if wp_target.has_readme?
puts red('[!]') + " The WordPress '#{wp_target.readme_url}' file exists"
end