Vulnerability & Exploit Database

Back to search

Windows Manage Hosts File Injection

This module allows the attacker to insert a new entry into 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/manage/inject_host

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/manage/inject_host msf post(inject_host) > sessions ...sessions... msf post(inject_host) > set SESSION <session-id> msf post(inject_host) > show options ...show and set options... msf post(inject_host) > run