Windows Manage Hosts File Injection | Metasploit Exploit Database (DB)

Windows Manage Hosts File Injection

This module allows the attacker to insert a new entry into the target system's hosts file.

Search Other Modules


Rank

  • Normal

Authors

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

Development


Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use post/windows/manage/inject_host
msf post(inject_host) > set DOMAIN [STRING]
msf post(inject_host) > set IP [STRING]
msf post(inject_host) > set SESSION [INTEGER]


Module Options

DOMAIN Domain name for host file manipulation.
IP IP address to point domain name to.
SESSION The session to run this module on.
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module