|
-
March 30th, 1999, 05:30 PM
#1
Stealth program
Hi,
I want my program to be completely stealth, I would want to know if it's possible to hide my app. from the task manager (in win95/98). If this is not possible I would like to know if it's possible to prevent the app from being closed(end task) by the task manager.
Thanks for any comments or advice!
Ruben
-
March 31st, 1999, 02:46 PM
#2
Re: Stealth program
You can try this:
typedef DWORD (WINAPI *fct)(DWORD,DWORD);
fct RegisterServiceProcess;
HINSTANCE h=LoadLibrary("kernel32.dll" ;
RegisterServiceProcess=(fct)GetProcAddress(h,"RegisterServiceProcess" ;
RegisterServiceProcess(NULL,1);
FreeLibrary(h);
It should make your application disappear from the task manager
-
April 2nd, 1999, 04:52 AM
#3
Re: Stealth program
A neat and awesome tip and works fine!!
Thank you!!!
Walter I An
-
June 14th, 1999, 03:07 PM
#4
Re: Stealth program
One thing to remember - the docs state:
a Win32-based application can prevent itself or any other Win32-based application from being closed when the user logs off. Win32-based applications registered in this manner close only when the system is shut down.
The application should provide for different users logging on at different times during its execution. The application can distinguish between a user logging off and the system shutting down by examining the lParam parameter of the WM_QUERYENDSESSION and WM_ENDSESSION messages. If the user shuts down the system, lParam is NULL. If the user logs off, lParam is set to ENDSESSION_LOGOFF.
This doesn't work for NT. Sure would like to find out how...
-
June 14th, 1999, 03:13 PM
#5
Re: Stealth program
now you can program that neat virus ... lol
Gordito
-
March 8th, 2000, 03:12 AM
#6
Re: Stealth program
I'm praying this works, and assume it does, but will this keep programs from using
FindWindow(HWND)?
to what extent does this hide the app?
thank you!!!
www.ruttiger.com
www.123allthingsfree.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|