Exploit databaseDownload repository ZIP
GH-e6e5922ef9ac5cc7d4897803cb452516
zero2005x/rokid-rv101-research
Sources for CVE-2026-43499
165 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files254
zero2005x/rokid-rv101-researchRevision c74832d113c5
- ↑..Parent directory
- ghostlock_rv101/
- slabprobe/
- adsprpc_dmabuf.c
- adsprpc_hwbinder_probe.c
- adsprpc_ioctl_test.c
- adsprpc_ioctl_v2.c
- adsprpc_mmap_probe.c
- adsprpc_secure_exploit.c
- adsprpc_test.c
- alt_attack_surface.c
- alt_attack_surface_v2.c
- ashmem_kgsl_bridge.c
- ashmem_overflow_exploit.c
- ashmem_probe.c
- attack_surface_probe.c
- binder_ashmem_attack.c
- binder_bpf_exploit.c
- binder_cmd_test.c
- binder_fd_steal.c
- binder_probe.c
- binder_simple_test.c
- binder_uaf_v5.c
- bpf_5_10_exploit.c
- bpf_advanced.c
- bpf_bypass_v2.c
- bpf_check.c
- bpf_deep_probe.c
- bpf_helper_leak.c
- bpf_info_leak.c
- bpf_infoleak_v2.c
- bpf_kaslr_exploit.c
- bpf_leak_v3.c
- bpf_oob_read.c
- bpf_research.c
- bpf_ringbuf_exploit.c
- bpf_ringbuf_oob_v6.c
- bpf_sandbox_kaslr_leak.c
- bpf_simple_leak.c
- bpf_size_confusion.c
- bpf_stack_exploit.c
- bpf_type_survey.c
- bpf_verifier_bypass.c
- bpf_verifier_exploit.c
- bpf_vuln_probe.c
- bpf_vuln_scanner.c
- cgroup_bpf_exploit.c
- cgroup_skb_probe.c
- cross_cache_exploit.c
- crossfd_physical_scan.c
- cve-2021-22555_exploit.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
source_code/gate_simple_test.c
C · 2,175 bytes/*
* Simple GateServiced connection test
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#define PORT 8341
#define HOST "127.0.0.1"
int main()
{
printf("[*] GateServiced Simple Test\n");
printf("[*] Connecting to %s:%d...\n", HOST, PORT);
fflush(stdout);
int sock = socket(AF_INET, SOCK_STREAM, 0);
if (sock < 0)
{
printf("[-] socket() failed: %s\n", strerror(errno));
return 1;
}
printf("[+] Socket created\n");
fflush(stdout);
struct sockaddr_in addr;
memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
addr.sin_port = htons(PORT);
inet_pton(AF_INET, HOST, &addr.sin_addr);
if (connect(sock, (struct sockaddr *)&addr, sizeof(addr)) < 0)
{
printf("[-] connect() failed: %s\n", strerror(errno));
close(sock);
return 1;
}
printf("[+] Connected!\n");
fflush(stdout);
// Send a simple test packet
// cmd_id = 1, len = 8
unsigned char pkt[] = {0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00};
printf("[*] Sending test packet...\n");
fflush(stdout);
ssize_t sent = send(sock, pkt, sizeof(pkt), 0);
printf("[+] Sent %zd bytes\n", sent);
fflush(stdout);
// Receive the response
unsigned char buf[256];
struct timeval tv;
tv.tv_sec = 2;
tv.tv_usec = 0;
setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));
ssize_t received = recv(sock, buf, sizeof(buf), 0);
if (received > 0)
{
printf("[+] Received %zd bytes:\n", received);
for (int i = 0; i < received; i++)
{
printf("%02x ", buf[i]);
if ((i + 1) % 16 == 0)
printf("\n");
}
printf("\n");
}
else if (received == 0)
{
printf("[*] Connection closed by server\n");
}
else
{
printf("[-] recv() failed: %s\n", strerror(errno));
}
close(sock);
printf("[*] Done\n");
return 0;
}