From 9d7f5260809ba56f3bf2edc3c1e69885821206e5 Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 23 Oct 2024 19:10:56 +0200 Subject: [PATCH] use shortport.http --- datadir/scripts/http-info.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datadir/scripts/http-info.nse b/datadir/scripts/http-info.nse index d64e13f..885c5cd 100644 --- a/datadir/scripts/http-info.nse +++ b/datadir/scripts/http-info.nse @@ -23,7 +23,7 @@ categories = {"discovery", "intrusive"} author = "Adrien Malingrey" license = "Same as Nmap--See https://nmap.org/book/man-legal.html" -portrule = shortport.service({"http", "https", "ssl"}) +portrule = shortport.http local http = require "http" local stdnse = require "stdnse"