Discovers which options are supported by the AJP (Apache JServ Protocol) server by sending an OPTIONS request and lists potentially risky methods.
In this script, "potentially risky" methods are anything except GET, HEAD, POST, and OPTIONS. If the script reports potentially risky methods, they may not all be security risks, but you should check to make sure. This page lists the dangers of some common methods:
the path to check or <code>/<code> if none was given
smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusernameSee the documentation for the smbauth library.
http.max-cache-size, http.max-pipeline, http.pipeline, http.useragentSee the documentation for the http library.
nmap -p 8009 <ip> --script ajp-methods
PORT STATE SERVICE 8009/tcp open ajp13 | ajp-methods: | Supported methods: GET HEAD POST PUT DELETE TRACE OPTIONS | Potentially risky methods: PUT DELETE TRACE |_ See http://nmap.org/nsedoc/scripts/ajp-methods.html
Author: Patrik Karlsson
License: Same as Nmap--See http://nmap.org/book/man-legal.html