ajp-headers.nse 說明
對 Apache JServ 提出 GET 或 HEAD 來得到 header 相關資料 官方網站: https://nmap.org/nsedoc/scripts/ajp-headers.html 內容 local ajp = require "ajp" local shortport = require "shortport" local stdnse = require "stdnse" description = [[ Performs a HEAD or GET request against either the root directory or any optional directory of an Apache JServ Protocol server and returns the server response headers. ]] --- -- @usage -- nmap -p 8009 <ip> --script ajp-headers -- -- @output -- PORT STATE SERVICE -- 8009/tcp open ajp13 -- | ajp-headers: -- | X-Powered-By: JSP/2.2 -- | Set-Cookie: JSESSIONID=goTHax+8ktEcZsBldANHBAuf.undefined; Path=/helloworld -- | Content-Type: text/html;charset=ISO-8859-1 -- |_ Content-Length: 149 -- -- @args ajp-headers.path The path to request, such as <code>/index.php</code>. Default <code>/</code>. portrule = shortport.port_or_service(8009, 'ajp13', 'tcp') author = &q