phpinfo-to-rce

Installation
SKILL.md

PHPInfo → RCE Chain Skill

Exploit chain that starts with an exposed info.php/phpinfo.php and escalates to remote code execution. When phpinfo reveals that disable_functions does NOT block exec functions (exec, shell_exec, system, passthru, popen, proc_open), the target is 1 upload away from full RCE. Confirmed on wines.com (PHP 7.3.29, all exec functions available).

When to Use

  • source-leak-hunt flags a target with info.php or phpinfo.php exposed.
  • You need to confirm whether RCE is possible before investing in upload vectors.
  • Building an attack chain that requires code execution.
  • Target has a file upload path (open registration + XMLRPC, contact form, profile image, etc.).

Prerequisites

  • terminal tool with curl.
  • Confirmed exposed phpinfo page (HTTP 200, contains "PHP Version").
  • For RCE: a file upload vector on the same host (XMLRPC with credentials, open registration, contact form, etc.).

How to Run

Installs
4
GitHub Stars
11
First Seen
Oct 12, 2026