【破解】卡巴斯基11.1.3.206破解版

来源:互联网 发布:中世纪欧洲 知乎 编辑:程序博客网 时间:2024/04/26 16:38

下载地址:http://pan.baidu.com/wap/shareview?&shareid=1083197885&uk=370034465&dir=%2F破解作品&page=1&num=20&fsid=32018054&third=0

测试图:

破解方式:

采用覆盖Native方法的方式破解

将下列代码编译后替换掉com/kavsdk/license/License即可

package com.kavsdk.license;import android.content.Context;import java.io.FileDescriptor;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;public class License {private static Context a = null;private static FileInputStream b;private static FileOutputStream c;private static int mLicenseContext;private static FileDescriptor mStorageFdRead;private static FileDescriptor mStorageFdWrite;public static void a() {closeStorageFDWrite();if (b != null) {try {b.close();b = null;} catch (IOException e) {e.printStackTrace();}}}public static void a(Context context) {a = context;}private static boolean closeStorageFDWrite() {if (c != null) {try {c.close();c = null;} catch (IOException e) {e.printStackTrace();}}return true;}protected static native void free();public static int getKeyLicenseType(int i) {// 1是高级版return 1;// 返回高级版}public static String getKeySerialNumber(int i) {return "蠻荒搜神解锁";}public static long getLicenseExpireDate() {return 2651155200L;}public static long getLicenseInstallDate() {return 1385987800L;}public static int getLicenseState() {return 3;}protected static int getLicenseValidityDaysLeft() {return 365 * 10;}public static int getLicenseWorkDays() {return 365 * 10;}public static int getNumberOfKeys() {return 1;}protected static native int init(long paramLong);private static boolean initStorageFDRead() {try {if (b != null)b.close();FileInputStream fis = a.openFileInput("license.dat");b = fis;mStorageFdRead = fis.getFD();return true;} catch (IOException e) {e.printStackTrace();}// catch (FileNotFoundException e) {// e.printStackTrace();// }return false;}private static boolean initStorageFDWrite() {try {if (c != null)c.close();a.deleteFile("license.dat");FileOutputStream fos = a.openFileOutput("license.dat", 0);c = fos;mStorageFdWrite = fos.getFD();return true;} catch (FileNotFoundException e) {e.printStackTrace();return false;} catch (IOException e) {e.printStackTrace();}return false;}protected static native void removeLicense(int i);protected static native void replaceLicenseFromBuffer(byte[] b, int i);}

破解点:

上面的覆盖必需点击【立即试用】才可以进入高级版,下面的破解点安装之后即是高级版。