Exploit database

GH-5c9458491fbccbb785aaaf0ec7bab234

percivalll/copy-fail-cve-2026-31431-kubernetes-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-31431

166 sources

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

Repository files46

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

payload/nolibc/byteswap.h

Text · 449 bytes
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
/*
 * Byte swapping for NOLIBC
 * Copyright (C) 2026 Thomas Weißschuh <[email protected]>
 */

/* make sure to include all global symbols */
#include "nolibc.h"

#ifndef _NOLIBC_BYTESWAP_H
#define _NOLIBC_BYTESWAP_H

#include "stdint.h"

#include <linux/swab.h>

#define bswap_16(_x) __swab16(_x)
#define bswap_32(_x) __swab32(_x)
#define bswap_64(_x) __swab64(_x)

#endif /* _NOLIBC_BYTESWAP_H */