Skip to content

Commit

Permalink
Version 3.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ufrisk committed Nov 5, 2018
1 parent 43b66bc commit a0a037c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pcileech/pcileech.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define __PCILEECH_H__
#include "oscompatibility.h"

#define PCILEECH_VERSION_CURRENT "3.6.1"
#define PCILEECH_VERSION_CURRENT "3.6.2"

#define SIZE_PAGE_ALIGN_4K(x) ((x + 0xfff) & ~0xfff)
#define CONFIG_MAX_SIGNATURES 16
Expand Down
Binary file removed pcileech/vc140.pdb
Binary file not shown.
1 change: 1 addition & 0 deletions pcileech/vmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,7 @@ VOID VmmReadEx(_Inout_ PVMM_CONTEXT ctxVmm, _In_ PVMM_PROCESS pProcess, _In_ QWO
PDMA_IO_SCATTER_HEADER pDMAs, *ppDMAs;
QWORD i, oVA;
if(pcbReadOpt) { *pcbReadOpt = 0; }
if(!cb) { return; }
cDMAs = (DWORD)(((qwVA & 0xfff) + cb + 0xfff) >> 12);
pbBuffer = (PBYTE)LocalAlloc(LMEM_ZEROINIT, 0x2000 + cDMAs * (sizeof(DMA_IO_SCATTER_HEADER) + sizeof(PDMA_IO_SCATTER_HEADER)));
if(!pbBuffer) { return; }
Expand Down
10 changes: 4 additions & 6 deletions pcileech/vmmproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,8 @@ VOID VmmProcWindows_ScanLdrModules64(_Inout_ PVMM_CONTEXT ctxVmm, _In_ PVMM_PROC
pModule->EntryPoint = (QWORD)pLdrModule->EntryPoint;
pModule->SizeOfImage = (DWORD)pLdrModule->SizeOfImage;
pModule->fWoW64 = FALSE;
if(pLdrModule->FullDllName.Length) {
if(!VmmReadString_Unicode2Ansi(ctxVmm, pProcess, (QWORD)pLdrModule->BaseDllName.Buffer, pModule->szName, min(31, pLdrModule->BaseDllName.Length))) { break; }
}
if(!pLdrModule->BaseDllName.Length) { break; }
if(!VmmReadString_Unicode2Ansi(ctxVmm, pProcess, (QWORD)pLdrModule->BaseDllName.Buffer, pModule->szName, min(31, pLdrModule->BaseDllName.Length))) { break; }
*fWow64 = *fWow64 || !memcmp(pModule->szName, "wow64.dll", 10);
if(fVerboseExtra) {
printf("vmmproc.c!VmmProcWindows_ScanLdrModules: %016llx %016llx %016llx %08x %i %s\n", vaModuleLdr, pModule->BaseAddress, pModule->EntryPoint, pModule->SizeOfImage, (pModule->fWoW64 ? 1 : 0), pModule->szName);
Expand Down Expand Up @@ -494,9 +493,8 @@ BOOL VmmProcWindows_ScanLdrModules32(_Inout_ PVMM_CONTEXT ctxVmm, _In_ PVMM_PROC
pModule->EntryPoint = (QWORD)pLdrModule32->EntryPoint;
pModule->SizeOfImage = (DWORD)pLdrModule32->SizeOfImage;
pModule->fWoW64 = TRUE;
if(pLdrModule32->FullDllName.Length) {
if(!VmmReadString_Unicode2Ansi(ctxVmm, pProcess, (QWORD)pLdrModule32->BaseDllName.Buffer, pModule->szName, min(31, pLdrModule32->BaseDllName.Length))) { break; }
}
if(!pLdrModule32->BaseDllName.Length) { break; }
if(!VmmReadString_Unicode2Ansi(ctxVmm, pProcess, (QWORD)pLdrModule32->BaseDllName.Buffer, pModule->szName, min(31, pLdrModule32->BaseDllName.Length))) { break; }
if(fVerboseExtra) {
printf("vmmproc.c!VmmProcWindows_ScanLdrModules32: %08x %08x %08x %08x %s\n", vaModuleLdr32, pModule->BaseAddress, pModule->EntryPoint, pModule->SizeOfImage, pModule->szName);
}
Expand Down
Binary file modified pcileech_files/dll/pcileech.dll
Binary file not shown.
Binary file modified pcileech_files/dll/pcileech.lib
Binary file not shown.
Binary file modified pcileech_files/pcileech.exe
Binary file not shown.

0 comments on commit a0a037c

Please sign in to comment.