FrosK (06-07-2012),Pronome191 (07-13-2012),Vincent Dominguez (06-06-2012)
Hi,
this console app source made by me may help you:
Just compile and put in cf folder then startCode:#include "windows.h" #include <iostream> using namespace std; int main() { DWORD err; HINSTANCE hDLL = LoadLibraryA("CShell.dll"); if(hDLL != NULL) { cout<<"Library has been loaded: "<<hDLL<<endl; } else { err = GetLastError(); cout<<"Can't load dll"<<endl; } system("pause"); return 0; }
i think that with the address shown you dont need to load the cshell in the hack test it and tell me I cant bcs my cf crashes
PRESS THAKS IF I HELPED
Last edited by kmanev073; 06-05-2012 at 08:58 AM.
FrosK (06-07-2012),Pronome191 (07-13-2012),Vincent Dominguez (06-06-2012)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
D
Great idea and easy to do .
lol they look similar i remember when i firstly done that... but now i we do something different
---------- Post added at 06:43 PM ---------- Previous post was at 06:42 PM ----------
@Jutie
replace FWORD cshell = (DWORD)(GetModulehandleA(''CShell.dll'')) in your hack or what ever
with #define cshell = the addres that this app shown and pls tell is it working
Good work
To make it UNICODE compatible :
Then you can set the default charset to UNICODE (Wide char (wchar_t)) or to Multibyte (ASCII (char)) in the project settings.Code:TCHAR DLLDir[MAX_PATH]; ZeroMemory(DLLDir, MAX_PATH); #ifdef UNICODE wscanf_s(L"%s", DLLDir); wprintf_s(L"Loading %s...\n", DLLDir); #else scanf_s("%s", DLLDir); printf_s("Loading %s...\n", DLLDir); #endif hDLL = LoadLibrary(DLLDir);
Normally UNICODE is turned on.
___
Unlike in Combat Arms, the Base address of CShell is not constant in CrossFire (it changes every restart).
Maybe you can use the Handle of the loading of CShell.dll in crossfire.exe or you make a LoadLibrary hook
Last edited by derh.acker; 06-05-2012 at 10:08 AM.
no, crossfire.exe uses a local variable to load cshell.dll and check SetMasterDatabase export.. bad luck
just try using ZwQueryInformationProcess
[img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]
Then hooking is another method.
I didn't test it, so I can't tell you if it's detected.
So if you want to make your hack compatible with future windows versions, I would prefer an alternate function.Originally Posted by MSDN
I don't know what is the problem of GetModuleHandle, I inject it before Themida decrypts crossfire.
Last edited by derh.acker; 06-06-2012 at 09:21 AM.
It would have been easier if u put a download IDK what to do with that scrip you put in your post.just kidding I know what to do it's very helpful thank you very much.
Trusted people to buy from:
Exicsion
Scammers:
Lucas Heer