NetSnoop
所属分类:网络编程
开发工具:Visual C++
文件大小:26KB
下载次数:49
上传日期:2011-04-16 15:33:13
上 传 者:
rabert
说明: APIHooking
Network snoop introduces the basics of building a network sniffer to pick up all information being sent using TCP socket via send and recv API, obviously, these will be the two APIs to hook to get information about data being sent/received. This code is more about introducing the readers to API hooking using Network snoop as an example. The reader can modify the code to hook APIs related to socket using UDP (which is why readers require knowledge of sockets, networking).
Before we start, reader will require basic knowledge of socket programming, windows hooks and a tad bit of assembly level programming.
文件列表:
NetSnoopDll (0, 2011-03-01)
NetSnoopDll\APIHook.cpp (3796, 2011-03-01)
NetSnoopDll\dllmain.cpp (410, 2011-03-01)
NetSnoopDll\NetSnoopDll.cpp (317, 2011-03-01)
NetSnoopDll\NetSnoopDll.vcxproj (5166, 2011-03-01)
NetSnoopDll\NetSnoopDll.vcxproj.filters (1523, 2011-03-01)
NetSnoopDll\NetSnoopDll.vcxproj.user (143, 2011-03-01)
NetSnoopDll\stdafx.cpp (298, 2011-03-01)
NetSnoopDll\stdafx.h (2848, 2011-03-01)
NetSnoopDll\targetver.h (314, 2011-03-01)
NetSnoop.sln (1368, 2011-03-01)
NetSnoop (0, 2011-03-01)
NetSnoop\NetSnoop.cpp (4990, 2011-03-01)
NetSnoop\NetSnoop.h (39, 2011-03-01)
NetSnoop\NetSnoop.ico (23558, 2009-08-31)
NetSnoop\NetSnoop.rc (6854, 2011-03-01)
NetSnoop\NetSnoop.vcxproj (4783, 2011-03-01)
NetSnoop\NetSnoop.vcxproj.filters (1828, 2011-03-01)
NetSnoop\NetSnoop.vcxproj.user (143, 2011-03-01)
NetSnoop\Resource.h (739, 2011-03-01)
NetSnoop\small.ico (23558, 2009-08-31)
NetSnoop\stdafx.cpp (295, 2011-03-01)
NetSnoop\stdafx.h (483, 2011-03-01)
NetSnoop\targetver.h (314, 2011-03-01)
========================================================================
WIN32 APPLICATION : NetSnoop Project Overview
========================================================================
AppWizard has created this NetSnoop application for you.
This file contains a summary of what you will find in each of the files that
make up your NetSnoop application.
NetSnoop.vcxproj
This is the main project file for VC++ projects generated using an Application Wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
Application Wizard.
NetSnoop.vcxproj.filters
This is the filters file for VC++ projects generated using an Application Wizard.
It contains information about the association between the files in your project
and the filters. This association is used in the IDE to show grouping of files with
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
"Source Files" filter).
NetSnoop.cpp
This is the main application source file.
/////////////////////////////////////////////////////////////////////////////
AppWizard has created the following resources:
NetSnoop.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
NetSnoop.ico
This is an icon file, which is used as the application's icon (32x32).
This icon is included by the main resource file NetSnoop.rc.
small.ico
This is an icon file, which contains a smaller version (16x16)
of the application's icon. This icon is included by the main resource
file NetSnoop.rc.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named NetSnoop.pch and a precompiled types file named StdAfx.obj.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
近期下载者:
相关文件:
收藏者: