|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Announcements
Want a new Job?
Chapters
Services
Feature Zones
|
IntroductionIt may be carrying lots of fun if you are manipulating the Windows internals... Well, here's one simulation of the process and application name hiding.. Here, we hide the names of our application and our process, being displayed in the Windows Task Manager... in the The code can be fabricated to just hack the Windows Task Manager which I'll deal later here.. Let's see the simple call that makes things happen. How to use the codeAll you have to do is run Windows Task Manager, then run Clear Task Manager, click "Hide" button.. and then look on Windows Task Manager... ArchitectureHere, we have to carry out just few tasks. The tasks are..
We can accomplish these tasks by using one timer and one callback function. Well, carrying out these tasks is very simple as a lot of people know. How it works..Timer functions:The timer is started when the dialog in initialized. The timer just vigils the Windows Task Manager for its window status ON, I mean HWND FindWindow( LPCTSTR lpClassName ,
// class name LPCTSTR lpWindowName // window name );
in which it is enough to pass either the class name or the window name. Here, we are familiar with window name "Windows Task Manager". At last, we have found the window where our manipulation starts.. Enumerate child windows:BOOL EnumChildWindows ( HWND hWndParent, // handle to parent window WNDENUMPROC lpEnumFunc, // callback function LPARAM lParam // application-defined value ); We are familiar with Handling callback function:We have provided callback function to be: BOOL CALLBACK EnumChildProcedure(HWND hWnd,LPARAM lParam) Handle of particular window and In the callback function, we require to know about the two tabs, that's all. The knowledge about the tabs can be had by just comparing the window name and its class name. The window name and the class of the child window can be had from: char name[256]; GetWindowText(hWnd,name,256); char ClassName[256]; GetClassName(hWnd,ClassName,256); And then we compare the class name with the class name we have retrieved and the window name with the window name we have retrieved. When both the conditions are satisfied, we get to the actual location where the Processes' names and the Applications' names are displayed. Here, we send a message to Windows stating that the contents of the ::SendMessage(hWnd,LVM_DELETECOLUMN,(WPARAM)0,0);
Now, we have send a message to Windows to delete the contents.. that's all, it's done. Before I wind up, let's have a discussion about Windows Task Manager and real hacking. Windows Task Manager calls or refreshes the processes list view every 0.5 seconds (maximum). So, if we set our timer's time more than 500 ms, we can see the deleting of the column of This program can be added to Windows startup or in the registry to invoke the program at Windows start up. Though, we have to modify certain parts of the program. Modifications in the program:
|
||||||||||||||||||||||