sponsored banners
CR3 DMA FIX CR3 DMA 修复 CR3 DMA 修复
Yesterday, 11:54 PM
昨天,晚上 11:54
#1
n00bie
Join Date: Nov 2022 加入日期:2022 年 11 月
Posts: 23
帖子:23
Reputation: -476 声誉:-476
Rep Power: 0 Rep 力:0
Points: 2,582, Level: 4 得分:2,582,等级:4
Level up: 69%, 218 Points needed提升等级:69%,还需 218 点
Last Achievements 最新成就
CR3 DMA FIX CR3 DMA 修复
Code: 代码:
bool Memory :: FixCr3 () bool Memory::FixCr3() { PVMMDLL_MAP_MODULEENTRY module_entry ; bool result = VMMDLL_Map_GetModuleFromNameU ( this -> vHandle , this -> current_process . PID , ( LPSTR ) this -> current_process . process_name . c_str (), & module_entry , NULL ); bool 结果 = VMMDLL_Map_GetModuleFromNameU(this->vHandle, this->current_process.PID, (LPSTR)this->current_process.process_name.c_str(), &module_entry, NULL); if ( result ) if (结果) return true ; //Doesn't need to be patched lol 返回 true;不需要打补丁哈哈 if (! VMMDLL_InitializePlugins ( this -> vHandle )) 如果 (!VMMDLL_InitializePlugins(this->vHandle)) { ERROR ( "[-] Failed VMMDLL_InitializePlugins call" ); ERROR(“[-] 呼叫失败VMMDLL_InitializePlugins”); return false ; 返回 false; } //have to sleep a little or we try reading the file before the plugin initializes fully 必须睡一会儿,或者我们尝试在插件完全初始化之前读取文件 std :: this_thread :: sleep_for ( std :: chrono :: milliseconds ( 500 )); std::this_thread:sleep_for(std::chrono:milliseconds(500)); while ( true ) while (true) { BYTE bytes [ 4 ] = { 0 }; BYTE 字节[4] = { 0 }; DWORD i = 0 ; auto nt = VMMDLL_VfsReadW ( this -> vHandle , ( LPWSTR ) L "\\misc\\procinfo\\progress_percent.txt" , bytes , 3 , & i , 0 ); 自动 nt = VMMDLL_VfsReadW(this->vHandle, (LPWSTR)L“\\misc\\procinfo\\progress_percent.txt”, bytes, 3, &i, 0); if ( nt == VMMDLL_STATUS_SUCCESS && atoi (( LPSTR ) bytes ) == 100 ) if (nt == VMMDLL_STATUS_SUCCESS & atoi((LPSTR)bytes) == 100) break ; 破; std :: this_thread :: sleep_for ( std :: chrono :: milliseconds ( 100 )); 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 = cbAddFile ; //dumb af callback who made this system VfsFileList.pfnAddFile = cbAddFile;愚蠢的 AF 回调谁制作了这个系统 result = VMMDLL_VfsListU ( this -> vHandle , ( LPSTR ) "\\misc\\procinfo\\" , & VfsFileList ); 结果 = VMMDLL_VfsListU(this->vHandle, (LPSTR)“\\misc\\procinfo\\”, &VfsFileList); if (! result ) 如果 (!result) return false ; 返回 false; //read the data from the txt and parse it 从 txt 中读取数据并对其进行解析 const size_t buffer_size = cbSize ; std :: unique_ptr < BYTE []> bytes ( new BYTE [ buffer_size ]); std::unique_ptr<BYTE[]> 字节(新字节[buffer_size]); DWORD j = 0 ; auto nt = VMMDLL_VfsReadW ( this -> vHandle , ( LPWSTR ) L "\\misc\\procinfo\\dtb.txt" , bytes . get (), buffer_size - 1 , & j , 0 ); 自动 nt = VMMDLL_VfsReadW(this->vHandle, (LPWSTR)L“\\misc\\procinfo\\dtb.txt”, bytes.get(), buffer_size - 1, &j, 0); if ( nt != VMMDLL_STATUS_SUCCESS ) 如果 (nt != VMMDLL_STATUS_SUCCESS) return false ; 返回 false; std :: vector <uint64_t> possible_dtbs ; std::vector<uint64_t> possible_dtbs; std :: string lines ( reinterpret_cast < char *>( bytes . get ())); std::string lines(reinterpret_cast<char*>(bytes.get()))); std :: istringstream iss ( lines ); std::istringstream iss(行); std :: string line ; std::string 行; while ( std :: getline ( iss , line )) while (std::getline(iss, line)) { Info info = { }; 信息 info = { }; std :: istringstream info_ss ( line ); std::istringstream info_ss(行); if ( info_ss >> std :: hex >> info . index >> std :: dec >> info . process_id >> std :: hex >> info . dtb >> info . kernelAddr >> info . name ) if (info_ss >> std::hex >> info.index >> std::d ec >> info.process_id >> std::hex >> info.dtb >> info.kernelAddr >> info.name) { if ( info . process_id == 0 ) //parts that lack a name or have a NULL pid are suspects if (info.process_id == 0) //缺少名称或具有 NULL pid 的部分是可疑的 possible_dtbs . push_back ( info . dtb ); possible_dtbs.push_back(info.dtb); if ( this -> current_process . process_name . find ( info . name ) != std :: string :: npos ) if (this->current_process.process_name.find(info.name) != std::string::npos) possible_dtbs . push_back ( info . dtb ); possible_dtbs.push_back(info.dtb); } } //loop over possible dtbs and set the config to use it til we find the correct one 遍历可能的 DTB 并设置配置以使用它,直到找到正确的 DTB for ( size_t i = 0 ; i < possible_dtbs . size (); i ++) for (size_t i = 0; i < possible_dtbs.size(); i++) { auto dtb = possible_dtbs [ i ]; 自动 DTB = possible_dtbs[i]; VMMDLL_ConfigSet ( this -> vHandle , VMMDLL_OPT_PROCESS_DTB | this -> current_process . PID , dtb ); VMMDLL_ConfigSet(this->vHandle, VMMDLL_OPT_PROCESS_DTB | this->current_process.PID、dtb); result = VMMDLL_Map_GetModuleFromNameU ( this -> vHandle , this -> current_process . PID , ( LPSTR ) this -> current_process . process_name . c_str (), & module_entry , NULL ); result = VMMDLL_Map_GetModuleFromNameU(this->vHandle, this->current_process.PID, (LPSTR)this->current_process.process_name.c_str(), &module_entry, NULL); if ( result ) if (结果) { INFO ( "Patched DTB" ); INFO(“修补的 DTB”); return true ; 返回 true; } } ERROR ( "[-] Failed to patch module" ); ERROR(“[-] 无法修补模块”); return false ; 返回 false; }
NixyyL is online now NixyyL 现在在线
Last Active: Today 最后活跃:今天
Today, 01:01 AM
今天,上午 1:01
#2
Huge Member 庞大的成员
Woah! 哇! 哇!
And you did this all by yourself?!你这是自己一个人做的吗?! 而这一切都是你自己做的?!
This guy is a prodigy这个人是个天才 这家伙是个神童
(This is entirely Metick's work )(这完全是 Metick 的工作) (这完全是 Metick 的作品)
spicyninja800 is offline
spicyninja800 离线
Last Active: Today 最后活跃:今天
Today, 07:41 AM
今天,上午 7:41
#3
A Forum Hero 一个论坛英雄
Quote: 引用:
Originally Posted by spicyninja800
原始发布于 spicyninja800
Woah! 哇!
And you did this all by yourself?!你这是自己一个人做的吗?!
This guy is a prodigy这个人是个天才
(This is entirely Metick's work )(这完全是 Metick 的工作)
omfg typical lately lol我靠 近来太典型了 哈哈
newguy148 is online now newguy148 现在在线
Last Active: Today 最后活跃:今天
Enjoying our free services? We're committed to keeping your experience free and without restrictions, but please consider supporting us by disabling your adblocker or whitelisting our site.
Similar Threads 相似主题
Thread 线程
Thread Starter 线程发起者
Forum 论坛
Replies 回复
Last Post 最后发表
[Release] DMA with ESP,Cr3 fix (fix from FATE DMA SOURCE) [发布] DMA with ESP,Cr3 修复(修复来自 FATE DMA 源)
Sinceman2007
Apex Legends Apex 英雄
10
Yesterday 01:34 PM 昨天下午 1:34
[Request] CR3 DMA Fix C# [请求] CR3 DMA 修复 C#
whoasked123
Rust
0
29th December 2023 01:17 AM 2023 年 12 月 29 日 上午 1:17
[Help] DMA CR3 FIX [帮助] DMA CR3 修复
20545214
Rust
1
6th December 2023 05:58 PM 2023 年 12 月 6 日 下午 5:58
Currently Active Users Viewing This Thread: 13 (4 members and 9 guests) 当前查看此帖子的活跃用户:13 人(4 名会员和 9 名访客)
chaos4 , OxiJeans , procoder696 , sthwf 混沌 4,OxiJeans,procoder696,sthwf
All times are GMT. The time now is 12:24 PM .
Terms of Use Privacy Policy
Copyright ©2000-2024, Unknowncheats™