import console; 
import crypt;
import win.clip
genKey = function(name){
var prefix = "windows_"
var key = raw.buffer(32," ")//string.repeat(32,"")
var str = "22200ce06b66a"
for(i=1;25;2){
key[i] = str[math.ceil(i/2)]
}
var name = string.reverse(name)
var md5 = crypt.md5(name,false)
for(i=2;32;2){
key[i] = md5[i/2]
}
var char29 = math.random(0x63,0xff)
while(char29==0x65){
char31 = math.random(0x63,0xff)
}
return key;
}

var key = genKey("GCCG")
win.clip.write(key)
console.log("key:",key)
console.log("key已写入粘贴板")
console.pause(true);