Skip to content

反编译重新打包后应用大部分接口没网 #1

@zhangguanzhang

Description

@zhangguanzhang

apktool反编译后改动下面文件
$ vi res/xml/network_security_config.xml

<network-security-config>
    <base-config cleartextTrafficPermitted="true">
        <trust-anchors>
            <certificates src="system" overridePins="true" />
            <certificates src="user" overridePins="true" />
        </trust-anchors>
    </base-config>
</network-security-config>

然后apktool b重新打包,然后签名

keytool -genkey -alias aeo_android.keystore -keyalg RSA -validity 20000 -keystore aeo_android.keystore

jarsigner -verbose -keystore aeo_android.keystore -signedjar new_xx.apk xx.apk aeo_android.keystore

然后应用安装打开后大部分接口(少部分接口能成功请求到)没网咋整

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions