Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
2b7edb17
Commit
2b7edb17
authored
Apr 02, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yes..yes..yes... we don't need pfsense.exec_php another security issue removed from the core system
parent
00372f07
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
legacy.inc
src/etc/inc/xmlrpc/legacy.inc
+0
-16
No files found.
src/etc/inc/xmlrpc/legacy.inc
View file @
2b7edb17
...
...
@@ -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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment