mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
yes..yes..yes... we don't need pfsense.exec_php another security issue removed from the core system
This commit is contained in:
parent
00372f07fd
commit
2b7edb175c
@ -301,19 +301,3 @@ function exec_shell_xmlrpc($shell_cmd)
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* execute any php script (no..no..no.. this shouldn't be exposed)
|
||||
* @param $exec_php
|
||||
* @return bool
|
||||
*/
|
||||
function exec_php_xmlrpc($exec_php)
|
||||
{
|
||||
// TODO: we really... really... don't want this, needs to be replaced for decent encapsulated calls
|
||||
eval($exec_php);
|
||||
if (isset($toreturn)) {
|
||||
return $toreturn;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user