❓ Question. Hacks in C++

Posts 1–15 of 46 · Page 1 of 4
❓ Question. Hacks in C++
Hello,
I have just a question.
I saw a tut on wich we can see how to make a very little console program.
And what we have to do is change two values of a little program ( called "programme test.exe" )( I can't find the thread )

I code in c++ since more than 3-4 years.
And i want to try making hacks. But the only problem is that I don't really know API Windows. ( Going to learn it )
And another problem is that i used to made only basic things :s
So I think that trying making hacks can be good for my skill.

But, i want to know something.
With the code given in the thread i talk about, can i, as an example, make a hack for warrock ?
If I make a pause during x second ( while the game is started ) and then I write in the process memory ? It won't work because of HackShield ?

I'm going to have a look in the c++ tut hacking.

I know i'm not very clear. Sorry for it.
And thanks if you help me.
Epic Fail:

You code in C++ 3-4 years, and you dont know what API´s are ? ... made my day

....


Quote Originally Posted by inmate View Post
Epic Fail:

You code in C++ 3-4 years, and you dont know what API´s are ? ... made my day

....


He just knows the basic though. Why you didn't learn the advance? If you just learn basic, you won't be able to learn how to make a base for WarRock. Maybe try to learn 6 months again for the advance.
When he say : "I code in C++ more than 3-4 years" than a normal person know what API´s are, and for what you can use API´s. He know the basic of C++, so he can´t say that he code C++ /yea.
Yes, don't know API's.
I'm used to use the Qt' Library. And i don't know why, i didn't want to learn API's.
Maybe i thought that it was not that i wanted.
But know, i realise that it was a BIG error !
I think i'm gonna read some tut's on API's and learn more about it. And I will let Qt down for a moment.

And, i said that i know c++ since 3-4 years. That's true, but you know, I don't realy often code. I made 4-5 "project" in this time. All the other things i made was only simple things to test something.

But thanks. Now i know what to do : Learn API's windows.
Yea, API´s are realy important when you will code hacks.
For the beginning, you can look for the API´s: ReadProcessMemory, WriteProcessMemory, GetProcessPid, FindWindow.

With these API´s you can code a Memory cheat. Memory cheats are very simple and for the "hack-coding start" very good, i think

And a tutorial, about Cheat-Engine and OllyDBG (or another debugger) is important for you

Regards Inmate
To use WriteProcessMemory on any hackshield based game I think you would need to unhook in ring 0/kernel mode, as I am pretty sure that hshield hooks in kernel and not userland. And that is something you can forget doing for a long time now unless you find something to leech, thats complicated.

Thats why dlls are used, a lot easier to do stuff when you share memory with the process

But my advise as usual to grasp the basics is to first find a easy target (like minesweeper or something like that), learn to look for addies, use a simple base to get a handle to the process and use writeprocessmemory on it. There are tons of examples/bases like that. Then you should proceed with learning about dlls and how you inject them.
So, your advice is trying to make simple hacks on simple games ?
And, at the same time ( because I need it ) learn more about Read/Write processMemory, GetProcesspId, and some things like that.
And then, look for dll ? ( I think make a base is very difficult so, it's better to leech some else base .. )
Is API for the basic? Because i haven't see this yet in my C++ Book.
Make a hack for solitaire, or something like assaultcube etc.
Quote Originally Posted by Lolland View Post
Make a hack for solitaire, or something like assaultcube etc.
Solitaire you say.. I don't know the rules
Made one for.. humm... MineSweeper !
( Was just a try .. )
Gonna try out assaultCude /yea
( And at the same time, i'm learning more about API's )
Quote Originally Posted by larta View Post
Solitaire you say.. I don't know the rules
Made one for.. humm... MineSweeper !
( Was just a try .. )
Gonna try out assaultCude /yea
( And at the same time, i'm learning more about API's )
try to reveal mines from minesweeper... it's nice to start with :\
Quote Originally Posted by 'Bruno View Post
try to reveal mines from minesweeper... it's nice to start with :\
I didn't thinks about it.
Will be much harder than put the number of mines to 0 /yea ( i think )
Quote Originally Posted by larta View Post
I didn't thinks about it.
Will be much harder than put the number of mines to 0 /yea ( i think )
All you have to know is what values minesweeper uses for the 1,2,3,4 and bomb, which is pretty easy to find with ollydbg
Quote Originally Posted by larta View Post
I didn't thinks about it.
Will be much harder than put the number of mines to 0 /yea ( i think )
And you can scrw all over api's because most of the time, you're just going to inject a .dll inside a running process and then you won't need (uber fail ever api) writeprocessmemory And you can just use memcpy

@all
I knew a script once, that would defeat minesweeper extreme in just 35 seconds
Posts 1–15 of 46 · Page 1 of 4

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us