diff --git a/lib/msf/core/db_manager/http/servlet/service_servlet.rb b/lib/msf/core/db_manager/http/servlet/service_servlet.rb index 51fdf24593..30eb292d2f 100644 --- a/lib/msf/core/db_manager/http/servlet/service_servlet.rb +++ b/lib/msf/core/db_manager/http/servlet/service_servlet.rb @@ -24,7 +24,8 @@ module ServiceServlet begin opts = params.symbolize_keys data = get_db.services(opts) - set_json_response(data) + includes = [:host] + set_json_response(data, includes) rescue Exception => e set_error_on_response(e) end