logo
DATABASE RESOURCES PRICING ABOUT US

tls-alpn NSE Script

Description

Enumerates a TLS server's supported application-layer protocols using the ALPN protocol. Repeated queries are sent to determine which of the registered protocols are supported. For more information, see: * <https://tools.ietf.org/html/rfc7301> ## Script Arguments #### mssql.domain, mssql.instance-all, mssql.instance-name, mssql.instance-port, mssql.password, mssql.protocol, mssql.scanned-ports-only, mssql.timeout, mssql.username See the documentation for the [mssql](<../lib/mssql.html#script-args>) library. #### smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername See the documentation for the [smbauth](<../lib/smbauth.html#script-args>) library. #### smtp.domain See the documentation for the [smtp](<../lib/smtp.html#script-args>) library. #### randomseed, smbbasic, smbport, smbsign See the documentation for the [smb](<../lib/smb.html#script-args>) library. #### tls.servername See the documentation for the [tls](<../lib/tls.html#script-args>) library. ## Example Usage nmap --script=tls-alpn <targets> ## Script Output 443/tcp open https | tls-alpn: | h2 | spdy/3 |_ http/1.1 ## Requires * [nmap](<../lib/nmap.html>) * [shortport](<../lib/shortport.html>) * [stdnse](<../lib/stdnse.html>) * [string](<>) * [table](<>) * [sslcert](<../lib/sslcert.html>) * [tls](<../lib/tls.html>) * * *


Related