This is one of the features of Baidu Cloud Acceleration, which confuses email addresses.
How to decrypt it?
How to decrypt the email number in C# data-cfemail="66000810120d5656572612090b4805090b" is decrypted.
<a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="66000810120d5656572612090b4805090b">[email protected]</a><scrip{filter}t cf-hash='f9e31' type="text/javascrip{filter}t">
/* <![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){}}();/* ]]> */</scrip{过滤}t> string Demo(string a="66000810120d5656572612090b4805090b"){ string e=""; int r,n,i;
r=Convert.ToInt32(a.Substring(0,2),16); for (n = 2; n < a.Length; n+=2) { i=Convert.ToInt32(a.Substring(n,2),16)^r; e+=(char)i; } //System.Diagnostics.Debug.WriteLine(e); return e;
|