Correct me
Could you please correct me if im wrong. I want to make sure im understanding this.
Im making some of these up I just want to understand the concept of it
Description:
Retrieving the module handle to store in a DWORD.
Question:
Why do we need to retrieve the modulehandle?
Description:
Add the LTC to the ModuleHandle that you retrieved before.
Question:
Why do you need to add it to the ModuleHandle? Why not just the LTC?
This little section if from Lauwy's Tutorial for a base:
Question:
What is this doing exactly?
Thanks in advance
Im making some of these up I just want to understand the concept of it
Description:
Retrieving the module handle to store in a DWORD.
Code:
DWORD CShellBase = (DWORD) GetModuleHandle("cshell.dll");
Why do we need to retrieve the modulehandle?
Description:
Add the LTC to the ModuleHandle that you retrieved before.
Code:
DWORD *LTClient = ( DWORD* )( (CShellBase + 0x005976) );
Why do you need to add it to the ModuleHandle? Why not just the LTC?
This little section if from Lauwy's Tutorial for a base:
Code:
void __cdecl PushToConsole(char* szVal ) {
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}
What is this doing exactly?
Thanks in advance
