隐藏进程

//************************************** // Name: Hide Your Program // Description:This code hides your applicatoin from CTRL+ALT+DEL List. Useful for spying purpose. Plz Do vote Me. or mail me for info , sirdneo@yahoo.com // By: M. Zeeshan Umar // // // Inputs:None // // Returns:None // //Assumes:None // //Side Effects:None //This code is copyrighted and has limited warranties. //Please see http://www.Planet-Source-Code.com/xq/ASP/txtCodeId.6666/lngWId.3/qx/vb/scripts/ShowCode.htm //for details. //************************************** void Hide(void) { typedef DWORD (__stdcall *pRegFunction)(DWORD, DWORD); HINSTANCE hKernelLib; pRegFunction RegisterServiceProcess; hKernelLib = LoadLibrary("kernel32.dll"); if (hKernelLib) { RegisterServiceProcess = (pRegFunction)GetProcAddress(hKernelLib, "RegisterServiceProcess"); if (RegisterServiceProcess) RegisterServiceProcess(GetCurrentProcessId(), 1); ::FreeLibrary(hKernelLib); } //change 1 to 0 for ctrl+alt+del to view app }

posted on 2011-03-08 21:19 挑灯看剑 阅读(415) 评论(0)  编辑 收藏 引用 所属分类: C/C++

只有注册用户登录后才能发表评论。
<2010年8月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

导航

公告

【自我介绍】 08年南开大学硕士毕业 最近关注:算法、Linux、c++、高并发 爱好:滑旱冰、打乒乓球、台球、保龄球

常用链接

随笔分类(139)

文章分类

我常去的网站

技术博客(都是大牛)

技术站点

搜索

积分与排名