bansjs
发表于 2015-11-7 20:25:40
注册机在哪里?
左岸麦田
发表于 2015-11-7 21:43:09
期待楼主的完善。加油。
NoNameX2016
发表于 2015-11-7 22:19:40
本帖最后由 NoNameX2016 于 2015-11-7 22:20 编辑
spray 发表于 2015-11-7 19:31
貌似http://www.jb51.net/tools/editplus/这里生成的是可以注册的http://www.jb51.net/tools/editplus/ 网页调用 http://www.jb51.net/tools/editplus/editkeygen.js
function generate_editplus_regcode()
{
var list = ;
var hexchars = ['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'];
var regcode = new Array(29);
var i = 0, j = 0, k = 0;
var len, temp, sum, result;
var username = document.getElementById("username").value;
username = username.replace(/^\s+|\s+$/g, "");
for(i = 0;i < 5;i++,k++)
{
for(j = 0;j < 5;j++,k++)
{
regcode = hexchars;
}
if(k == 29) break;
regcode = '-';
}
len = username.length;
sum = 1;
for(i = 0;i < len;i++)
sum += username.charCodeAt(i);
temp = (parseInt( (sum + 23) / 6 ) + 3) * 7 % 16;
regcode = hexchars;
sum = 1;
for(i = 0;i < len;i++)
sum += username.charCodeAt(i);
temp = parseInt( (3 * sum + 39) / 8 ) % 16;
regcode = hexchars;
sum = 1;
for(i = 0;i < len;i++)
sum += username.charCodeAt(i);
temp = parseInt( (3 * sum + 19) / 9 ) % 16;
regcode = hexchars;
sum = 1;
for(i = 0;i < len;i++)
sum += username.charCodeAt(i);
temp = parseInt( (sum + 10) / 3 ) * 8 % 16;
regcode = hexchars;
sum = 1;
for(i = 0;i < len;i++)
sum += username.charCodeAt(i);
temp = (parseInt( (9 * sum + 10) / 3 ) + 36) % 16;
regcode = hexchars;
sum = 1;
for(i = 0;i < len;i++)
sum += username.charCodeAt(i);
temp =parseInt( (5 * sum + 11) / 5 ) % 16;
regcode = hexchars;
result = 0;
for(i = 0;i < len;i++)
result = ((result >> 8) & 0xFF) ^ list;
result = result.toString(16).toUpperCase();
regcode = result.charAt(0);
regcode = result.charAt(1);
len = regcode.length;
result = 0;
for(i = 2;i < len;i++)
result = ((result >> 8) & 0xFF) ^ list.toString().charCodeAt(0) ^ (result & 0xFF)];
result = result.toString(16).toUpperCase();
regcode = result.charAt(0);
regcode = result.charAt(1);
document.getElementById("regcode").value = regcode.join("");
}
awow
发表于 2015-11-8 00:17:54
学习一下啊。。。。。。。。。。。
kangda
发表于 2015-11-8 00:19:47
楼主很给力呢
zxxiaopi
发表于 2015-11-8 01:05:10
好东西,感谢
1213
发表于 2015-11-8 01:20:18
收藏了,看看是大神的杰作
lovesoft
发表于 2015-11-8 07:57:49
谢谢提供!辛苦了!
yy11
发表于 2015-11-8 08:14:30
修正的很好
email123
发表于 2015-11-8 09:11:13
你为何这么牛X!{:soso_e179:}
页:
1
2
[3]
4
5
6
7
8
9
10
11
12