| View previous topic :: View next topic |
| Author |
Message |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sat Feb 02, 2008 9:39 am Post subject: delphi dll trainer |
|
|
Hello,
Hey, I've read the thread by ups2000ups and tried it out with the dll and it worked great.
Source
| Code: | library debugger;
uses
SysUtils,
Classes;
{$R *.res}
procedure Random()stdcall;assembler;
asm
mov byte ptr [$005CF4C1],$74
end;
exports
Random;
begin
end. |
$005CF4C1 is just a random address with "jne xxx..". in GMS v0.50.
So I injected the dll into MapleStory (ggles) and executed the function "Random" and it succesfully changed "jne" to "je".
So I was wondering if it would be possible to inject the dll into MapleStory without calling a function.
Then calling the function aka procedure from a application that it executes it in MapleStory.
Or do I have to make a dll injector and inject the dll with executing the proedure?
thanks in advance
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Sat Feb 02, 2008 10:01 am Post subject: |
|
|
| dllmain?
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sat Feb 02, 2008 10:03 am Post subject: |
|
|
i dont get what ur saying... do u want it to inject to maplestory?? if so..
rename it to PCOMDebug.dll and put it into the maplestory folder
it will inject itself
_________________
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Sat Feb 02, 2008 10:09 am Post subject: |
|
|
| lurc wrote: | i dont get what ur saying... do u want it to inject to maplestory?? if so..
rename it to PCOMDebug.dll and put it into the maplestory folder
it will inject itself |
He wants the function to run when it's injected.
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sat Feb 02, 2008 10:14 am Post subject: |
|
|
Ye I want to run the/a function when it's already injected.
Thanks noz, I'm going to try it
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sat Feb 02, 2008 10:23 am Post subject: |
|
|
reakw0n i dont think you could do that because you execute on the attach. idk though.
edit:
You need to use a timer.
_________________
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Feb 02, 2008 11:10 am Post subject: |
|
|
CreateThread(); ?
use C, noz's the leetness
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sat Feb 02, 2008 11:14 am Post subject: |
|
|
Anyhow, I knew that you will say "use c"
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Feb 02, 2008 11:20 am Post subject: |
|
|
| rEakW0n wrote: | Anyhow, I knew that you will say "use c"  |
C is the best when it comes to R/WPM / Dll injection and all these crap, trust me, noz's the leetness
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Sat Feb 02, 2008 11:21 am Post subject: |
|
|
| rEakW0n wrote: | Anyhow, I knew that you will say "use c"  |
| Code: | #include "windows.h"
void Write();
BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
Write();
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
void Write()
{
_asm
{
mov byte ptr ds:[0x005CF4C1],0x74
}
} |
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sat Feb 02, 2008 11:31 am Post subject: |
|
|
| Rot1 wrote: | | rEakW0n wrote: | Anyhow, I knew that you will say "use c"  |
C is the best when it comes to R/WPM / Dll injection and all these crap, trust me, noz's the leetness |
Yes, you already told me that like 10 times.
Ontopic:
So the dll in C and the application in delphi. But how to call it then?
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Sat Feb 02, 2008 12:15 pm Post subject: |
|
|
| rEakW0n wrote: | | Rot1 wrote: | | rEakW0n wrote: | Anyhow, I knew that you will say "use c"  |
C is the best when it comes to R/WPM / Dll injection and all these crap, trust me, noz's the leetness |
Yes, you already told me that like 10 times.
Ontopic:
So the dll in C and the application in delphi. But how to call it then? |
As soon as you inject the DLL, DLLMain is called. its like the int main(); function in a console application.
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sat Feb 02, 2008 12:25 pm Post subject: |
|
|
reakw0n did you read what i said?
in the main function create a timer or set a hotkey. use the keyboard sync with timer or WM_HOTKEY message with the hotkey.
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
|