From 2b7edb175c42ee1538d0339c8790b111fda703ff Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 2 Apr 2015 14:31:23 +0000 Subject: [PATCH] yes..yes..yes... we don't need pfsense.exec_php another security issue removed from the core system --- src/etc/inc/xmlrpc/legacy.inc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/etc/inc/xmlrpc/legacy.inc b/src/etc/inc/xmlrpc/legacy.inc index ba42d6b68..0ea1c99d9 100644 --- a/src/etc/inc/xmlrpc/legacy.inc +++ b/src/etc/inc/xmlrpc/legacy.inc @@ -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; - } -} -