[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
rosell-dk
/
exec-with-fallback
/
src
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
π Availability.php
1,074 B
SET
[ EDIT ]
|
[ DEL ]
π ExecWithFallback.php
4,503 B
SET
[ EDIT ]
|
[ DEL ]
π ExecWithFallbackNoMercy.php
1,855 B
SET
[ EDIT ]
|
[ DEL ]
π POpen.php
1,575 B
SET
[ EDIT ]
|
[ DEL ]
π Passthru.php
1,613 B
SET
[ EDIT ]
|
[ DEL ]
π ProcOpen.php
2,105 B
SET
[ EDIT ]
|
[ DEL ]
π ShellExec.php
2,139 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Availability.php
<?php namespace ExecWithFallback; /** * Check if any of the methods are available on the system. * * @package ExecWithFallback * @author BjΓΈrn Rosell <it@rosell.dk> */ class Availability extends ExecWithFallback { /** * Check if any of the methods are available on the system. * * @param boolean $needResultCode Whether the code using this library is going to supply $result_code to the exec * call. This matters because shell_exec is only available when not. */ public static function anyAvailable($needResultCode = true) { foreach (self::$methods as $method) { if (self::methodAvailable($method, $needResultCode)) { return true; } } return false; } public static function methodAvailable($method, $needResultCode = true) { if (!ExecWithFallback::functionEnabled($method)) { return false; } if ($needResultCode) { return ($method != 'shell_exec'); } return true; } }