Script tls-alpn

Script types: portrule
Categories: discovery, safe, default

Script Summary

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:

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 library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.


See the documentation for the smtp library.

randomseed, smbbasic, smbport, smbsign

See the documentation for the smb library.


See the documentation for the tls library.

Example Usage

nmap --script=tls-alpn <targets>

Script Output

443/tcp open  https
| tls-alpn:
|   h2
|   spdy/3
|_  http/1.1



  • Daniel Miller

License: Same as Nmap--See