Sanglante Cheater
Reputation: 0
Joined: 27 Sep 2018 Posts: 43
|
Posted: Fri Nov 30, 2018 3:29 pm Post subject: Fully clear an allocated memory |
|
|
Is there a way to fully clear the 64 Bytes allocated with 00 when i disable ?
Cause he keep the script allocated here.
Code: | [enable]
alloc(Change, 32)
aobscan(ChangeOrig, 8B 7C 3B 34 8B 4D EC E9)
registersymbol(ChangeOrig)
label(ChangeOrigReturn)
label(WantedLength)
registersymbol(WantedLength)
////
ChangeOrig:
jmp Change
nop
nop
ChangeOrigReturn:
////
Change:
mov edi,[WantedLength]
mov ecx,[ebp-14]
jmp ChangeOrigReturn
////
WantedLength:
dd (float)10
////
[disable]
dealloc(Change)
unregistersymbol(ChangeOrig)
unregistersymbol(WantedLength)
ChangeOrig:
//mov edi,[edi+ebx+34]
//mov ecx,[ebp-14]
db 8B 7C 3B 34 8B 4D EC |
Thx
Edit to be more clear:
When i uncheck my box he keep in alloc memory the Change script
did i have to do a
Change:
db 00 00 00 00 00 00 ...
it's not possible to clear it just with dealloc ?
|
|