Skip to content
forked from rdbo/libmem

Process & Memory Hacking Library (Windows/Linux/BSD/Android) (C/C++/Python) (x86/x64, ARM/ARM64) (Internal/External)

License

Notifications You must be signed in to change notification settings

abiabilesh/libmem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libmem-logo

discord-server

Usage (C/C++)

Include libmem/libmem.h (C/C++) or libmem/libmem.hpp (C++) in your project.
Compile libmem/libmem.c along with your project.

Usage (Python)

Make sure to have Python >= 3.6 active
Either install the libmem package from PyPi by running the following command:

pip install --upgrade libmem

Or build and install it yourself by running the following commands:

cd libmem-py
python configure.py
python setup.py install

Now to import libmem, just do the following in your Python code:

from libmem import *

Dependencies

Windows:

  • Windows SDK (-luser32, -lpsapi)

Linux/Android:

  • libdl (-ldl)

BSD:

  • libdl (-ldl)
  • libkvm (-lkvm)
  • libprocstat (-lprocstat)
  • libelf (-lelf)

License

Read LICENSE

Overview

LM_EnumProcesses
LM_GetProcessId
LM_GetProcessIdEx
LM_GetParentId
LM_GetParentIdEx
LM_OpenProcess
LM_OpenProcessEx
LM_CloseProcess
LM_GetProcessPath
LM_GetProcessPathEx
LM_GetProcessName
LM_GetProcessNameEx
LM_GetSystemBits
LM_GetProcessBits
LM_GetProcessBitsEx

LM_EnumThreads
LM_EnumThreadsEx
LM_GetThreadId
LM_GetThreadIdEx

LM_EnumModules
LM_EnumModulesEx
LM_GetModule
LM_GetModuleEx
LM_GetModulePath
LM_GetModulePathEx
LM_GetModuleName
LM_GetModuleNameEx
LM_LoadModule
LM_LoadModuleEx
LM_UnloadModule
LM_UnloadModuleEx

LM_EnumSymbols
LM_EnumSymbolsEx
LM_GetSymbol
LM_GetSymbolEx

LM_EnumPages
LM_EnumPagesEx
LM_GetPage
LM_GetPageEx

LM_ReadMemory
LM_ReadMemoryEx
LM_WriteMemory
LM_WriteMemoryEx
LM_SetMemory
LM_SetMemoryEx
LM_ProtMemory
LM_ProtMemoryEx
LM_AllocMemory
LM_AllocMemoryEx
LM_FreeMemory
LM_FreeMemoryEx
LM_DataScan
LM_DataScanEx
LM_PatternScan
LM_PatternScanEx
LM_SigScan
LM_SigScanEx

LM_SystemCall
LM_SystemCallEx
LM_FunctionCall
LM_FunctionCallEx
LM_DetourCode
LM_DetourCodeEx
LM_MakeTrampoline
LM_MakeTrampolineEx
LM_DestroyTrampoline
LM_DestroyTrampolineEx

LM_DebugAttach
LM_DebugDetach
LM_DebugCheck
LM_DebugRead
LM_DebugWrite
LM_DebugGetRegs
LM_DebugSetRegs
LM_DebugPickReg
LM_DebugReadReg
LM_DebugWriteReg
LM_DebugContinue
LM_DebugStep
LM_DebugWait
LM_DebugWaitProcess
LM_DebugInject
LM_DebugInjectSingle

Projects

Made with libmem:

  • AssaultCube Multihack
  • X-Inject
  • DirectX9 BaseHook
  • DirectX11 BaseHook
  • OpenGL BaseHook
  • Counter-Strike 1.6 BaseHook
  • Crazymem - NodeJS Memory Library

About

Process & Memory Hacking Library (Windows/Linux/BSD/Android) (C/C++/Python) (x86/x64, ARM/ARM64) (Internal/External)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 93.6%
  • Python 5.0%
  • CMake 1.2%
  • C++ 0.2%