burnleyvic
Regular Pleskian
Using Wordpress Toolkit with plesk 12.0.18#21 on Centos 6.
There is a bug in the Security Check feature for hiding Version information. You script adds the following line of code to the last line of functions.php;
remove_action('wp_head', 'wp_generator');
Unfortunately if functions.php had '?>' at the end, which closes off the php code before this function is line is processed, all that happens is the line of code gets printed in top left of the wordpress site. You should check for this or perhaps just open and close php around your script injection which seems to work just fine for the hackers.
Also not a bug as such but it would perhaps be a good idea if you add a comment to the file telling people why that function was suddenly added and by what and when. I say this as typically when code is suddenly appended to the end of files like that its gets people worried.
There is a bug in the Security Check feature for hiding Version information. You script adds the following line of code to the last line of functions.php;
remove_action('wp_head', 'wp_generator');
Unfortunately if functions.php had '?>' at the end, which closes off the php code before this function is line is processed, all that happens is the line of code gets printed in top left of the wordpress site. You should check for this or perhaps just open and close php around your script injection which seems to work just fine for the hackers.
Also not a bug as such but it would perhaps be a good idea if you add a comment to the file telling people why that function was suddenly added and by what and when. I say this as typically when code is suddenly appended to the end of files like that its gets people worried.