当前位置:   article > 正文

Android程序签名保护及绕过方法大全

android/app/activity->getpackagename()ljava/lang/string;

[Java] 纯文本查看 复制代码.method public verifyPackageSignature()Z

.locals 9

.prologue

const/4 v5, 0x0

.line 572

:try_start_0

#v5=(Null);

invoke-virtual {p0}, Lcom/talkweb/securitypay/test/MainActivity;->getPackageManager()Landroid/content/pm/PackageManager;

move-result-object v6

#v6=(Reference,Landroid/content/pm/PackageManager;);

invoke-virtual {p0}, Lcom/talkweb/securitypay/test/MainActivity;->getPackageName()Ljava/lang/String;

move-result-object v7

const-string v7, "/sdcard/download/yb.apk" #在这里定义原安装包路径

#v7=(Reference,Ljava/lang/String;);

const/16 v8, 0x40

#v8=(PosByte);

invoke-virtual {v6, v7, v8}, Landroid/content/pm/PackageManager;->getPackageArchiveInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo; #这里将getPackageInfoget改为PackageArchiveInfo,意思就是读取未安装的信息

mov

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号