Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Generic PHP Code Evaluation

Disclosed
Oct 13, 2008
Created
May 30, 2018

Description

This module can be used to exploits things like:

The payload will be delivered in a header.
It is likely that HTTP evasion options will break this exploit.

Authors

egypt [email protected]
g0tmi1k

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 exploit/unix/webapp/php_eval
msf exploit(php_eval) > show targets
...targets...
msf exploit(php_eval) > set TARGET < target-id >
msf exploit(php_eval) > show options
...show and set options...
msf exploit(php_eval) > exploit

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.