Vulnerability & Exploit Database

Back to search

Windows Gather Windows Host File Enumeration

This module returns a list of entries in the target system's hosts file.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

post/windows/gather/enum_hostfile

Authors

  • vt <nick.freeman [at] security-assessment.com>

Platforms

  • windows

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use post/windows/gather/enum_hostfile msf post(enum_hostfile) > sessions ...sessions... msf post(enum_hostfile) > set SESSION <session-id> msf post(enum_hostfile) > show options ...show and set options... msf post(enum_hostfile) > run