weixu_2008的专栏

只是兴趣

注册表加键和键值

CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/
Windows/CurrentVersion/Policies/Explorer
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/ Policies/Explorer", " NoRun ", "1", REG_DWORD
以上是在HKEY_CURRENT_USER,
"Software/Microsoft/Windows/ CurrentVersion/Policies/Explorer里面加上一个键并设置键值为1的REG_DWORD格式, 这个是用来屏蔽开始菜单里的运行的,
    
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/Windows /CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/Explorer", "NoFind", "1", REG_DWORD
这段代码是用来屏蔽查找的, 就是说在你的计算机的开始菜单里会找不到这一项,
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft /Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER,"Software/Microsoft/Windows /CurrentVersion/Policies/Explorer", "NoLogOff", "1", REG_DWORD
这段是用来屏蔽注销的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft /Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/Explorer", "NoClose", "1", REG_DWORD
这段是用来屏蔽关闭计算机的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/System"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/System", "DisableTaskMgr", "1", REG_DWORD
这段是用来屏蔽任务管理器的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/Windows /CurrentVersion/Policies/System"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/System", "DisableRegistryTools", "1", REG_DWORD
这段是用来禁止使用注册表的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/Explorer", " NoDesktop ", "1", REG_DWORD
这段是用来隐藏桌面的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER,"Software/Microsoft/Windows/ CurrentVersion/Policies/Explorer", "NoDrives", "1", REG_DWORD
这段是用来屏蔽A盘的,键值1代表A盘,2代表B盘, 4代表C盘,8代表D盘,就是说二倍二倍的下去代表下一个盘。
 
阅读更多
文章标签: user 任务 c
上一篇无进程DLL木马的又一开发思路与实现
下一篇远程屏幕监视软件的设计与实现
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