This is the virus writing basics section. Today we are going to show you how to block/disable software . This is demonstrated using c/c++.
I will demonstrate how can you disable stuffs/ software
How to block/dissable task manager?
This code will block task manager. Remember to keep all the spellings as it is any changes this wont work.
TaskMgr = FindWindow(NULL,"Windows Task Manager");
if( TaskMgr != NULL )
{
PostMessage( TaskMgr, WM_CLOSE, (LPARAM)0, (WPARAM)0);
}
This code will block task manager. All that this code does is search for the Header on the window such as "Windows Task Manager". Now if a match is found it will disable that application.
How to Enable task manager ?
The method to enable task manager is given over here.
Now using this concept you can disable several such stuffs. Just replace the name of Windows Task Manager with the exact name of the software as appearing in the header.
You can integrate in this in your code and block any software .As all the info given over here is purely for educational purpose it's left upto the reader to make out what header file is needed.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment