Skip to content

Commit

Permalink
Version 5.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ufrisk committed Oct 25, 2022
1 parent 68b5473 commit 48ad78b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions m_vmemd/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 1
#define VERSION_REVISION 4
#define VERSION_BUILD 83
#define VERSION_REVISION 5
#define VERSION_BUILD 84

#define VER_FILE_DESCRIPTION_STR "MemProcFS : Plugin vmemd"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down
4 changes: 2 additions & 2 deletions memprocfs/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 1
#define VERSION_REVISION 4
#define VERSION_BUILD 83
#define VERSION_REVISION 5
#define VERSION_BUILD 84

#define VER_FILE_DESCRIPTION_STR "MemProcFS"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down
4 changes: 2 additions & 2 deletions vmm/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 1
#define VERSION_REVISION 4
#define VERSION_BUILD 83
#define VERSION_REVISION 5
#define VERSION_BUILD 84

#define VER_FILE_DESCRIPTION_STR "MemProcFS : Core"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down
12 changes: 7 additions & 5 deletions vmm/vmmnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ BOOL VmmNet_TcpE_GetAddressEPs(_In_ VMM_HANDLE H, _In_ PVMMNET_CONTEXT ctx, _In_
PBYTE pbPartitionTable = NULL, pbTcHT = NULL;
POB_SET pObTcHT = NULL, pObHTab_TcpE = NULL, pObTcpE = NULL;
PRTL_DYNAMIC_HASH_TABLE pTcpHT;
DWORD dwPoolTag;
DWORD iPoolTag, dwPoolTag;
PVMM_MAP_POOLENTRYTAG pePoolTag;
if(!(pObTcHT = ObSet_New(H))) { goto fail; }
if(!(pObHTab_TcpE = ObSet_New(H))) { goto fail; }
Expand Down Expand Up @@ -304,7 +304,8 @@ BOOL VmmNet_TcpE_GetAddressEPs(_In_ VMM_HANDLE H, _In_ PVMMNET_CONTEXT ctx, _In_
case 1: o = 0x00; dwPoolTag = 'TcpE'; break;
default: o = 0x40; dwPoolTag = 'TcTW'; break;
}
if(VmmMap_GetPoolTag(H, pPoolMap, dwPoolTag, &pePoolTag)) {
if(VmmMap_GetPoolTag(H, pPoolMap, dwPoolTag, &iPoolTag)) {
pePoolTag = pPoolMap->pTag + iPoolTag;
for(j = 0; j < pePoolTag->cEntry; j++) {
iEntry = pPoolMap->piTag2Map[pePoolTag->iTag2Map + j];
ObSet_Push(psvaOb_TcpE, pPoolMap->pMap[iEntry].va + o);
Expand Down Expand Up @@ -483,7 +484,7 @@ BOOL VmmNet_TcpTW_Enumerate(_In_ VMM_HANDLE H, _In_ PVMMNET_CONTEXT ctx, _In_ PV
// 2.1 fetch INET_AF
VmmReadEx(H, pSystemProcess, vaINET_AF - 0x10, pb, 0x30, &cbRead, VMM_FLAG_FORCECACHE_READ);
if(0x30 != cbRead) { continue; }
if((*(PDWORD)(pb + 0x04) != 'lNnI') && ((*(PDWORD)(pb + 0x04) != 'lTnI'))) {
if(*(PDWORD)(pb + 0x04) != 'lNnI') {
VmmLog(H, MID_NET, LOGLEVEL_DEBUG, "UNEXPECTED POOL HDR: '%c%c%c%c' EXPECT: 'InNl' AT VA: 0x%016llx", pb[4], pb[5], pb[6], pb[7], vaINET_AF);
continue;
}
Expand Down Expand Up @@ -752,7 +753,7 @@ DWORD VmmNet_InPP_DoWork(_In_ VMM_HANDLE H, PVOID lpThreadParameter)
PVMMNET_CONTEXT ctx = actx->ctx;
PVMM_PROCESS pSystemProcess = actx->pSystemProcess;
POB_MAP pmNetEntries = actx->pmNetEntries;
DWORD cbInPPe, oInPPe, oInPA = 0, o, oFLink, tag, iEntry;
DWORD cbInPPe, oInPPe, oInPA = 0, o, oFLink, tag, iPoolTag, iEntry;
QWORD i, j, va;
BYTE pb[0x2000], pb2[0x20];
POB_SET psObPA = NULL, psObPreEP = NULL, psObEP = NULL, psObEP_Next = NULL, psObEP_SWAP;
Expand Down Expand Up @@ -825,7 +826,8 @@ DWORD VmmNet_InPP_DoWork(_In_ VMM_HANDLE H, PVOID lpThreadParameter)
// fetch candidate addresses for endpoints / listeners from pool tagging
if(actx->pPoolMap) {
for(i = 0; i < 2; i++) {
if(VmmMap_GetPoolTag(H, actx->pPoolMap, (i ? 'TcpL' : 'UdpA'), &pePoolTag)) {
if(VmmMap_GetPoolTag(H, actx->pPoolMap, (i ? 'TcpL' : 'UdpA'), &iPoolTag)) {
pePoolTag = actx->pPoolMap->pTag + iPoolTag;
for(j = 0; j < pePoolTag->cEntry; j++) {
iEntry = actx->pPoolMap->piTag2Map[pePoolTag->iTag2Map + j];
ObSet_Push(psObEP, actx->pPoolMap->pMap[iEntry].va);
Expand Down
4 changes: 2 additions & 2 deletions vmmpyc/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 1
#define VERSION_REVISION 4
#define VERSION_BUILD 83
#define VERSION_REVISION 5
#define VERSION_BUILD 84

#define VER_FILE_DESCRIPTION_STR "MemProcFS : Python API"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down

0 comments on commit 48ad78b

Please sign in to comment.