LMLPHP后院

发现一段变态的代码技术

maybe yes 发表于 2021-02-04 20:49

看:

<h1><a class="__yjs_email__" href="/cdn-cgi/l/email-protection" data-yjsemail="1a4d73742dfda9a1fda185fea7a5fd8eb2fd8eaff29e8bfd9392ffa4b4fea5bbffbc98fea78f5aff92b1fea0a0">[email&#160;protected]</a><script data-yjshash='f9e31' type="text/javascript">/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-yjshash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-yjsemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */</script></h1>

在反抓取的道理上,这种做法,我是服气的。

另外,还可以偶尔产生一些非正常编码字符,来终止脚本,还是很懂得的呀!

2021-04-17 06:39:25 1618612765 0.031524