|
The point is not here. Excuse me my english is not very good. Ok let me try to explain what i mean. Lets say that N applications have installed N hooks.
Is there a way to have another application distinct from the other N and that is not correlated with them, and that is able to list the N applications that installed the hooks ?
For example, lets say that i download a keylogger and start it. Is there a way to have an anti-keylogger that will immediately say "Keylogger XXX has been detected, process id=12345, filename=SomeFileName" ?
|
|
|
|
|
Rabih Sarieddine wrote:
Is there a way to have another application distinct from the other N and that is not correlated with them, and that is able to list the N applications that installed the hooks ?
Yes, using the function I indicated (some things you have to dig for). Here is a rough draft:
SetWindowsHookEx(WH_DEBUG, DebugProc, ...);
LRESULT CALLBACK DebugProc(int, WPARAM, LPARAM lParam)
{
LPDEBUGHOOKINFO pHookInfo = (LPDEBUGHOOKINFO) lParam;
DWORD dwThreadId = pHookInfo->idThread;
}
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hi! Can anyone suggest a good topic for project in linux.. we are two... its really urgent Thanks! - V.G
|
|
|
|
|
|
i think so... !!!
ps: sorry for the vote ; i'd like to click 5, I clicked 1 instead...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
How about porting Visual Basic 6 to Linux?
|
|
|
|
|
|
|
markkuk wrote:
Wine[^] exists already (long before April 1st). More interesting is that Gentoo Linux announced today GeNToo, port of Gentoo to Windows NT kernel[^]
That the great piece of information, thanks
[Vote One Here, Complete my Survey....]
Alok Gupta visit me at http://www.thisisalok.tk
"I Think Believe this Will Help"
|
|
|
|
|
Then I guess that only leaves a complete port of the .NET Framework, C#, VB.NET instead
|
|
|
|
|
Hi All,
I have created a MFC MDI project. When the user select "File->Open" from menu (open a jpg file), I need to display the image in a new child window. How can I do this.
Please anybody know, help me.
regards,
Rajika.
|
|
|
|
|
use CxImage to open and display the file in a new child window.
Don't try it, just do it!
|
|
|
|
|
hi,
I am using the create process function to open an application.
but i guess my usage is not right.
could somebody tell me what is wrong.
the function i ahve used is...........
CreateProcess("C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\msdev.exe",NULL,NULL,NULL,TRUE,DEBUG_PROCESS<br />
,NULL,NULL,NULL,NULL)
Thanks
U get wht u Give
|
|
|
|
|
Shouldnt this be something like....
CreateProcess("C:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\msdev.exe",NULL,NULL,NULL,TRUE,DEBUG_PROCESS
,NULL,NULL,NULL,NULL)
Hope this helps.
- tareq
|
|
|
|
|
its not working
U get wht u Give
|
|
|
|
|
You need to mention the two parameters(STARTUPINFO & PROCESS_INFORMATION) and initialize it. Then the path of the the ".exe" file should be specified with "\\" instead of "\". If u use "\" the compiler will understand that as a escape sequence.
STARTUPINFO sinfo;
PROCESS_INFORMATION pinfo;
ZeroMemory( &sinfo, sizeof(sinfo) );
sinfo.cb = sizeof(sinfo);
ZeroMemory( &pinfo, sizeof(pinfo) );
BOOL b = CreateProcess("C:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\msdev.exe",NULL,NULL,NULL,NULL,NULL,NULL,NULL,&sinfo,&pinfo);
int error = GetLastError();
try this and let me know, if u have any problem.
Zxczc
|
|
|
|
|
charu123 wrote:
CreateProcess("C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\msdev.exe",NULL,NULL,NULL,TRUE,DEBUG_PROCESS,NULL,NULL,NULL,NULL)
Do u want to attach DEBUGGER with the launched Process, if yes you also have to use WaitForDebugEvent function with it.
if NO, here is small piece of code:-
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory( &si, sizeof(si) );
si.cb = sizeof(si);
ZeroMemory( &pi, sizeof(pi) );
if( !CreateProcess( NULL,
"c:\\windows\\notepad.exe",
NULL,
NULL,
FALSE,
0,
NULL,
NULL,
&si,
&pi )
)
{
MessageBox( "CreateProcess failed." );
}
Don't ask me from where i get this code :->
[Vote One Here, Complete my Survey....]
Alok Gupta visit me at http://www.thisisalok.tk
"I Think Believe this Will Help"
|
|
|
|
|
Today is April 1st. what do u think???
sanjay
|
|
|
|
|
Im thinking of some evil ideas for April Fools
/* Just a Human Trying to Live in a Computers World. */
|
|
|
|
|
Do pass on some ideas here also
U get wht u Give
|
|
|
|
|
|
Are you sure? I thought he hired me.;P
<italic>Work hard, Work effectively and a bit of luck is the key to success.
|
|
|
|
|
|
I think it's not the right forum to say such things...
otherwise, if you post a programming questrion, I could answer something completely wrong ...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|