| View previous topic :: View next topic |
| Author |
Message |
booingthetroll Expert Cheater
Reputation: 0
Joined: 30 Aug 2011 Posts: 114 Location: ::1
|
Posted: Sun Sep 18, 2011 5:20 pm Post subject: When you inject AA, |
|
|
| Do you NEED to use createthread to make sure it executes immediately?
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Sun Sep 18, 2011 5:22 pm Post subject: |
|
|
If by "immediately" you mean in 0.1 sec, just find a code that is running 1000 times / second and inject your script there. Then you don't have to use any extra stuff.
_________________
|
|
| Back to top |
|
 |
booingthetroll Expert Cheater
Reputation: 0
Joined: 30 Aug 2011 Posts: 114 Location: ::1
|
Posted: Sun Sep 18, 2011 5:25 pm Post subject: |
|
|
I know I could do that, but I don't want to search for code that executes every second. Every time I use createthread, it ends up crashing the program. Even if the code does absolutely nothing.
alloc(newmem,2048) //2kb should be enough
createthread(newmem)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
nop
originalcode:
jmp 003C0800
exit:
jmp returnhere
00401157:
jmp newmem
returnhere:
That crashes it.
|
|
| Back to top |
|
 |
gameplayer Advanced Cheater
Reputation: 2
Joined: 26 Jun 2011 Posts: 97 Location: Vietnam
|
Posted: Sun Sep 18, 2011 8:30 pm Post subject: |
|
|
| Make sure the command "jmp newmem" and the "jmp 003C0800" in the original memory have the same size. Can you show an image of them?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25861 Location: The netherlands
|
Posted: Sun Sep 18, 2011 8:34 pm Post subject: |
|
|
not sure where to start, every line is basically just wrong
If you use create thread you MAY NOT use the code injection template
Also, unless 003C0800 is a function that takes no parameters that JMP will crash
_________________
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 |
|
 |
booingthetroll Expert Cheater
Reputation: 0
Joined: 30 Aug 2011 Posts: 114 Location: ::1
|
Posted: Tue Sep 20, 2011 5:16 pm Post subject: |
|
|
| I know assembly language, but I learned it from a programming book, not an exploiting book :/
|
|
| Back to top |
|
 |
|