Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

164 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files7

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

workspace/decomp/HeyOTA/sources/com/heytap/wearable/ota/query/InstallResultFeedbackRunnable.java

Java · 2,562 bytes
package com.heytap.wearable.ota.query;

import android.content.Context;
import com.heytap.wearable.ota.util.CommonUtil;
import com.heytap.wearable.ota.util.OppoLog;
import org.apache.http.HttpResponse;

/* loaded from: classes.dex */
public class InstallResultFeedbackRunnable implements Runnable {
    private Context mContext;
    private String mErrorKey;
    private int mErrorType;
    private String mFromVer;
    private String mInstallPath;
    private String mPkg;
    private int mResult;
    private String mToVer;

    public InstallResultFeedbackRunnable(Context context, String str, String str2, String str3, int i, int i2, String str4, String str5) {
        this.mContext = context;
        this.mPkg = str;
        this.mFromVer = str2;
        this.mToVer = str3;
        this.mResult = i;
        this.mErrorType = i2;
        this.mInstallPath = str4;
        this.mErrorKey = str5;
    }

    /* JADX WARN: Removed duplicated region for block: B:30:0x00ec A[Catch: all -> 0x00f1, TryCatch #0 {, blocks: (B:8:0x0008, B:11:0x003b, B:13:0x0089, B:16:0x0090, B:26:0x00c2, B:28:0x00e3, B:30:0x00ec, B:31:0x00ef, B:34:0x00c6, B:35:0x00ce, B:36:0x00d6, B:37:0x00dc, B:40:0x0041, B:44:0x0059, B:42:0x0071), top: B:7:0x0008, inners: #1, #2, #3 }] */
    @Override // java.lang.Runnable
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void run() {
        /*
            Method dump skipped, instructions count: 258
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.heytap.wearable.ota.query.InstallResultFeedbackRunnable.run():void");
    }

    private void processUpgradeResultFeedbackData(Context context, HttpResponse httpResponse) {
        int parseFeedbackResultResponse = ResponseParser.parseFeedbackResultResponse(httpResponse);
        if (parseFeedbackResultResponse == -1) {
            OppoLog.e("InstallResult", "upgrade result feedback fail, return null");
            return;
        }
        if (parseFeedbackResultResponse == 0) {
            OppoLog.i("InstallResult", "upgrade result feedback fail");
        } else {
            if (parseFeedbackResultResponse != 1) {
                return;
            }
            OppoLog.i("InstallResult", "upgrade result feedback success");
            CommonUtil.removeSharePreData(context);
            CommonUtil.setMonitorNetworkState(context, 0);
        }
    }
}