| View previous topic :: View next topic |
| Author |
Message |
ZxPwds Advanced Cheater
Reputation: 0
Joined: 27 Oct 2015 Posts: 59
|
Posted: Thu May 28, 2020 9:31 pm Post subject: [HELP] AOB Scan for auto updating hacks |
|
|
Hello everyone I basically put my help thread into one photo
| Code: |
aobscan(Powerhack, 0F 84 ?? ?? ?? ?? 83 BE ?? ?? ?? ?? 01 0F 85 ?? ?? ?? ?? 8A 8E ?? ?? ?? ??)
label(_Powerhack:)
registersymbol(_Powerhack:)
Powerhack:
_Powerhack:k:
[ENABLE]
_Powerhack:
nop 6
[DISABLE]
_Powerhack::
db 0F 84 B8 00 00 00 |
Last edited by ZxPwds on Fri May 29, 2020 1:14 am; edited 2 times in total |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu May 28, 2020 9:58 pm Post subject: |
|
|
You can use the 'readMem' call to copy the data into a buffer and use that to restore data with.
_________________
- Retired. |
|
| Back to top |
|
 |
ZxPwds Advanced Cheater
Reputation: 0
Joined: 27 Oct 2015 Posts: 59
|
Posted: Fri May 29, 2020 1:15 am Post subject: |
|
|
Can you show me an example how it's used in my situation?
it would be very appreciated
| Code: |
aobscan(Powerhack, 0F 84 ?? ?? ?? ?? 83 BE ?? ?? ?? ?? 01 0F 85 ?? ?? ?? ?? 8A 8E ?? ?? ?? ??)
label(_Powerhack:)
registersymbol(_Powerhack:)
Powerhack:
_Powerhack:k:
[ENABLE]
_Powerhack:
nop 6
[DISABLE]
_Powerhack::
db 0F 84 B8 00 00 00 |
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri May 29, 2020 1:21 pm Post subject: |
|
|
You can do it something like this:
| Code: |
[ENABLE]
aobscan(PowerHack, 0F 84 ?? ?? ?? ?? 83 BE ?? ?? ?? ?? 01 0F 85 ?? ?? ?? ?? 8A 8E ?? ?? ?? ??)
registersymbol(PowerHack)
alloc(PowerHack_Original, $1000)
registersymbol(PowerHack_Original)
// Read the original code into your backup cave..
PowerHack_Original:
readMem(PowerHack, 6)
PowerHack:
nop
nop
nop
nop
nop
nop
[DISABLE]
// Restore the orignal code back from your backup cave..
PowerHack:
readMem(PowerHack_Original, 6)
dealloc(PowerHack_Original)
unregistersymbol(PowerHack)
unregistersymbol(PowerHack_Original)
|
_________________
- Retired. |
|
| Back to top |
|
 |
ZxPwds Advanced Cheater
Reputation: 0
Joined: 27 Oct 2015 Posts: 59
|
Posted: Fri May 29, 2020 11:28 pm Post subject: [SOLVED] |
|
|
| atom0s wrote: | You can do it something like this:
| Code: |
[ENABLE]
aobscan(PowerHack, 0F 84 ?? ?? ?? ?? 83 BE ?? ?? ?? ?? 01 0F 85 ?? ?? ?? ?? 8A 8E ?? ?? ?? ??)
registersymbol(PowerHack)
alloc(PowerHack_Original, $1000)
registersymbol(PowerHack_Original)
// Read the original code into your backup cave..
PowerHack_Original:
readMem(PowerHack, 6)
PowerHack:
nop
nop
nop
nop
nop
nop
[DISABLE]
// Restore the orignal code back from your backup cave..
PowerHack:
readMem(PowerHack_Original, 6)
dealloc(PowerHack_Original)
unregistersymbol(PowerHack)
unregistersymbol(PowerHack_Original)
|
|
Thank you so much for your answer this worked 100%
Super kind of you!
|
|
| Back to top |
|
 |
|