| View previous topic :: View next topic |
| Author |
Message |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Thu Jun 12, 2008 3:04 pm Post subject: [C++] PostmessageA |
|
|
How do I bypass postMessageA? using it for a maplestory bot.
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Thu Jun 12, 2008 3:09 pm Post subject: |
|
|
In this case, I need PMX.dll? Because lbot has credits to "sphere90/x0r" for postmessageA bypass, and sphere90 and x0r made PMX.dll
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
Posted: Thu Jun 12, 2008 3:23 pm Post subject: |
|
|
Yes, you need PMX or an dll like it. The thread has a link for it.
_________________
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Jun 12, 2008 3:29 pm Post subject: |
|
|
Rot1 Made PMX.dll by copying x0r/sphere90's method to a dll and exporting it as a symbol.
And No, you do not need the DLL to bypass the function as long as you have inline assembly capabilities in the language your programming in.
_________________
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Thu Jun 12, 2008 3:33 pm Post subject: |
|
|
nother question. are .rc for the GUIs of dlls? if so how do I open them. if not, how do I change how my dll gui looks? im tired of having a trainer with no gui
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Jun 12, 2008 3:41 pm Post subject: |
|
|
You can make a GUI with the resource editor and then call DialogBox in your code to open it and then handle all your messages from the Dialog Procedure. Either that or create your own window like my bot does using WNDCLASSEX and CreateWindowEx and Just use ShowWindow to the assigned hWnd you gave to your GUI Main Form.
_________________
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Thu Jun 12, 2008 4:29 pm Post subject: |
|
|
| Ya what lurc said...u donnt need a .dll to bypass game guard.
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Jun 12, 2008 5:02 pm Post subject: |
|
|
Here's an example of bypassing PostMessageA (from 1gaz's source of hBot.cpp).
| Code: |
void LoadUser32()
{
hpInst = LoadLibrary("User32.Dll");
pmDLLFunc = NULL;
if (hpInst != NULL)
pmDLLFunc = (DWORD)GetProcAddress(hpInst,"PostMessageA");
if (pmDLLFunc != NULL)
pmDLLFunc += 5;
}
__declspec(naked) BOOL WINAPI PostMessageX(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
{
__asm
{
mov edi,edi
push ebp
mov ebp,esp
jmp dword ptr ds:[pmDLLFunc]
}
}
//more coding
LPARAM lParam = (MapVirtualKey(0x5A, NULL) << 16);
PostMessageX(hMS, WM_KEYDOWN, 0x5A, lParam);
|
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Thu Jun 12, 2008 5:14 pm Post subject: |
|
|
| lurc wrote: | | You can make a GUI with the resource editor and then call DialogBox in your code to open it and then handle all your messages from the Dialog Procedure. Either that or create your own window like my bot does using WNDCLASSEX and CreateWindowEx and Just use ShowWindow to the assigned hWnd you gave to your GUI Main Form. |
Resource editor?
EDIT : I get cannot open file when i click app.rc
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Jun 12, 2008 6:21 pm Post subject: |
|
|
Google ResEdit.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Jun 12, 2008 6:52 pm Post subject: |
|
|
Microsoft Visual C++ / Visual Studio includes a Resource editor... Add the .rc to the project and open it in the project.
Or yea, use ResEdit
_________________
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Thu Jun 12, 2008 7:26 pm Post subject: |
|
|
| Sorry to say this but this post should belong in the Anti-Cheat bypassing section.
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Fri Jun 13, 2008 10:44 pm Post subject: |
|
|
Question.
BAD NOOB question but yea.
How would I send ctrl to maple? I already bypassed it.
this might help i dunno
pTrampolinePMA(cHandle, WM_KEYDOWN, NULL, lparam);
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Sat Jun 14, 2008 12:24 am Post subject: |
|
|
Irwin which OS/SP don't have the 5-byte hotpatch?
_________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
|