lang:

PHP

regex:

register_shutdown_function\s?\(

description:

Register a function for execution on shutdown. It is dangerous when used with user controlled parameters and may facilitate direct attacks against the web server.

Credit: https://github.com/cktricky/DangerousPHPFunctions/blob/master/php_dangerous.txt
tags:
dangerous function code execution
results