Show the URL, print an OK error for unknown requests

git-svn-id: file:///home/svn/framework3/trunk@9058 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore
2010-04-13 16:05:37 +00:00
parent 32b8f366de
commit 52d17d73da
+4 -3
View File
@@ -66,7 +66,7 @@ module ReverseHttps
dlog("Reverse HTTPS listener started on http://#{datastore['LHOST']}:#{datastore['LPORT']}/", 'core', LEV_2)
print_status("HTTPS listener started.")
print_status("HTTPS listener started on http://#{datastore['LHOST']}:#{datastore['LPORT']}/")
end
#
@@ -133,8 +133,9 @@ protected
return
else
resp.code = 404
resp.message = "Not found"
resp.code = 200
resp.message = "OK"
resp.body = "<h3>No site configured at this address</h3>"
end
cli.send_response(resp) if (resp)