Windows Execute net user /ADD CMD | Metasploit Exploit Database (DB)

Windows Execute net user /ADD CMD

Create a new user and add them to local administration group

Search Other Modules


Rank

  • Normal

Authors

  • hdm < hdm [at] metasploit.com >
  • scriptjunkie < >

Similar Modules


Usage Information

$ msfconsole

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

msf > use payload/cmd/windows/adduser
msf payload(adduser) > generate


Module Options

PASS The password for this user (default: metasploit)
USER The username to create (default: metasploit)
AutoRunScript A script to run automatically on session creation.
InitialAutoRunScript An initial script to run on session creation (before AutoRunScript)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module