自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (2)
  • 收藏
  • 关注

转载 让C/C++程序一次编译可以发布到多版本Linux之上

最近页游开放平台比较多, 每个平台要求的Linux版本各不相同, 这给开发人员部署服务器带来了很大的困难. 在本机Linux编译的程序,发布时即便将依赖的so附带到目标Linux环境,仍然会碰到依赖及版本问题,例如:[root@localhost bin]# ldd wkcenter ./wkcenter: /usr/lib/libstdc++.so.6: version `GLIBC

2013-07-19 12:33:37 991

转载 SOL_BINDTODEVICE

SOL_BINDTODEVICE是setsockopt设置中的一种套接口选项.当套接口被绑定到指定的网络设备接口之后,只有来自该设备的数据包才会被套接口处理。 在Linux下,对网络设备的引用是通过struct ifreq来完成.通过设置structifreq中的ifr_name[IFNAMSIZ]来指定网络设备接口.举例如下:struct ifreq in

2013-07-15 15:16:10 781

原创 vs2012 编译独立的exe运行。

vs2010 编译文件的时候,会引用msvcr100.dll,去掉他的办法是设置运行库位MT或者MTD如图:

2013-07-10 23:59:11 855

转载 Windows性能计数器统计网络流量

使用性能计数器的基本步骤是:1.打开计数器PdhOpenQuery2.为计数器句柄分配空间3.把感兴趣的计数器添加进来PdhAddCounter4.收集数据PdhCollectQueryData5.得到计数器的数值PdhGetFormattedCounterValue6.关闭计数器PdhCloseQuery#include #include #include

2013-07-04 14:13:02 3737

原创 linux 远程shell 实现

实现了一个 shell server的功能,每当有客户端连接的时候,都会为远程客户端分配shell。使用命令:启动服务端  ./a.out server启动客户端: ./a.out client#include #include #include #include #include #include #include #include #include #

2013-07-03 17:19:35 859

A盾电脑防护

