Libraries and the function

Let's see some essential methods from the libraries that are used in this module, as follows:

Functions

Library file

Usage

run_host

/lib/msf/core/auxiliary/scanner.rb

The main method that will run once for each host

connect

/lib/msf/core/auxiliary/scanner.rb

This is used to make a connection to the target host

send_raw_request

/core/exploit/http/client.rb

This method is used to make raw HTTP requests to the target

request_raw

/rex/proto/http/client.rb

The library method to which send_raw_request passes data to

http_fingerprint

/lib/msf/core/exploit/http/client.rb

Parses the HTTP response into usable variables

report_service

/lib/msf/core/auxiliary/report.rb

Get The Complete Metasploit Guide 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.