Rapid7

module

PHP Execute Command

Disclosed
N/A
Created
May 30, 2018

Description

Execute a single system command

Author

Platform

PHP

Architectures

php

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/exec
msf payload(exec) > show actions
...actions...
msf payload(exec) > set ACTION < action-name >
msf payload(exec) > show options
...show and set options...
msf payload(exec) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.