//************************************************************************************ //* //* A盾电脑防护 http://www.3600safe.com/ //* //*说明: //* 终于有点魄力开源了。谨以此薄码献给天下的母亲们 2012-5-13。 //* //*AD下: //* www.3600safe.com 是一个内核安全编程技术网站,收集了各种神牛的技术文章, //* 搞内核编程的不妨把它当成一个资料库 :) //* //************************************************************************************ 文件列表: I:. │ 3600safe.sln │ readme.txt │ ├─3600safe │ │ 3600safe.aps │ │ 3600safe.cpp │ │ 3600safe.h │ │ 3600safe.rc │ │ 3600safe.vcxproj │ │ 3600safe.vcxproj.filters │ │ 3600safe.vcxproj.user │ │ 3600safeDoc.cpp │ │ 3600safeDoc.h │ │ 3600safeView.cpp │ │ 3600safeView.h │ │ AboutDlg.cpp │ │ AboutDlg.h │ │ Atapi.cpp │ │ Atapi.h │ │ C3600Splash.cpp │ │ C3600Splash.h │ │ ClrListCtrl.cpp │ │ ClrListCtrl.h │ │ DLLModule.cpp │ │ DLLModule.h │ │ DpcTimer.cpp │ │ DpcTimer.h │ │ FilterDriver.cpp │ │ FilterDriver.h │ │ FsdHook.cpp │ │ FsdHook.h │ │ HipsLog.cpp │ │ HipsLog.h │ │ Install.cpp │ │ Install.h │ │ Kbdclass.cpp │ │ Kbdclass.h │ │ KernelHook.cpp │ │ KernelHook.h │ │ KernelModule.cpp │ │ KernelModule.h │ │ KernelThread.cpp │ │ KernelThread.h │ │ MainFrm.cpp │ │ MainFrm.h │ │ Md5.cpp │ │ Md5.h │ │ Mouclass.cpp │ │ Mouclass.h │ │ Nsiproxy.cpp │ │ Nsiproxy.h │ │ ntdll.lib │ │ ObjectHook.cpp │ │ ObjectHook.h │ │ Process.cpp │ │ Process.h │ │ ProcessHandle.cpp │ │ ProcessHandle.h │ │ ProcessThread.cpp │ │ ProcessThread.h │ │ ReadMe.txt │ │ resource.h │ │ Services.cpp │ │ Services.h │ │ ShadowSSDT.cpp │ │ ShadowSSDT.h │ │ SSDT.cpp │ │ SSDT.h │ │ stdafx.cpp │ │ stdafx.h │ │ SubModule.cpp │ │ SubModule.h │ │ SystemNotify.cpp │ │ SystemNotify.h │ │ SystemThread.cpp │ │ SystemThread.h │ │ targetver.h │ │ Tcpip.cpp │ │ Tcpip.h │ │ TcpView.cpp │ │ TcpView.h │ │ uninstall360.cpp │ │ uninstall360.h │ │ UnloadDllModule.h │ │ UserImages.bmp │ │ Windows2003SP1_CN.h │ │ Windows2003SP2_CN.h │ │ Windows7Home_CN.h │ │ Windows7SP1_CN.h │ │ WindowsXPSP2_CN.h │ │ WindowsXPSP3_CN.h │ │ │ ├─Release │ └─res │ 3600safe - 副本.ico │ 3600safe.bmp │ 3600safe.ico │ Dispatch.ico │ GDriver.ico │ Hips.ico │ KernelHook.ico │ KernelModule.ico │ KernelThread.ico │ My3600safe.rc2 │ Process.ico │ ring3.ico │ Services.ico │ Tcpview.ico │ Toolbar.bmp │ Toolbar256.bmp │ ├─bin │ │ A-Protect.exe │ │ A-Protect.txt │ │ │ └─A-ProtectSDK │ │ readme.txt │ │ │ ├─example │ │ A-ProtectConsole.cpp │ │ A-ProtectConsole.h │ │ A-ProtectConsole.sln │ │ A-ProtectConsole.vcxproj │ │ Install.cpp │ │ Install.h │ │ KernelModule.h │ │ ntdll.lib │ │ │ └─include │ A-ProtectSDK.h │ └─Driver │ AntiInlineHook.c │ AntiInlineHook.h │ Atapi.c │ Atapi.h │ buildchk_win7_x86.log │ buildchk_win7_x86.wrn │ Common.h │ Control.c │ Control.h │ DeleteFile.c │ DeleteFile.h │ DpcTimer.c │ DpcTimer.h │ DriverHips.c │ DriverHips.h │ drvcommon.h │ drvversion.h │ drvversion.rc │ dump.c │ dump.h │ file.c │ file.h │ FileSystem.c │ FileSystem.h │ Fixrelocation.c │ Fixrelocation.h │ Function.c │ Function.h │ InitWindowsVersion.c │ InitWindowsVersion.h │ InlineHook.c │ InlineHook.h │ kbdclass.c │ kbdclass.h │ KernelFilterDriver.c │ KernelFilterDriver.h │ KernelHookCheck.c │ KernelHookCheck.h │ KernelReload.c │ KernelReload.h │ KernelThread.c │ KernelThread.h │ KillProcess.c │ KillProcess.h │ ldasm.c │ ldasm.h │ libdasm.c │ libdasm.h │ makefile │ Mouclass.c │ Mouclass.h │ NetworkDefense.c │ NetworkDefense.h │ nsiproxy.c │ nsiproxy.h │ Ntfs.c │ Ntfs.h │ ntifs.h │ ntos.c │ ntos.h │ ObjectHookCheck.c │ ObjectHookCheck.h │ Port.c │ Port.h │ Process.c │ Process.h │ ProcessModule.c │ ProcessModule.h │ Protect.c │ Protect.h │ ReLoadSSDTTableHook.c │ ReLoadSSDTTableHook.h │ SafeSystem.c │ SafeSystem.h │ SafeSystem.sln │ SafeSystem.vcxproj │ SafeSystem.vcxproj.filters │ SafeSystem.vcxproj.user │ SDTShadowRestore.h │ Services.c │ Services.h │ ShadowSSDT.c │ ShadowSSDT.h │ sources │ SSDT.c │ SSDT.h │ SysModule.c │ SysModule.h │ SystemNotify.c │ SystemNotify.h │ SystemThread.c │ SystemThread.h │ tables.h │ Tcpip.c │ Tcpip.h │ win32k.c │ win32k.h │ ├─objchk_win7_x86 │ └─i386 │ a.bat │ bin2c.exe │ └─Release //******************************************************************** //end //********************************************************************

2012-05-28

经典汇编编译环境MS611

一个绝对使用的经典汇编小工具,功能齐全.

2008-12-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除