看到了这个 刚好有时间弄一下 我可没有大神会算法 我只会暴力
<html>
<head>
<title>获取邮箱</title>
</head>
<body>
<p>获取邮箱</p>
<button onclick="at()">获取</button>
</body>
<script>
function getEmail(N) {
const m = N % 1024;
const encoded = [185, 181, 190, 191, 169, 177, 163, 184, 182, 175, 191, 154, 189, 183, 187, 179, 182, 244, 185, 181, 183];
const decoded = encoded.map(i => {
return i ^ m
})
return String.fromCharCode.apply(null, decoded)
}
function at() {
for (i = 50; i < 500; i++) {
if (getEmail(i).indexOf('com') >= 0 || getEmail(i).indexOf('COM') >= 0 || getEmail(i).indexOf('cn') >= 0 || getEmail(i).indexOf('CN') >= 0) {
window.alert("暴力破解 = " + i + "邮箱 = " + getEmail(i))
break;
}
}
}
</script>
</html>