GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Python-Scripts/Python_Scripts/WriteProcessMemory.py at master · IDouble/Python-Scripts Expand file tree/ Copy pathWriteProcessMemory.pyMore file actions 21 lines (15 loc) · 611 Bytes / Copy pathWriteProcessMemory.pyFile metadata and controls21 lines (15 loc) · 611 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 from ctypes import * from ctypes.wintypes import * PROCESS_ID = 9476 # From TaskManager for Notepad.exe PROCESS_HEADER_ADDR = 0x7ff7b81e0000 # From SysInternals VMMap utility # write to address newValue = 50 PROCESS_VM_READ = 0x0010 k32 = WinDLL('kernel32') k32.OpenProcess.argtypes = DWORD,BOOL,DWORD k32.OpenProcess.restype = HANDLE k32.WriteProcessMemory.argtypes = HANDLE,LPVOID,LPVOID,c_size_t,POINTER(c_size_t) k32.WriteProcessMemory.restype = BOOL process = k32.OpenProcess(PROCESS_VM_READ, 0, PROCESS_ID) s = c_size_t() k32.WriteProcessMemory(process, PROCESS_HEADER_ADDR, newValue, 255, byref(s)) |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |