Adjusted errors and default returns for the web server imitation.

This commit is contained in:
antisnatchor
2012-04-04 16:05:52 +01:00
parent 6bebb80f61
commit 454280f7de

View File

@@ -74,7 +74,8 @@ module BeEF
"and search for topics titled <b>Web Site Setup</b>, <b>Common Administrative Tasks</b>, and <b>About Custom Error Messages</b>.</li>" +
"</ul>" +
"</TD></TR></TABLE></BODY></HTML>"
else
"Not Found."
end
else
"Not Found."
@@ -94,9 +95,9 @@ module BeEF
headers "Server" => "Microsoft-IIS/7.0",
"X-Powered-By" => "ASP.NET",
"Content-Type" => "text/html"
else
print_error "You have and error in beef.http.web_server_imitation.type! Supported values are: apache, iis."
end
else
print_error "You have and error in beef.http.web_server_imitation.type! Supported values are: apache, iis."
end
end
end