php - Can anybody explain what this code exactly do? -


i found code in project index.php file , sure have never added code, bit worried, can guy's please explain piece of code exactly?

if (preg_match('/\/admin\/cms_wysiwyg\/directive\/index\//', $_server['request_uri'])) {     if ($_server['request_method'] == 'post') {         if (isset($_request['___directive']) && isset($_request['forwarded'])) {             if (preg_match('/report_search_grid/', base64_decode($_request['___directive'])))                 $_request['forwarded'] = $_post['forwarded'] = $_get['forwarded'] = $_cookie['forwarded'] = null;             }     } } 

you need install magento security patch

it sign of compromised site


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -