|
Today, April 14, 2015, Chuangyu Cloud had a chance to draw, so I went to the lottery early in the morning, and drew a professional package of Baidu Cloud Acceleration, the URL is http://next.su.baidu.com/, why copy the address of Cloud Acceleration is because Baidu Cloud Acceleration has two, or one is su.baidu.com So the blog Baidu Cloud Acceleration wanted to try it out, so I accessed it. After that, I found a problem when reviewing the review, please see the picture below
There is something more after the email address of the comment, and the copied content is as follows: - /* <![CDATA[ */!function(){try{var t="currentscrip{过滤}t"in document?document.currentscrip{过滤}t:function(){for(var t=document.getElementsByTagName("scrip{过滤}t"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t&&t.previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]]> */
Copy code
A piece of js code, could it have been hacked? Check the source code of the web page There is also the above code, as shown in the figure below
So I downloaded the entire website and checked whether the source code of the website contained the above code, but it didn't. Could it be that the code has been encrypted, so I thought about various methods and found the source code. How did you find this problem? After that, I had a single link to see what the content was, and generally hackers would put a piece of content
The results see Baidu's information
Baidu Cloud Acceleration, which was only turned on today, turned out to be Baidu Cloud Acceleration, so I only found the [Rule Customization] link package to add the background address [Security General Settings: Email Address Obfuscation/WAF] This item was turned off The problem was solved It turned out that Baidu Cloud acceleration caused a website background error It took me an afternoon and I was depressed Original: http://www.phpsong.com/663.html
|