Posted: Sun May 19, 2024 11:47 am Post subject: [Solved] Getting memory adress from c++ program
I've made a simple program in C++ using Visual Studio, which i built and ran.
Code:
#include <iostream>
#include <windows.h>
using namespace std;
int y;
int main() {
y = 100; // Allowed (public)
while (true) {
y -= 1;
cout << y << '\n';
Sleep(3000);
}
return 0;
}
I've then used CE to hook to it and tried searching for the first of y ( 99 ) and then waiting 3 seconds and searching for the next value ( 98 ) . The first search returned many results, but the second returned none. I've seen a youtuber do this exact thing and it worked well for him, but it doesn't work for me.
I'm just trying to use CE to change the value of the y variable.
Last edited by Horix21 on Mon May 20, 2024 1:02 am; edited 1 time in total
You probably attached to the console and not the program being run. When attaching to something, look at "Processes," not "Windows" or "Applications." _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum