Exploit database

GH-b2682eea148b61d664fff913b24cc4d4

lw5959/xring-cve-2026-98260

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-98260

61 sources

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

Repository files22
lw5959/xring-cve-2026-98260Revision 8b404774be19

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

apk/app/java/o3/xring/cve98260/CmdReceiver.java

Java · 1,765 bytes
package o3.xring.cve98260;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * 调试/自动化入口(导出广播,仅本机 adb shell 可用):
 *   am broadcast -a o3.xring.cve98260.PAIR --es code 123456
 *   am broadcast -a o3.xring.cve98260.RUN
 *   am broadcast -a o3.xring.cve98260.PROBE
 */
public class CmdReceiver extends BroadcastReceiver {

    public static final String ACTION_PAIR = "o3.xring.cve98260.PAIR";
    public static final String ACTION_RUN = "o3.xring.cve98260.RUN";
    public static final String ACTION_PROBE = "o3.xring.cve98260.PROBE";

    @Override
    public void onReceive(Context ctx, Intent intent) {
        String action = intent == null ? null : intent.getAction();
        if (action == null) {
            return;
        }
        Context app = ctx.getApplicationContext();
        if (ACTION_PAIR.equals(action)) {
            String code = intent.getStringExtra("code");
            Intent i = PairingService.startIntent(app);
            if (code != null) {
                i.putExtra(PairingService.EXTRA_CODE, code.trim());
            }
            int port = intent.getIntExtra("port", -1);
            if (port > 0) {
                i.putExtra("port", port);
            }
            app.startForegroundService(i);
            LogBus.append("[cmd] PAIR code=" + (code == null ? "" : code.length() + "位"));
        } else if (ACTION_RUN.equals(action)) {
            app.startForegroundService(new Intent(app, OcService.class).setAction(OcService.ACTION_RUN));
            LogBus.append("[cmd] RUN");
        } else if (ACTION_PROBE.equals(action)) {
            AppProbe.probe(app);
            LogBus.append("[cmd] PROBE");
        }
    }
}