Exploit databaseDownload repository ZIP
GH-e6e5922ef9ac5cc7d4897803cb452516
zero2005x/rokid-rv101-research
Sources for CVE-2026-43499
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
zero2005x/rokid-rv101-researchRevision c74832d113c5
- ↑..Parent directory
- Shizuku.java
- ShizukuBinderWrapper.java
- ShizukuRemoteProcess.java
- ShizukuServiceConnection.java
- ShizukuServiceConnections.java
- ShizukuSystemProperties.java
- SystemServiceHelper.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
research/shizuku/shizuku-src/api/api/src/main/java/rikka/shizuku/ShizukuServiceConnection.java
Java · 2,184 bytespackage rikka.shizuku;
import android.content.ComponentName;
import android.content.ServiceConnection;
import android.os.Handler;
import android.os.IBinder;
import android.os.Looper;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import java.util.HashSet;
import java.util.Set;
import moe.shizuku.server.IShizukuServiceConnection;
class ShizukuServiceConnection extends IShizukuServiceConnection.Stub {
private static final Handler MAIN_HANDLER = new Handler(Looper.getMainLooper());
private final Set<ServiceConnection> connections = new HashSet<>();
private final ComponentName componentName;
private IBinder binder;
public ShizukuServiceConnection(Shizuku.UserServiceArgs args) {
this.componentName = args.componentName;
}
private boolean dead = false;
public void addConnection(@Nullable ServiceConnection conn) {
if (conn != null) {
connections.add(conn);
}
}
public void removeConnection(@Nullable ServiceConnection conn) {
if (conn != null) {
connections.remove(conn);
}
}
public void clearConnections() {
connections.clear();
}
@Override
public void connected(IBinder binder) {
MAIN_HANDLER.post(() -> {
for (ServiceConnection conn : connections) {
conn.onServiceConnected(componentName, binder);
}
}
);
// Hold the binder, or linkToDeath will not work after reference to
// the binder is dropped
this.binder = binder;
try {
this.binder.linkToDeath(this::died, 0);
} catch (RemoteException ignored) {
}
}
@Override
public void died() {
binder = null;
if (dead) return;
dead = true;
MAIN_HANDLER.post(() -> {
for (ServiceConnection conn : connections) {
conn.onServiceDisconnected(componentName);
}
connections.clear();
ShizukuServiceConnections.remove(this);
}
);
}
}