SFS无极限
作者:c 日期:2009-03-24
群里有人要Pojie的
SmartFoxServer,说有人Po了还收Pojie费,于是乎我自己来Po
截图如下

授权文件licence.sfl在server目录下,具体格式:文件构成:KEY的长度+key+DES加密配置文件
解密部分代码:
FileInputStream in = readFile(licenceFile);
//KEY的长度
int keyLen = in.read();
//key
key = new byte[keyLen];
in.read(key, 0, keyLen);
//加密的配置文件
byte[] config = new byte[in.available()];
in.read(config, 0, in.available());
//解密配置文件
DESPlus des = new DESPlus(key);
byte[] code = des.decrypt(config);
String decodeConfig = new String(code,0,code.length);
System.out.println("解密后的配置:"+ decodeConfig);
这个解出来的配置文件
PRO
--== Free Demo Licence ==--
*.*.*.*
20
具体的使用方法下载代码看注释吧
点击下载此文件如何使用as3写客户端:
http://www.jorgebucaran.com/blog/smartfoxserver-tutorials/