mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Add host.name fallback for xmpp-info name selection.
This commit is contained in:
parent
37262e9232
commit
4f6dd097c9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue