Metasploit Penetration Testing Framework
Linux Add User
Create a new user with UID 0
Rank
Authors
- skape < mmiller [at] hick.org >
- vlad902 < vlad902 [at] gmail.com >
- spoonm < spoonm [at] no$email.com >
Similar Modules
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/linux/x86/adduser
msf payload(adduser) > generate
Module Options
| PASS |
The password for this user (default: metasploit) |
| SHELL |
The shell for this user (default: /bin/sh) |
| USER |
The username to create (default: metasploit) |
| AppendExit |
Append a stub that executes the exit(0) system call |
| PrependChrootBreak |
Prepend a stub that will break out of a chroot (includes setreuid to root) |
| PrependSetresuid |
Prepend a stub that executes the setresuid(0, 0, 0) system call |
| PrependSetreuid |
Prepend a stub that executes the setreuid(0, 0) system call |
| PrependSetuid |
Prepend a stub that executes the setuid(0) system call |
| WORKSPACE |
Specify the workspace for this module |