![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codes
文章平均质量分 50
水墨风光
运维
展开
-
[C++语言]C++面向对象的基础--类的组合
#includeiostream.h>#includemath.h>class Point...{ public:Point(int xx=0,int yy=0) ...{X=xx;Y=yy;} //构造函数的定义Point(Point &P); //拷贝构造函数定义int GetX() ...{return X;}原创 2007-11-20 22:57:00 · 906 阅读 · 0 评论 -
[编程实例]禁止暴风影音后台进程
@rem ----- ExeScript Options Begin -----@rem ScriptType: console@rem DestDirectory: temp@rem Icon: F:/娱乐/图片/电脑图片/我的图标/cancel.ico@rem OutputFile: C:/Documents and Settings/Administrator/桌面/禁止暴风影音.exe@r原创 2008-12-10 19:59:00 · 1201 阅读 · 0 评论 -
[编程实例]修复隐藏文件.reg
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Advanced/Folder/Hidden]"Text"="隐藏文件和文件夹""Type"="group""Bitmap"="C://WINDOWS//system32//shell原创 2008-12-10 20:03:00 · 874 阅读 · 0 评论 -
[编程实例]修复双击硬盘打不开.reg
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT/Drive/shell]@="none"[-HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/MountPoints/C/Shell][-HKEY_CURRENT_USER/Software/Micr原创 2008-12-10 20:06:00 · 777 阅读 · 0 评论 -
[编程实例]恢复屏幕保护.reg
Windows Registry Editor Version 5.00[HKEY_CURRENT_USER/Control Panel/Desktop]"ScreenSaveTimeOut"="600""SCRNSAVE.EXE"=""原创 2008-12-10 20:07:00 · 594 阅读 · 0 评论 -
[编程实例]w32time修复.bat
@echo offsc config w32time start= disabled 2>nulnet stop w32time 2>nulcopy w32time.dll %systemroot%/system32/dllcache/ /y 2>nulren %systemroot%/system32/w32time.dll w32time.dll.bak 2>nulcopy w32time.原创 2008-12-10 19:55:00 · 1075 阅读 · 0 评论 -
[编程实例]修复exe和com后缀不能显示.reg
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT/comfile]"NeverShowExt"=-"AlwayShowExt"="1"[HKEY_CLASSES_ROOT/exefile]"NeverShowExt"=-"AlwayShowExt"="1"原创 2008-12-10 20:01:00 · 752 阅读 · 0 评论 -
[编程实例]修复开机没有桌面.reg
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon]"Shell"="Explorer.exe"原创 2008-12-10 20:05:00 · 649 阅读 · 0 评论 -
[编程实例]linux 设置网卡为混杂模式
#include #include #include #include #include #include #include #include #include #include #include int main(int argc, char **argv) { int sock, n; struct ifreq ethreq; if ( (sock=socket(PF_PACKET,原创 2008-12-10 20:12:00 · 1968 阅读 · 0 评论 -
[编程实例]使用vbs脚本添加程序到自启动项
提示:写文章后发现,CSDN的编辑器过滤了一些字符,比如&,所以下面的脚本可能会运行错误。。看官添加&&这个字符就可以了。 vbs脚本的功能呢是很多的,不过有时候我们只需要其中的某些功能,今天我突然想研究下怎么用vbs脚本实现添加程序到自启动项...... 首先来一段吧... =====================================原创 2008-12-13 22:14:00 · 3345 阅读 · 0 评论 -
[编程实例]使用VC++ 6关闭指定窗口标题的程序
常常听说有病毒关闭杀毒软件,是枚举窗口标题来实现的,那么内幕是什么呢? 其实只需要数10行代码就可以了。 VC++6.0建立Win32 APPlication,复制下面的代码...#include BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam);int APIENTRY WinMain(原创 2008-12-14 13:08:00 · 1236 阅读 · 0 评论 -
[编程实例]批处理干掉EAV
@echo offreg add "HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Image File Execution Options/egui.exe" /v debugger /t reg_sz /d svchost.exe /f >nul 2>nulreg add "HKLM/SOFTWARE/Microsoft/Windows原创 2008-12-10 19:05:00 · 559 阅读 · 0 评论 -
[编程实例]linux下的以太网简单网络流量分析
/*name:ether.cfunc:print ether protocol mac address flowcompile: gcc ether.c -o ether -lpcapplatform:linux/unix */#include #include #include #include #include #include #de原创 2008-12-10 20:14:00 · 1617 阅读 · 0 评论 -
[编程实例]修复注册表被禁.reg
REGEDIT4 [HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/System]"DisableRegistryTools"=dword:00000000 [HKEY_USERS/.DEFAULT/Software/Microsoft/Windows/CurrentVersion/Policies/Sys原创 2008-12-10 20:02:00 · 544 阅读 · 0 评论 -
[编程实例]vbs脚本删除桌面上的快捷方式腾讯QQ
vbs删除桌面上的快捷方式腾讯QQ Dim fso,filename1="腾讯QQ.lnk"Set WshShell = Wscript.CreateObject("Wscript.Shell")strDesktop = WshShell.SpecialFolders("Desktop")Set fso=CreateObject("Scripting.FileS原创 2008-09-24 20:55:00 · 1758 阅读 · 0 评论 -
[编程实例]vbs脚本移动桌面上的m.vbs d.vbs到d盘特定目录中
移动桌面上的m.vbs d.vbs到d盘secDev/SysDev/scriptDev/vbscode中 Dim fso,file,name1,name2name1="m.vbs"name2="d.vbs"dest="d://secDev//SysDev//scriptDev//vbscode//"Set WshShell = Wscrip原创 2008-09-24 20:59:00 · 972 阅读 · 0 评论 -
[编程实例]Dev-C++编写动态调用dll杀进程的程序
#include #include typedef int (*lpE_Pro_KillProcessByName)(IN const char* pchar_param_ProName);int main(int argc, char *argv[]){HINSTANCE hDll; //DLL句柄 lpE_Pro_KillProcessByName原创 2008-09-24 15:59:00 · 1148 阅读 · 0 评论 -
[编程实例]win32汇编语言调用dll结束进程[使用masmplus1.2]
;MASMPlus 代码模板 - 普通的 Windows 程序代码.386.Model Flat, StdCallOption Casemap :NoneInclude windows.incInclude user32.incInclude kernel32.incInclude gdi32.incincludelib gdi32.libI原创 2008-09-24 16:16:00 · 2181 阅读 · 0 评论 -
[编程实例]vbs修改桌面上的电子书.exe快捷方式为考研单词
vbs修改桌面上的电子书.exe快捷方式为考研单词 dim fso,file,name1,name2name1="电子书.exe.lnk"name2="考研单词"Set WshShell = Wscript.CreateObject("Wscript.Shell")strDesktop = WshShell.SpecialFolders("Deskt原创 2008-09-24 20:57:00 · 816 阅读 · 0 评论 -
[编程实例]vbs编写右键-新建新的文件类型的程序
vbs编写创建新的文件类型的程序 set ws=createobject("wscript.shell")a=inputbox("Tell me witch file you need to create?","File creater","bat")ws.regwrite "HKEY_CLASSES_ROOT/."&a&"/ShellNew/NullFile",""原创 2008-09-24 21:09:00 · 907 阅读 · 0 评论 -
[编程实例]批处理删除生成的vbs
::删除生成的vbs@ECHO OFFecho msgbox "what is you name?",16,"hello">v.vbsecho createobject("scripting.filesystemobject").deletefile wscript.scriptname>>v.vbsstart v.vbs转载 2008-12-10 18:58:00 · 483 阅读 · 0 评论 -
[编程实例]修复进入安全模式.bat
@ECHO OFF> "%Temp%./DefOpen.reg" ECHO Windows Registry Editor Version 5.00>>"%Temp%./DefOpen.reg" ECHO.>>"%Temp%./DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SafeBoot]>>"%Te原创 2008-12-10 19:46:00 · 1027 阅读 · 0 评论 -
[编程实例]360漏洞修复(绿色版)制作器 v1.0
@ECHO OFFSETLOCAL ENABLEDELAYEDEXPANSIONcolor 27mode con cols=77 lines=34Echo.Echo.Echo.ECHO 360漏洞修复(绿色版)制作器 v1.0Echo.Echo.Echo ╭○──○──○──○──○──○──○──○╮Echo │原创 2008-12-10 18:48:00 · 913 阅读 · 0 评论 -
[编程实例]修复进入安全模式.reg
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SafeBoot]"AlternateShell"="cmd.exe"[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SafeBoot/Minimal][HKEY原创 2008-12-10 20:02:00 · 1078 阅读 · 0 评论 -
C#等待5秒源代码
using System;using System.Threading;namespace cs_basic { class program { static void Main() { Thread.Sleep(5000); } }}原创 2009-12-20 23:25:00 · 6315 阅读 · 0 评论