Exploit databaseDownload repository ZIP
GH-deca40b168339536a742a6e53aaaec86
cyb3r0id694/shark-moto
Sources for CVE-2026-98260
60 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files40
cyb3r0id694/shark-motoRevision 8ddbb6ecad3f
- ↑..Parent directory
- Makefile
- btf_layout.c
- btf_layout.h
- fsnotify_lifetime.c
- fsnotify_lifetime.h
- imports_guard.c
- ksu_allow_gate.c
- ksu_allow_gate.h
- ksu_umount_gate.c
- ksu_umount_gate.h
- lsm_hook.c
- lsm_hook.h
- patch_memory.c
- patch_memory.h
- spoof_cmdline.c
- sus_dirent.c
- sus_map.c
- sus_mount.c
- sus_path.c
- susfs.h
- susfs_abi.h
- susfs_avc_spoof.c
- susfs_create_gate.c
- susfs_enable_log.c
- susfs_fp_hook.c
- susfs_fp_hook.h
- susfs_hide_syms.c
- susfs_kprobe.h
- susfs_kstat.c
- susfs_log.h
- susfs_main.c
- susfs_opath.c
- susfs_opath.h
- susfs_open_redirect.c
- susfs_or_entry.c
- susfs_or_entry.h
- susfs_supercall.c
- susfs_uname.c
- symbol_resolver.c
- symbol_resolver.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lkm/susfs4ksu-lkm/kernel/patch_memory.h
Text · 897 bytes/* SPDX-License-Identifier: GPL-2.0-only */
/* patch_memory.h - arbitrary kernel text patching (ported from KernelSU/SukiSU).
* Copyright (C) 2023 bmax121. All Rights Reserved. */
#ifndef __SUSFS_PATCH_MEMORY_H
#define __SUSFS_PATCH_MEMORY_H
#include <linux/types.h>
#include <linux/version.h>
#ifdef __aarch64__
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0)
#include "asm/text-patching.h"
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0)
#include "asm/patching.h"
#else
#include "asm/insn.h"
#endif
#elif __x86_64__
#include <asm/ptrace.h>
#else
#error "Unsupported arch"
#endif
#define KSU_PATCH_TEXT_FLUSH_DCACHE 1
#define KSU_PATCH_TEXT_FLUSH_ICACHE 2
unsigned long phys_from_virt(unsigned long addr, int *err);
int ksu_patch_memory_init(void);
int ksu_patch_text(void *dst, void *src, size_t len, int flags);
void *scan_call_to(void *start, size_t size, void *target);
#endif