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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user