Banner grabbing

Banner grabbing is a technique used to gain information about a device on a network, such as the operating system, services running on the open ports, the application used, or the version number. It is part of the information-gathering phase. Metasploit has a lot of modules that can be used to collect banners from different types of services.

In the following example, we will use the http_version module, which detects the version number and names of services running on the HTTP protocol on a given IP:

  1. Go to Modules from the Project tab bar and type http_version in the Search Modules box:
  1. Now, click on the module name. This ...

Get Hands-On Web Penetration Testing with Metasploit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.