Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I know the problem now, please close this issue directly. Thank you! Just replace it with memory reading. I'll use VMMLL_readEX instead #26

Open
lxwcv opened this issue Aug 9, 2024 · 3 comments

Comments

@lxwcv
Copy link

lxwcv commented Aug 9, 2024

          I know the problem now, please close this issue directly. Thank you! Just replace it with memory reading. I'll use VMMLL_readEX instead

Originally posted by @subeoy1 in #25 (comment)
Brother, how did you solve it?

@lxwcv lxwcv closed this as completed Aug 9, 2024
@lxwcv lxwcv reopened this Aug 9, 2024
@subeoy1
Copy link

subeoy1 commented Aug 9, 2024

bool MEM::FixCr3()
{
PVMMDLL_MAP_MODULEENTRY module_entry = NULL;

bool result = VMMDLL_Map_GetModuleFromNameU(this->vmm_handle, this->PID, const_cast<LPSTR>(client11().c_str()), &module_entry, NULL);
if (result)
    return true;


if (!VMMDLL_InitializePlugins(this->vmm_handle))
{

    return false;
}


std::this_thread::sleep_for(std::chrono::milliseconds(500));


while (true)
{
    DWORD progress = 0;

    bool success = VMMDLL_GetProgressFromMemory(this->vmm_handle, &progress);

    if (success && progress == 100)
        break;

    std::this_thread::sleep_for(std::chrono::milliseconds(100));
}


VMMDLL_VFS_FILELIST2 VfsFileList;
VfsFileList.dwVersion = VMMDLL_VFS_FILELIST_VERSION;
VfsFileList.h = 0;
VfsFileList.pfnAddDirectory = 0;
VfsFileList.pfnAddFile = cbAddFile1;


result = VMMDLL_VfsListU(this->vmm_handle, const_cast<LPSTR>("\\misc\\procinfo\\"), &VfsFileList);
if (!result)
    return false;

//read the data from the memory and parse it
const size_t buffer_size = cbSize1;
std::unique_ptr<BYTE[]> bytes(new BYTE[buffer_size]);
DWORD j = 0;

auto nt = VMMDLL_ReadMemory(this->vmm_handle, /* memory address */, bytes.get(), buffer_size - 1, &j);

This is an example, you need to respond to your project

@subeoy1
Copy link

subeoy1 commented Aug 9, 2024

Read VMMhandle directly from memory. Discard calling VMMDLL_Sap_GetModulus FromNameUodelU again. Avoid dumping files.
Because you have already called DMA once during installation

@lxwcv
Copy link
Author

lxwcv commented Aug 9, 2024

Read VMMhandle directly from memory. Discard calling VMMDLL_Sap_GetModulus FromNameUodelU again. Avoid dumping files. Because you have already called DMA once during installation

VMMDLL_GetProgressFromMemory
How do you define that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants