Exploit databaseDownload repository ZIP
GH-ec3b6c72a1c8674f5449c2d8911bec19
ull0a/msrmapper
Sources for CVE-2025-8061
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files19
ull0a/msrmapperRevision 786498c8676f
- ↑..Parent directory
- EnableAC.asm
- LnvMSRIODriver.cpp
- LnvMSRIODriver.h
- MsrShellcode.cpp
- MsrShellcode.h
- PEUtils.cpp
- PEUtils.h
- PdbResolver.cpp
- PdbResolver.h
- ShellcodeAsm.asm
- Superfetch.cpp
- Superfetch.h
- kdmapper.cpp
- kdmapper.h
- main.cpp
- portable_executable.cpp
- portable_executable.h
- utils.cpp
- utils.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
client/kdmapper.h
Text · 773 bytes#pragma once
#include <Windows.h>
#include <winternl.h>
#include <Psapi.h>
#pragma comment(lib, "Psapi.lib")
namespace kdmapper
{
enum class AllocationMode
{
AllocatePool,
AllocateIndependentPages
};
typedef bool (*mapCallback)(ULONG64* param1, ULONG64* param2,
ULONG64 allocationPtr, ULONG64 allocationSize);
ULONG64 MapDriver(BYTE* data, ULONG64 param1 = 0, ULONG64 param2 = 0,
bool free = false, bool destroyHeader = true,
AllocationMode mode = AllocationMode::AllocatePool,
bool PassAllocationAddressAsFirstParam = false,
mapCallback callback = nullptr, NTSTATUS* exitCode = nullptr);
}