Skip to content

Commit

Permalink
Add project files.
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelSDM committed Dec 5, 2023
1 parent b1d7bf0 commit fec54cc
Show file tree
Hide file tree
Showing 16 changed files with 29,021 additions and 0 deletions.
24,596 changes: 24,596 additions & 0 deletions Include/json.hpp

Large diffs are not rendered by default.

539 changes: 539 additions & 0 deletions Include/leechcore.h

Large diffs are not rendered by default.

2,866 changes: 2,866 additions & 0 deletions Include/vmmdll.h

Large diffs are not rendered by default.

Binary file added Lib/FTD3XX.lib
Binary file not shown.
Binary file added Lib/leechcore.lib
Binary file not shown.
Binary file added Lib/vmm.lib
Binary file not shown.
31 changes: 31 additions & 0 deletions RustDMA.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34003.232
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RustDMA", "RustDMA\RustDMA.vcxproj", "{7B2CF84C-C463-483C-BCA9-CF2765B94B20}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Debug|x64.ActiveCfg = Debug|x64
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Debug|x64.Build.0 = Debug|x64
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Debug|x86.ActiveCfg = Debug|Win32
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Debug|x86.Build.0 = Debug|Win32
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Release|x64.ActiveCfg = Release|x64
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Release|x64.Build.0 = Release|x64
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Release|x86.ActiveCfg = Release|Win32
{7B2CF84C-C463-483C-BCA9-CF2765B94B20}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DC4B5718-A9A2-4B70-A448-13A6A32EBB38}
EndGlobalSection
EndGlobal
27 changes: 27 additions & 0 deletions RustDMA/Main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#include "pch.h"
#include "DMAHandler.h"
#include "UnrealEngine.h"
DMAHandler TargetProcess = DMAHandler(L"RustClient.exe");

void main()
{

if (!TargetProcess.IsInitialized())
{
DebugBreak();
std::printf("Unable To Connect To FPGA Device");
}
//is the PID valid?
if (!TargetProcess.GetPID())
{
std::printf("Game Isn't Open");
Sleep(1000);
TargetProcess = DMAHandler(L"RustClient.exe");
}
std::printf("PID: 0x%X\n", TargetProcess.GetPID());
TargetProcess.FixDTB();
std::printf("Base Address: 0x%llX\n", TargetProcess.GetBaseAddress());
std::printf("Game Assembly: 0x%X\n", TargetProcess.GetModuleAddress(L"GameAssembly.dll"));
std::printf("Unity Player: 0x%X\n", TargetProcess.GetModuleAddress(L"UnityPlayer.dll"));
while (true) {}
}
Loading

0 comments on commit fec54cc

Please sign in to comment.