mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 09:59:04 +00:00
Add host.name fallback for xmpp-info name selection.
This commit is contained in:
@@ -518,7 +518,7 @@ end
|
||||
|
||||
portrule = shortport.port_or_service({5222, 5269}, {"jabber", "xmpp-client", "xmpp-server"})
|
||||
action = function(host, port)
|
||||
local server_name = stdnse.get_script_args("xmpp-info.server_name") or host.targetname
|
||||
local server_name = stdnse.get_script_args("xmpp-info.server_name") or host.targetname or host.name
|
||||
local alt_server_name = stdnse.get_script_args("xmpp-info.alt_server_name") or "."
|
||||
local err_tmp = { {}, {} }
|
||||
local id_tls
|
||||
|
||||
Reference in New Issue
Block a user