| View previous topic :: View next topic |
| Author |
Message |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Jan 05, 2010 7:57 pm Post subject: |
|
|
| iPromise wrote: | | Slugsnack wrote: | | your virtualallocex() fails |
It works fine, I double checked with CE, its the file path is written to the address. Its CreateRemoteThread() thats the problem.
I also changed it to this
| Code: |
VirtualAllocEx(hProcess, NULL, DllPath.size(), MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE);
|
|
just saying i compiled and stepped with olly and VirtualAllocEx returned 0 |
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Tue Jan 05, 2010 8:09 pm Post subject: |
|
|
@Slugsnack
Was Notepad open at the time when u debugged it? |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Jan 05, 2010 8:40 pm Post subject: |
|
|
| obviously it was otherwise i would've told you the FindWindow call failed instead |
|
| Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Wed Jan 06, 2010 6:09 am Post subject: |
|
|
| Slugsnack wrote: | | obviously it was otherwise i would've told you the FindWindow call failed instead |
pwned , but i don't see whats wrong with his VirtualAllocEx? |
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Wed Jan 06, 2010 9:07 pm Post subject: |
|
|
| Neither do I. |
|
| Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Thu Jan 07, 2010 7:01 am Post subject: |
|
|
| iPromise wrote: | | Neither do I. |
Btw, by doin strlen, you get the size excluding the ending \0, do strlen()+1, though this shouldnt be the cause of it not working, since the allocated memory is very often followed by 00's |
|
| Back to top |
|
 |
|