-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
43 lines (36 loc) · 1.44 KB
/
Program.cs
File metadata and controls
43 lines (36 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Buffers;
namespace ProCheatEngineCLI
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("=== VoidMemory CLI ===");
Console.WriteLine("Coded by Tanmay");
Console.WriteLine("Programming Language --> C#");
Console.WriteLine("Follow me on GitHub --> https://github.com/CzaxStudio");
Console.WriteLine();
ProcessManager processManager = new ProcessManager();
MemoryManager memoryManager = new MemoryManager();
while (true)
{
var processes = processManager.GetRunningProcesses();
processManager.DisplayProcesses(processes);
Console.Write("Enter game name (or 'quit' to exit): ");
string gameName = Console.ReadLine().Trim();
if (gameName.ToLower() == "quit")
break;
var targetProcess = processManager.FindProcess(processes, gameName);
if (targetProcess == null)
{
Console.WriteLine("Process not found!");
continue;
}
Console.WriteLine($"Found: {targetProcess.ProcessName} (PID: {targetProcess.Id})");
memoryManager.CheatProcess(targetProcess);
Console.WriteLine();
}
}
}
}