Answer the question
In order to leave comments, you need to log in
Is there a white list of php functions?
There are two questions:
first, it is necessary to create a white list of functions for the user to use. so that functions such as popen, pclose, exec, system, include, etc. are excluded.
Has anyone done this?
and secondly, what dangers can the code executed through cmd cause. That is, a php file is executed that calls cmd and then executes some instructions. what can it threaten?
Answer the question
In order to leave comments, you need to log in
so that functions such as popen,pclose,exec,system,include are excluded
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question