
Originally Posted by
Saleem93
I compiled this.. I got a dll library and I read the comments about injecting the dll but this is as far as I can comprehend.. I tried injecting using the dll proxy method posted somewhere here in the forum and I failed..
Can somebody please elaborate with some clear instructions or numbered steps, I am new to this maplestory server development community and I consider myself a fast learner and I didn't get to the bottom of this.
Any help or hints would be appreciated.. things I wonder:
First, how do you hook a certain section and where do you exactly hook it into for example I only want to hook winsock to redirect a Themida protected client which I already unpacked using Ollydbg but in the project source code I had window, proudnet and Winsock.
Second, what kind of inject application am I supposed to use? Do I need any other external tools besides the dll blob and Visual Studio?
Otherwise, without any instructions, this release will only benefit those who are already experienced in the field.
All you need to do is make dummy exports that you'll insert into ijl15 so that it pre-injects this DLL into the game client on startup. For example:
Code:
/**
* Orion - A MapleStory Dynamic Link Library Localhost
*
* @author Eric
*
*/
#ifdef ORION_EXPORTS
#define ORION_API __declspec(dllexport)
#else
#define ORION_API __declspec(dllimport)
#endif
// Solely used as a dummy export for the Orion.dll
class ORION_API APIDummy {
public:
APIDummy(void);
};
Code:
/**
* Orion - A MapleStory Dynamic Link Library Localhost
*
* @author Eric
*
*/
#include "APIDummy.h"
APIDummy::APIDummy() {
}
Then, use something like CFF Explorer to edit ijl15.dll, go to 'Import Adder', and add the APIDummy export to the table after selecting your compiled DLL. Rebuild the table, save the PE to a new name, and place the DLL in your directory. From there the DLL will continue to inject, but you'll want to change the winsock hostname and the client windowname. Also, depending on your version since this works for practically all, you may need to update the window class checks as well as NMCO.