代码改变世界

遇到CloudFlare邮箱混淆,如何解密?

2018-04-05 21:54  狼人:-)  阅读(899)  评论(0编辑  收藏  举报

<script type="text/javascript">
$(function() {
$(".__cf_email__").each(function(i){
if ($(this).text() == "[email protected]") {
var a = $(this).attr("data-cfemail");
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); var emailDecoded = decodeURIComponent(e); $(this).text(emailDecoded);
}
});
});
</script>