| View previous topic :: View next topic |
| Author |
Message |
broly7 Advanced Cheater
Reputation: 0
Joined: 13 Aug 2015 Posts: 60
|
Posted: Thu Oct 01, 2015 9:38 am Post subject: Unlimited BREAKpoints?¿ |
|
|
Hello fellows.
Recently i ran into a problem with the app i'm trying to debug.
I have a LUA script that sets lot of breakpoints in a code (usually at the beginning of functions).
It works great but the code i'm debugging uses..."integrity checks" i think it's called, so...some functions are checked "What does it mean?"
Checked means that if any byte of the function is modified, then the app crashes.
Now here comes the matter, CE automatically uses Software Breakpoints when it runs out of Hardware Breakpoints 4Max.
Then it writes 0xCC at each Breakpoint address, and makes the app crash.
I was wondering if there's any other method that doesn't write memory to Breakpoint an address, and be with unlimited usage.
P.S: I already tried VEH with debugProcess(2)...still using Software Breakpoints tho...
And also if you can solve me a doubt, i know CE API can handle AOBScanModule(), however LUA API can not... is going to be implemented Soon TM?
Thanks.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Thu Oct 01, 2015 9:41 am Post subject: |
|
|
try stealthedit and do the hooks in the copy
with lua you have access to the MemScan object, which also contains the aob type.
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
broly7 Advanced Cheater
Reputation: 0
Joined: 13 Aug 2015 Posts: 60
|
Posted: Thu Oct 01, 2015 10:47 am Post subject: |
|
|
| Dark Byte wrote: | try stealthedit and do the hooks in the copy
with lua you have access to the MemScan object, which also contains the aob type. |
Gotta say you thanks. I'll explore stealthedit way.
|
|
| Back to top |
|
 |
broly7 Advanced Cheater
Reputation: 0
Joined: 13 Aug 2015 Posts: 60
|
Posted: Sat Oct 03, 2015 5:08 am Post subject: Please |
|
|
Excuse me, how can i retrieve the new Memory Region Address that StealthEdit creates?
In CE MEM VIEWER simply look at the green opcodes, that points you to the copied address, but how to do it in LUA or ASM?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sat Oct 03, 2015 5:12 am Post subject: |
|
|
In asm you can use stealthedit (name,address)
Name will get the new address which you can use in the rest of the script (or with registersymbol)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
broly7 Advanced Cheater
Reputation: 0
Joined: 13 Aug 2015 Posts: 60
|
Posted: Sat Oct 03, 2015 5:28 am Post subject: |
|
|
| Dark Byte wrote: | In asm you can use stealthedit (name,address)
Name will get the new address which you can use in the rest of the script (or with registersymbol) |
Thanks for your quickness in asnwer DarkByte, but Name doesn't retrieve the address of the New region stealthedit creates...
| Code: |
local mew =([[
alloc(newmem,8);
stealthedit(newmem,0066FD80,2048)
label(returnhere)
registersymbol(newmem)
returnhere:
]])
autoAssemble(mew);
sleep(1000);
local result=getAddress("newmem")
--result=readInteger"newmem"
--unregisterSymbol("secopy")
print(result)
|
htp://puu.sh/kwQEK/f01cce1978.png (change it to http)
The output 2097152 = 001F0000 points me to an allocated region without data, when it should be 04AE0000
P.S: I'm using Stealthedit 2.3
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sat Oct 03, 2015 7:23 am Post subject: |
|
|
Remove that alloc (newmem, line
If it's failing because registersymbol doesn't work then try something like
| Code: |
Label(xxx)
stealthedit(newmem,0066FD80,2048)
registersymbol(xxx)
newmem:
xxx:
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
broly7 Advanced Cheater
Reputation: 0
Joined: 13 Aug 2015 Posts: 60
|
Posted: Sat Oct 03, 2015 8:03 am Post subject: |
|
|
| Dark Byte wrote: | Remove that alloc (newmem, line
If it's failing because registersymbol doesn't work then try something like
| Code: |
Label(xxx)
stealthedit(newmem,0066FD80,2048)
registersymbol(xxx)
newmem:
xxx:
|
|
You're Godlike, wish i could give you +Rep for the Program and for the help.
|
|
| Back to top |
|
 |
|