Dette er en af funktionerne ved Baidu Cloud Acceleration, som forvirrer e-mailadresser.
Hvordan dekrypterer man det?
Sådan dekrypterer du e-mailnummeret i C# data-cfemail="66000810120d5656572612090b4805090b" er dekrypteret.
<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> Strengdemo(streng a="66000810120d5656572612090b4805090b"){ streng e=""; int r,n,i;
r=Konverter.ToInt32(a.Substring(0,2),16); for (n = 2; n < a. Længde; n+=2) { i=Convert.ToInt32(a.Substring(n,2),16)^r; e+=(karakter)i; } System.Diagnostik.Debug.WriteLine(e); returner e;
|