flasherce How do I cheat? Reputation: 0
Joined: 28 Oct 2015 Posts: 1
|
Posted: Wed Oct 28, 2015 3:35 pm Post subject: newbie help ! |
|
|
i want to scan and replace these array of bytes
scan 01 75 10 8B 88 C4 01 00 00 85 C9 74 06
replace 01 75 10 8B 88 C4 01 00 00 85 C9 90 90
its only one occurrence..i can do this with text with this sample script below but want array of bytes instead of text
openProcess("notepad.exe")
ms=createMemScan()
memscan_firstScan(ms, soExactValue, vtString, rtRounded, "find this", "0", 0x00000000, 0x7fffffff, "", fsmNotAligned, "", false,false, true, false)
memscan_waitTillDone(ms)
fl=createFoundList(ms)
foundlist_initialize(fl)
local count=foundlist_getCount(fl)
if (count>0) then
for i=0, count do
local saddress=foundlist_getAddress(fl, i)
i=i+1
writeString(saddress, "change this",0)
end
else
print("No record found")
end
object_destroy(fl)
object_destroy(ms)
|
|
lolAnonymous Expert Cheater Reputation: 1
Joined: 19 Jul 2015 Posts: 154
|
Posted: Wed Oct 28, 2015 4:02 pm Post subject: |
|
|
Here Is The Aobscan And Aob replace function
Code: |
[ENABLE]
Aobscan(_fpp,01 75 10 8B 88 C4 01 00 00 85 C9 74 06)
_fpp:
db 01 75 10 8B 88 C4 01 00 00 85 C9 90 90
[DISABLE]
|
U Can Also Use :-
Code: |
[ENABLE]
Luacall(Aobswap("01 75 10 8B 88 C4 01 00 00 85 C9 74 06","01 75 10 8B 88 C4 01 00 00 85 C9 90 90"))
[DISABLE]
|
|
|