spket 1.6.18 破解方式

来源:互联网 发布:淘宝聊天阿里旺旺下载 编辑:程序博客网 时间:2024/05/19 13:42

Spket IDE 是一个eclipse 的插件,对于javascript的调试还是不错的。

 

http://www.spket.com/

 

 

 

Spket IDE is powerful toolkit for JavaScript and XML development.

The powerful editor for JavaScript, XUL/XBL and Yahoo! Widget development. The JavaScript editor provides features like code completion, syntax highlighting and content outline that helps developers productively create efficient JavaScript code.

 

 

破解方式:

 

spket 的注册程序在 com.spket.ui_1.6.18.jar 包里的 com.spket.ui.internal.License.class

 

这个文件,没有经过混淆,用jad反编译,代码还是非常清楚的。
其中的验证在 check(byte[] abyte0) 这个method中。

 

把下面的两个方法,都改成 “return true” 重新编译就可以了

 

    public boolean isValid() {
        return true;
    }

    private boolean check(byte abyte0[]) {
        return true;
    }

 

 

编译的时候,需要 3 个 jar 文件:

1. com.spket.ui_1.6.18.jar

2. org.eclipse.swt.win32.win32.x86_******.jar

3. org.eclipse.ui.workbench_*******.jar