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-bypass-disable-functions — Demo project how to bypass the disable_functions security control of PHP on Linux | Kitploit
Tools/GitHubGitHub/irsl/php-bypass-disable-functions
Privilege EscalationExploitationWeb Application ExploitationPost-ExploitationRed TeamingBinary Exploitation
GitHubirsl/php-bypass-disable-functions

php-bypass-disable-functions

Demo project how to bypass the disable_functions security control of PHP on Linux

View Repository
276457 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

php-bypass-disable-functions

Demo project how to bypass the disable_functions security control of PHP on Linux, where processes can inspect and even write their own memory via the special /proc/self/map file via standard file operations (open/seek/read/write).

Tested on PHP 7.3.5, x86_64 Linux

See also: https://seclists.org/bugtraq/2019/May/52

how to use

root@kitploit:~
regularuser@7981d86dd9aa:/$ ./php-7.3.5-vanilla/sapi/cli/php -d 'disable_functions=system' disfunpoc.php

Warning: system() has been disabled for security reasons in /repo-shared/disabled_functions/disfunpoc.php on line 2
uid=1000(regularuser) gid=1000(regularuser) groups=1000(regularuser)

Download Tool