#include <stdio.h>
#include <string>
#include <iostream>
using namespace std;
int g_tk(string str)
{
int hash = 5381;
for(int i = 0; i < str.length(); i++)
{
hash += (hash <<5) + (int)str
;
}
return hash & 0x7fffffff;
}
int main(int argc, char* argv[])
{
printf("%d",g_tk("@5K1GDF123")); //这里填你的SKEY就OK了。
return 0;
}
看js 脚本 直接写过来的。 新手没事还是别玩这个东西。
没有意思,无非对数据包抓包然后分析然后看稍微看一下脚本。学不到真的东西。