sfs2x 破解

DFResLoader loader = new DFResLoader(Main.class.getClassLoader());
loader.init(new FileInputStream("D:\\Program Files\\SFS2X-RC1\\SFS2X\\lib\\Lib\\sfs2x-lms.jar"));
                
long expireTime = 4476614400000l;//new Date(2111-1900, 10, 11).getTime();
        
ISFSObject license = new SFSObject();
license.putUtfString("customer", "");//授权人,为空则为共享版,否则个人版
license.putUtfString("bind", "*.*.*.*");//限制IP
license.putInt("users", -1);//连接数上限,-1为无限数量
license.putLong("expire", 0);//expireTime 版权到期时间,0为无限制
license.putBool("private", false);//私有?
                
//sfs.lms.d.w
Class da = loader.loadClass("sfs.lms.d.w");
//保存到config/license.2x
da.getMethod("J", ISFSObject.class).invoke(da.newInstance(), license);

原文:http://bbs.9ria.com/viewthread.php?tid=67259&rpid=593344&ordertype=0&page=1#pid593344

posted @ 2012-05-24 21:13  solq  阅读(1560)  评论(0编辑  收藏  举报