Description
Execute an OS command from PHP.
Creates a new user. By default the new user is set with sudo but other options exist to make the new user automatically root but this is not automatically set since the new user will be treated as root (and login may be difficult). The new user can also be set as just a standard user if desired.
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 payload/php/unix/cmd/addusermsf undefined(adduser) > show actions ...actions...msf undefined(adduser) > set ACTION < action-name >msf undefined(adduser) > show options ...show and set options...msf undefined(adduser) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub