View previous topic :: View next topic |
Author |
Message |
KalasDev Master Cheater Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Sat Oct 15, 2016 10:50 am Post subject: Quick Memory View Question |
|
|
Question number one, If I would edit this address for example as this:
Would that be the right thing to do?
Question number two, Above that address there is a:
This code is related to the address I mentioned above:
I would say the best way to do it is that:
To write a new value that will store in eax and the first address I mentioned above will write #9999999 into my current value am I right?
FULL CODE:
Code: | [ENABLE]
aobscanmodule(aobCash,mafia3.exe,2B C2 89 01 B0 01) // should be unique
alloc(newmem,$100,"mafia3.exe"+21BEF09)
label(code)
label(return)
newmem:
code:
//sub eax,edx
mov eax,#9999999
mov [rcx],eax
mov al,01
jmp return
aobCash:
jmp newmem
nop
return:
registersymbol(aobCash)
[DISABLE]
aobCash:
db 2B C2 89 01 B0 01
unregistersymbol(aobCash)
dealloc(newmem) |
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Oct 15, 2016 12:15 pm Post subject: |
|
|
There are several ways to skin a cat, as they say, and the same can be said for how you choose to write your scripts. Some may argue that one way is better than another due to error mitigation, efficiency, personal preference, flow and appearance etc., but if it gets the job done...
|
|
Back to top |
|
|
KalasDev Master Cheater Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Sat Oct 15, 2016 12:18 pm Post subject: |
|
|
Yes that's what I ask if this is like one of many ways to access this, like just wondering if someone happens to saw this before and if the way I'm doing it is right.
It works yes but Crashes the game, I would do Pointer for now as it's just Cash and It's proffered for Mafia III.
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Oct 15, 2016 12:24 pm Post subject: |
|
|
If the target is crashing, you may unknowingly be changing values other than cash, so you may need to find a more ideal injection location, or, filter out the unwanted addresses so that they are not affected.
|
|
Back to top |
|
|
KalasDev Master Cheater Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Sat Oct 15, 2016 12:27 pm Post subject: |
|
|
Hmm I understand thank you
|
|
Back to top |
|
|
|