Description: 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.
To Search:
File list (Check if you may need any files):
NetSnoopDll
...........\APIHook.cpp
...........\dllmain.cpp
...........\NetSnoopDll.cpp
...........\NetSnoopDll.vcxproj
...........\NetSnoopDll.vcxproj.filters
...........\NetSnoopDll.vcxproj.user
...........\ReadMe.txt
...........\stdafx.cpp
...........\stdafx.h
...........\targetver.h
NetSnoop.sln
NetSnoop
........\NetSnoop.cpp
........\NetSnoop.h
........\NetSnoop.ico
........\NetSnoop.rc
........\NetSnoop.vcxproj
........\NetSnoop.vcxproj.filters
........\NetSnoop.vcxproj.user
........\ReadMe.txt
........\Resource.h
........\small.ico
........\stdafx.cpp
........\stdafx.h
........\targetver.h