312-50V13 · Question #20
When you are getting information about a web server, it is very important to know the HTTP Methods (GET, POST, HEAD, PUT, DELETE, TRACE) that are available because there are two critical methods (PUT
The correct answer is A. http-methods. To detect all available HTTP methods on a web server using the Nmap Scripting Engine, the http-methods script should be utilized.
Question
Options
- Ahttp-methods
- Bhttp enum
- Chttp-headers
- Dhttp-git
How the community answered
(53 responses)- A89% (47)
- B2% (1)
- C2% (1)
- D8% (4)
Why each option
To detect all available HTTP methods on a web server using the Nmap Scripting Engine, the `http-methods` script should be utilized.
The `http-methods` Nmap script is specifically designed to query a web server for supported HTTP methods (like GET, POST, HEAD, PUT, DELETE, TRACE) by sending an OPTIONS request and parsing the Allow header in the response, providing a comprehensive list of what the server allows.
`http-enum` is an Nmap script used to enumerate directories and files on a web server, not to list HTTP methods.
`http-headers` is an Nmap script used to retrieve and display HTTP headers from a web server, not to list the supported HTTP methods.
`http-git` is an Nmap script that attempts to find and download Git repositories, not to determine allowed HTTP methods.
Concept tested: Nmap scripting for HTTP method discovery
Source: https://nmap.org/nsedoc/scripts/http-methods.html
Topics
Community Discussion
No community discussion yet for this question.