Commit 2b7edb17 authored by Ad Schellevis's avatar Ad Schellevis

yes..yes..yes... we don't need pfsense.exec_php another security issue removed from the core system

parent 00372f07
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment