|
[求助]请问JAVA写的程序怎么调试?
下面这个程序是针对官方给的vpsuite.zvpl文件的,如果你用记事本打开这个文件, 都是乱码。用这个程序,你就可以看到,zvpl文件中已经把license文件中的内容写好了, 都是XML格式的,根本不用生成。 只不过是用了zip工具压缩后写入了vpsuite.zvpl。 现在最重要的就是VerifyKey的内容,在程序运行期间,是如何验证的,其实把目录V下的3万多个文件反编译, 然后搜一搜VerifyKey就行了。 import java.lang.*; import java.io.*; import java.util.zip.*; public class Crack{ public static void main(String[] args){ try{File file = new File("vpsuite.zvpl"); // if(file.getName().endsWith(".zvpl") || file.getName().endsWith(".zip")) // { FileInputStream fileinputstream = new FileInputStream(file); fileinputstream.skip(2L); byte abyte1[] = new byte[fileinputstream.available()]; fileinputstream.read(abyte1); fileinputstream.close(); // } InputStream inputstream = ((InputStream) (new ByteArrayInputStream(abyte1))); ZipInputStream zipinputstream = new ZipInputStream(inputstream); for(ZipEntry zipentry = zipinputstream.getNextEntry(); zipentry != null; zipentry = zipinputstream.getNextEntry()) { String s = zipentry.getName(); ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream(); byte abyte0[] = new byte[2048]; for(int j = zipinputstream.read(abyte0); j > 0; j = zipinputstream.read(abyte0)) if(j == 2048) bytearrayoutputstream.write(abyte0); else bytearrayoutputstream.write(abyte0, 0, j); bytearrayoutputstream.close(); ioxa ioxa1 = new ioxa(s, bytearrayoutputstream.toByteArray(), zipentry.isDirectory(), null); ioxa1.screen(); } zipinputstream.close(); } catch(Exception exception) { System.out.print(exception); } } } |
|
[求助]请问JAVA写的程序怎么调试?
谢谢,楼上的兄弟,因为以前没整过JAVA破解,走了很多弯路。 现在用“小颖”这个软件已经把所有的CLASS文件都反编译了, (小颖其实就是用的JAD,DJ Decompiler太难用!), 搜索字符串,但是找不到相关的东西, 后来经过看代码,原来他把那些dialog里的字符串都做成int数组,而且每个int值都加5, 这样都是乱码,真正要显示的时候,再每个int-5,最后直接转换成要显示的字符串ASCII, 真是费心呀!!! 其实已经找到了他的关键代码,就是找不到他注册的那段代码,可能是重载了某个函数, 不太好找!打算这两天再看看! 而且他一个文件夹下有5万个class文件,每个文件名都是类似"abcd.class"等等之类的, 不知道这个叫不叫混淆? MagicDraw,EA,StarUML,ROSE,Visio都有,其实也有VP的社区版,就是想自己整个企业版,这样就没什么限制了。中国自己出的Trufun就不破解了。 |
|
|
|
[求助]请问JAVA写的程序怎么调试?
高手给个解释 |
|
[求助]请问JAVA写的程序怎么调试?
对,是Visual Paradigm for UML 6.3 Enterprise Edition,肯定是用JAVA写的程序, 安装后有一个LIB目录,里面有一个vpplatform.jar的文件,用文件监视器可以看到,关键时刻,这个文件被频繁的调用, 所以想,主要的加密程序应该在这个里面!就是这个文件太大,67M,解压后一大群文件,都不知道是什么, 用“小颖”软件反汇编后,也找不到相关的提示字符串, 而且一些比较小的5K左右的CLASS文件,不能反编译,不知道为什么! 有个问题,这种JAVA写的程序,加密的主要函数有可能在exe或者DLL文件中吗? 现在有一些头绪了,知道注册后的LICENSE文件存放位置,而且是XML方式存放的, 但是不能随意更改,因为可能有验证程序,更改一个字母就注册不了了, 一开始怀疑是MD5,但是license文件里有VERIFY DATA给的是一个108字节的数据, 不知道是什么加密算法了! 不过可能肯定,这个验证加密算法肯定和keyfile导入时候用的加密算法不一样。 《加密与解密(第三版)》已经在半个月前买了,可惜没有JAVA的相关内容,遗憾! 第一个文件是注册时候需要导入的KEYFILE, 第二个文件是注册后,保存在硬盘里的LICENSE文件,文件里主要内容一个字符都不能改,改了LICENSE就无效了。 |
|
[求助]请问JAVA写的程序怎么调试?
现在有一个问题,就是这个jar文件实在是大,67M之多, 解压后里面的子目录和文件太多了,想用jad和DJ把CLASS文件都反编译过来, 结果都失败了, 请教各位,如何进行? |
|
|
|
[求助]SoftICE怎么无法启动?
顶、顶、顶、顶、顶一下! |
|
|
|
|
|
[求助]SoftICE怎么无法启动?
补丁打了,不起作用。 怎么每人回复?大家都没遇到过这样的问题? 还有,这个论坛怎么不让新注册的到别的论坛发贴? 怎么管理这么死板?你既然是分出技术板块, 该是哪个板块的就发到哪个板块,干吗新注册的就必须在这个板块发贴? 人家新注册的就一定都是菜鸟? |
|
逆向工程初步(有很多超酷的资料和网站)
谢谢楼主,真的很好,顶了!收藏! |
|
[求助]SoftICE怎么无法启动?
没人回复? 别告诉我,什么新手最好用OLLYICE之类的话,请切实的帮忙解决问题! 7年前,在98下用SOFTICE好着呢! 另,DAEMON卸载不管用。SOFTICE的XP补丁打了,不起作用。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值