• 大小: 0.97M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-10
  • 语言: 其他
  • 标签: 其他  

资源简介

readAPI破解key加源码.zip

资源截图

代码片段和文件信息

import com.jp.protection.pub.LicenseReader;
import com.jp.protection.utils.CustomCRC32;
import com.smardec.license4j.License;
import com.smartbear.ready.license.LicenseType;
import com.smartbear.ready.license.protection.LicensedModule;
import org.junit.Test;

import java.io.*;
import java.util.Date;

/**
 * Created by yu on 15/9/30.
 */
public class LicenseTest {
//  /Users/yu/workspace/soapUICrk/loadui-明文.key

    @Test
    public void checkSS(){
      //  com.smartbear.ready.license.util.LicenseFileUtil.validateAndInstallLicensesFromFile;
        LicensedModule s1=LicensedModule.loadUI;
        //for(int i=0;i< s1.getDecryptionKeyBytes().length();i++){

            System.out.println( LicensedModule.SoapUIPro.getDecryptionKeyBytes().equals( LicensedModule.loadUI.getDecryptionKeyBytes()));
       // }
        System.out.println(LicensedModule.SoapUIPro.getDecryptionKeyBytes() );
        System.out.println(LicensedModule.loadUI.getDecryptionKeyBytes());

        String [] dek=LicensedModule.loadUI.getDecryptionKeyBytes().split(““);
        String [] des=LicensedModule.SoapUIPro.getDecryptionKeyBytes().split(““);
        byte [] dekbyte=new byte[dek.length];
        byte [] desbyte=new byte[des.length];
        for(int i=0;i           dekbyte[i]=(byte)Integer.parseInt( dek[i]);
        }
        System.out.println(new String(dekbyte));


        for(int i=0;i            desbyte[i]=(byte)Integer.parseInt( des[i]);
        }
        System.out.println(new String(desbyte));
    }


    public static License xxxxx(){
        License l = new License();
        l.addFeature(“organization“ “xxxx“);
        l.addFeature(“name“ “xxxx“);
        l.addFeature(“type“ LicenseType.PROFESSIONAL.name());
        Date d = new Date();
        d.setYear(2114);
        l.addFeature(“expiration“ d);
        l.addFeature(“id“ “xxxx“);
        //  LicenseType.
        return l;
    }


    @Test
    public void ssss(){

        License  ss=xxxxx();
        System.out.println(xxxxx());


    }
    @Test
    public void Seckey() throws IOException {
        // com.jp.protection.pub.LicenseReader;
        String [] dek=LicensedModule.Secure.getDecryptionKeyBytes().split(““);
        byte [] dekbyte=new byte[dek.length];
        for(int i=0;i            dekbyte[i]=(byte)Integer.parseInt( dek[i]);
        }
        LicenseReader lr=new LicenseReader();
        lr.setDecryptKeyBytes(dekbyte);
        lr.setSkipEncryption(false);
        lr.setLicenseFileName(“Secure-trial.key“);
        lr.setUserHomeRelative(false);
        lr.setLicenseResourceFolder(“.“);
        lr.setLicenseFolder(“.“);
        lr.setSecurityAlgorithm(“RSA - SunJCE - 512“);

        lr.getLicense();//生成中间文件 enc.key

        bbCRC(new FileInputStream(new File(“enc.key“))); //生成out.key

    }
    @Test
    public void Secbbb()  throws IOException{
        bbCRC(new FileInputStream(new File(“enc.key“))); //生成out.key
        // /Users/yu/workspace

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件     1052849  2013-01-22 15:38  Protection-4.6.jar
     文件         701  2015-10-02 10:51  Secure.key
     文件         744  2015-10-02 11:22  ServiceV.key
     文件         733  2015-10-02 10:33  loadUI.key
     文件         912  2015-10-02 11:16  out.key
     文件         767  2013-01-22 16:07  soapui.key
     目录           0  2015-10-02 11:28  src\
     文件        8343  2015-10-02 11:28  src\LicenseTest.java
     文件       10917  2015-09-29 23:12  src\Soaphttptest.java
     文件         284  2015-09-30 14:51  src\UriTest.java
     目录           0  2015-10-01 16:56  src\com\
     目录           0  2015-09-29 15:27  src\com\eviware\
     目录           0  2015-09-29 15:27  src\com\eviware\soapui\
     目录           0  2015-09-29 15:27  src\com\eviware\soapui\impl\
     目录           0  2015-09-30 14:41  src\com\eviware\soapui\impl\wsdl\
     目录           0  2015-09-30 14:41  src\com\eviware\soapui\impl\wsdl\submit\
     目录           0  2015-09-30 14:41  src\com\eviware\soapui\impl\wsdl\submit\transports\
     目录           0  2015-09-30 14:52  src\com\eviware\soapui\impl\wsdl\submit\transports\http\
     文件       19438  2015-09-30 14:52  src\com\eviware\soapui\impl\wsdl\submit\transports\http\HttpClientRequestTransport.java
     目录           0  2015-09-30 09:00  src\com\eviware\soapui\impl\wsdl\support\
     目录           0  2015-09-30 09:00  src\com\eviware\soapui\impl\wsdl\support\http\
     文件       15005  2015-09-30 09:00  src\com\eviware\soapui\impl\wsdl\support\http\HttpClientSupport.java
     目录           0  2015-09-29 15:40  src\com\eviware\soapui\impl\wsdl\teststeps\
     目录           0  2015-10-01 16:56  src\com\jp\
     目录           0  2015-10-01 16:56  src\com\jp\protection\
     目录           0  2015-10-01 21:58  src\com\jp\protection\pub\
     文件       19992  2015-10-01 21:58  src\com\jp\protection\pub\LicenseReader.java
     目录           0  2015-09-28 15:25  src\com\smartbear\
     目录           0  2015-09-28 22:43  src\com\smartbear\ready\
     目录           0  2015-10-02 09:39  src\com\smartbear\ready\license\
     文件        4762  2015-09-28 20:47  src\com\smartbear\ready\license\LicenseBootstrap.java
............此处省略9个文件信息

评论

共有 条评论