.htaccess - change native function name from php -


I would like to create a function xxxx which will be similar to shell_exec because it is disabling shell_exec in my server So no one will be able to use it.

Although some users need to use it, I will tell them not to use shell_exec, but the second function named "xxxx" prevented me from attacking so many attacks due to my server. I can only know the alternate name of my client's function.

I know that this user can give the name of the function to other people, but this is not my concern at the moment.

I am asking for this reason. Once I block the function in disable_function on php.ini, then I can not re-enable it on specific websites.

You can not do this without doing anything, like proc, op_open, etc. That if you are trying to secure your server then everyone should be disabled. If you are disabling only , then you can use it instead.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -