Exploit database

GH-c138f49e12cfbda9c38e831e92b126e9

huaguiqi/asus-i005-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

165 sources

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

Repository files38
huaguiqi/asus-i005-cve-2026-43499Revision 759f8fe75bb8

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

src/legacy/ps_zero.c

C · 895 bytes
/*
 * pselect timeout=0 (非阻塞) 测试
 * 用法: ps_zero <nfds>
 */
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <time.h>
#include <sys/syscall.h>

#ifndef SYS_pselect6
#define SYS_pselect6 72
#endif

int main(int argc, char **argv)
{
    int nfds = (argc > 1) ? atoi(argv[1]) : 320;
    int nlong = (nfds + 63) / 64;

    unsigned long *in  = calloc(nlong, 8);
    unsigned long *out = calloc(nlong, 8);
    unsigned long *ex  = calloc(nlong, 8);

    struct timespec tv = { 0, 0 };   /* timeout = 0, 非阻塞 */

    dprintf(2, "before pselect nfds=%d timeout=0\n", nfds);
    fflush(stderr);
    long r = syscall(SYS_pselect6, nfds, in, out, ex, &tv, NULL);
    int e = errno;
    dprintf(2, "after pselect ret=%ld errno=%d (%s)\n", r, e, strerror(e));
    free(in); free(out); free(ex);
    return 0;
}