js 解密

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
    </style>
</head>
<body>
    <textarea id="code" cols="80" rows="20"></textarea>
    <input type="button" onclick="decode()" value="解码">
</body>
<script>
        var _0xf488 = ['\x73\x61', '\x75\x65', '\x6b\x61', '\x73\x62', '\x79\x62', '\x64\x6f\x77\x6e', '\x6d\x6f\x76\x65', '\x75\x70', '\x6c\x65\x66\x74', '\x77\x69\x64\x74\x68', '\x68\x65\x69\x67\x68\x74',]
    function decode() {
        var element = document.getElementById('code');
        for (var key in _0xf488) {
            element.value += _0xf488[key] + '------------'  +"\n";
        }
    }
</script>
</html>

猜你喜欢

转载自www.cnblogs.com/afang/p/8946401.html