Nmap Development mailing list archives

[PATCH 1/1] Updated ALPN IDs


From: Ariel Otilibili <otilibil () eurecom fr>
Date: Sun, 15 Sep 2024 15:01:34 +0200

```
$ URL=https://www.iana.org/assignments/tls-extensiontype-values/alpn-protocol-ids.csv
$ curl -sL ${URL} |
    perl -nE 'say $& if /(?<=\"\").*(?=\"\")/' |
    sort > iana;
 < scripts/tls-alpn.nse perl -nE 'say $& if m!(?<=")[\w/\.\-]+(?=",)!' |
    sort > nmap.alpn;
diff iana nmap.alpn | grep '<'

< co
< postgresql

$ curl --silent ${URL} --output /dev/null -w "%{header_json}" | jq -r '."last-modified" | .[]'

Mon, 26 Aug 2024 17:55:25 GMT
```

Signed-off-by: Ariel Otilibili <otilibil () eurecom fr>
---
 scripts/tls-alpn.nse | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/tls-alpn.nse b/scripts/tls-alpn.nse
index 4dabadf7e..4053f4844 100644
--- a/scripts/tls-alpn.nse
+++ b/scripts/tls-alpn.nse
@@ -197,6 +197,8 @@ action = function(host, port)
     "sip/2",
     "tds/8.0",
     "dicom",
+    "co",
+    "postgresql"
     -- Other sources
     "grpc-exp", -- gRPC, see grpc.io
   }
-- 
2.46.0

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at https://seclists.org/nmap-dev/


Current thread: