实例介绍
MFC实现的基于WinPcap的协议分析器,可以获取计算机网卡信息,绑定网卡并获取网卡接受到的各类数据包,包括TCP/IP协议,MAC协议,ARP数据包,并动态地将数据包的内容显示出来,可以设置过滤规则,抓取指定的数据包,可以将捕获到的数据信息保存在Excel文件
【实例截图】
【核心代码】
chujinlong110_7056173
└── sniffer
├── WinPcap
│ ├── docs
│ │ ├── html
│ │ │ ├── annotated.html
│ │ │ ├── daemon_8h.html
│ │ │ ├── daemon_8h-source.html
│ │ │ ├── deprecated.html
│ │ │ ├── doxygen__groups_8txt.html
│ │ │ ├── doxygen.png
│ │ │ ├── dump.gif
│ │ │ ├── encoding.gif
│ │ │ ├── fileconf_8h.html
│ │ │ ├── fileconf_8h-source.html
│ │ │ ├── files.html
│ │ │ ├── ftv2blank.png
│ │ │ ├── ftv2doc.png
│ │ │ ├── ftv2folderclosed.png
│ │ │ ├── ftv2folderopen.png
│ │ │ ├── ftv2lastnode.png
│ │ │ ├── ftv2link.png
│ │ │ ├── ftv2mlastnode.png
│ │ │ ├── ftv2mnode.png
│ │ │ ├── ftv2node.png
│ │ │ ├── ftv2plastnode.png
│ │ │ ├── ftv2pnode.png
│ │ │ ├── ftv2vertline.png
│ │ │ ├── funcs_2pcap_8h.html
│ │ │ ├── funcs_2pcap_8h-source.html
│ │ │ ├── functions.html
│ │ │ ├── functions_vars.html
│ │ │ ├── globals_defs.html
│ │ │ ├── globals_enum.html
│ │ │ ├── globals_eval.html
│ │ │ ├── globals_func.html
│ │ │ ├── globals.html
│ │ │ ├── globals_type.html
│ │ │ ├── globals_vars.html
│ │ │ ├── group__compilation.html
│ │ │ ├── group__internals.html
│ │ │ ├── group__language.html
│ │ │ ├── group__NPF__code.html
│ │ │ ├── group__NPF.html
│ │ │ ├── group__NPF__include.html
│ │ │ ├── group__packetapi.html
│ │ │ ├── group__remote__auth__methods.html
│ │ │ ├── group__remotefunc.html
│ │ │ ├── group__remote.html
│ │ │ ├── group__remote__open__flags.html
│ │ │ ├── group__remote__pri__func.html
│ │ │ ├── group__remote__pri__struct.html
│ │ │ ├── group__remote__samp__methods.html
│ │ │ ├── group__remote__source__ID.html
│ │ │ ├── group__remote__source__string.html
│ │ │ ├── group__remote__struct.html
│ │ │ ├── group__wpcap__def.html
│ │ │ ├── group__wpcapfunc.html
│ │ │ ├── group__wpcap.html
│ │ │ ├── group__wpcapsamps.html
│ │ │ ├── group__wpcap__tut1.html
│ │ │ ├── group__wpcap__tut2.html
│ │ │ ├── group__wpcap__tut3.html
│ │ │ ├── group__wpcap__tut4.html
│ │ │ ├── group__wpcap__tut5.html
│ │ │ ├── group__wpcap__tut6.html
│ │ │ ├── group__wpcap__tut7.html
│ │ │ ├── group__wpcap__tut8.html
│ │ │ ├── group__wpcap__tut9.html
│ │ │ ├── group__wpcap__tut.html
│ │ │ ├── incs_2pcap_8h.html
│ │ │ ├── incs_2pcap_8h-source.html
│ │ │ ├── index.hhc
│ │ │ ├── index.hhk
│ │ │ ├── index.hhp
│ │ │ ├── index.html
│ │ │ ├── internals-arch.gif
│ │ │ ├── jitter_8h.html
│ │ │ ├── jitter_8h-source.html
│ │ │ ├── main_8txt.html
│ │ │ ├── main.html
│ │ │ ├── modules.html
│ │ │ ├── npf-dump.gif
│ │ │ ├── npf-ndis.gif
│ │ │ ├── npf-npf.gif
│ │ │ ├── Packet_8h.html
│ │ │ ├── Packet_8h-source.html
│ │ │ ├── pages.html
│ │ │ ├── pcap-remote_8h.html
│ │ │ ├── pcap-remote_8h-source.html
│ │ │ ├── remote-ext_8h.html
│ │ │ ├── remote-ext_8h-source.html
│ │ │ ├── rpcapd_8h.html
│ │ │ ├── rpcapd_8h-source.html
│ │ │ ├── stats.gif
│ │ │ ├── stats_wpcap.gif
│ │ │ ├── structactivehosts.html
│ │ │ ├── structactive__pars.html
│ │ │ ├── structbinary__stream.html
│ │ │ ├── struct____CPU__Private__Data.html
│ │ │ ├── structdaemon__slpars.html
│ │ │ ├── struct__DEVICE__EXTENSION.html
│ │ │ ├── struct__INTERNAL__REQUEST.html
│ │ │ ├── structJIT__BPF__Filter.html
│ │ │ ├── struct__OPEN__INSTANCE.html
│ │ │ ├── structpacket__file__header.html
│ │ │ ├── structPacketHeader.html
│ │ │ ├── struct__PACKET__RESERVED.html
│ │ │ ├── structpcap__addr.html
│ │ │ ├── structpcap__file__header.html
│ │ │ ├── structpcap__if.html
│ │ │ ├── structpcap__pkthdr.html
│ │ │ ├── structpcap__rmtauth.html
│ │ │ ├── structpcap__samp.html
│ │ │ ├── structpcap__send__queue.html
│ │ │ ├── structpcap__stat.html
│ │ │ ├── structrpcap__auth.html
│ │ │ ├── structrpcap__filterbpf__insn.html
│ │ │ ├── structrpcap__filter.html
│ │ │ ├── structrpcap__findalldevs__ifaddr.html
│ │ │ ├── structrpcap__findalldevs__if.html
│ │ │ ├── structrpcap__header.html
│ │ │ ├── structrpcap__openreply.html
│ │ │ ├── structrpcap__pkthdr.html
│ │ │ ├── structrpcap__sampling.html
│ │ │ ├── structrpcap__startcapreply.html
│ │ │ ├── structrpcap__startcapreq.html
│ │ │ ├── structrpcap__stats.html
│ │ │ ├── structsf__pkthdr.html
│ │ │ ├── style.css
│ │ │ ├── tree.html
│ │ │ ├── utils_8h.html
│ │ │ ├── utils_8h-source.html
│ │ │ ├── Win32-Extensions_8h.html
│ │ │ ├── Win32-Extensions_8h-source.html
│ │ │ ├── win32-svc_8h.html
│ │ │ ├── win32-svc_8h-source.html
│ │ │ ├── winpcap.gif
│ │ │ ├── winpcap_small.gif
│ │ │ ├── wpcap__remote_8htm.html
│ │ │ ├── wpcap__remote_8htm-source.html
│ │ │ ├── wpcap__tut1_8txt.html
│ │ │ ├── wpcap__tut2_8txt.html
│ │ │ ├── wpcap__tut3_8txt.html
│ │ │ ├── wpcap__tut4_8txt.html
│ │ │ ├── wpcap__tut5_8txt.html
│ │ │ ├── wpcap__tut6_8txt.html
│ │ │ ├── wpcap__tut7_8txt.html
│ │ │ ├── wpcap__tut8_8txt.html
│ │ │ ├── wpcap__tut_8txt.html
│ │ │ └── wpcap__tut9_8txt.html
│ │ └── WinPcap_docs.html
│ ├── Examples-pcap
│ │ ├── basic_dump
│ │ │ ├── basic_dump.c
│ │ │ ├── basic_dump.dsp
│ │ │ ├── basic_dump.dsw
│ │ │ └── GNUmakefile
│ │ ├── basic_dump_ex
│ │ │ ├── basic_dump_ex.c
│ │ │ ├── basic_dump_ex.dsp
│ │ │ ├── basic_dump_ex.dsw
│ │ │ └── GNUmakefile
│ │ ├── GNUmakefile
│ │ ├── iflist
│ │ │ ├── GNUmakefile
│ │ │ ├── iflist.c
│ │ │ ├── iflist.dsp
│ │ │ └── iflist.dsw
│ │ ├── MakeaAll.dsw
│ │ ├── pcap_filter
│ │ │ ├── GNUmakefile
│ │ │ ├── Makefile.unix
│ │ │ ├── pcap_filter.c
│ │ │ ├── pcap_filter.dsp
│ │ │ └── pcap_filter.dsw
│ │ ├── pktdump_ex
│ │ │ ├── GNUmakefile
│ │ │ ├── pktdump_ex.c
│ │ │ ├── pktdump_ex.dsp
│ │ │ └── pktdump_ex.dsw
│ │ ├── readfile
│ │ │ ├── GNUmakefile
│ │ │ ├── readfile.c
│ │ │ ├── readfile.dsp
│ │ │ └── readfile.dsw
│ │ ├── readfile_ex
│ │ │ ├── GNUmakefile
│ │ │ ├── readfile_ex.c
│ │ │ ├── readfile_ex.dsp
│ │ │ └── readfile_ex.dsw
│ │ ├── savedump
│ │ │ ├── GNUmakefile
│ │ │ ├── savedump.c
│ │ │ ├── savedump.dsp
│ │ │ └── savedump.dsw
│ │ ├── sendpack
│ │ │ ├── GNUmakefile
│ │ │ ├── sendpack.c
│ │ │ ├── sendpack.dsp
│ │ │ └── sendpack.dsw
│ │ └── UDPdump
│ │ ├── GNUmakefile
│ │ ├── udpdump.c
│ │ ├── UDPdump.dsp
│ │ └── UDPdump.dsw
│ ├── Examples-remote
│ │ ├── iflist
│ │ │ ├── iflist.c
│ │ │ ├── iflist.dsp
│ │ │ └── iflist.dsw
│ │ ├── MakeaAll.dsw
│ │ ├── misc
│ │ │ ├── basic_dump.c
│ │ │ ├── basic_dump.dsp
│ │ │ ├── basic_dump_ex.c
│ │ │ ├── basic_dump_ex.dsp
│ │ │ ├── MakeaAll.dsw
│ │ │ ├── readfile.c
│ │ │ ├── readfile.dsp
│ │ │ ├── readfile_ex.c
│ │ │ ├── readfile_ex.dsp
│ │ │ ├── savedump.c
│ │ │ ├── savedump.dsp
│ │ │ ├── sendpack.c
│ │ │ └── sendpack.dsp
│ │ ├── PacketDriver
│ │ │ ├── GetMacAddress
│ │ │ │ ├── GetMacAddress.c
│ │ │ │ └── GetMacAddress.dsp
│ │ │ ├── readme.txt
│ │ │ ├── TestPacketCapture
│ │ │ │ ├── TestPacketCapture.c
│ │ │ │ └── TestPacketCapture.dsp
│ │ │ └── TestPacketSend
│ │ │ ├── TestPacketSend.c
│ │ │ └── TestPacketSend.dsp
│ │ ├── pcap_filter
│ │ │ ├── pcap_filter.c
│ │ │ ├── pcap_filter.dsp
│ │ │ └── pcap_filter.dsw
│ │ ├── pktdump_ex
│ │ │ ├── pktdump_ex.c
│ │ │ ├── pktdump_ex.dsp
│ │ │ └── pktdump_ex.dsw
│ │ ├── sendcap
│ │ │ ├── sencap.dsw
│ │ │ ├── sendcap.c
│ │ │ └── sendcap.dsp
│ │ ├── smp_1
│ │ │ ├── smp_1.c
│ │ │ ├── smp_1.dsp
│ │ │ └── smp_1.dsw
│ │ ├── tcptop
│ │ │ ├── tcptop.c
│ │ │ ├── tcptop.dsp
│ │ │ └── tcptop.dsw
│ │ ├── UDPdump
│ │ │ ├── udpdump.c
│ │ │ ├── UDPdump.dsp
│ │ │ └── UDPdump.dsw
│ │ └── UserLevelBridge
│ │ ├── UserBridge.c
│ │ ├── UserBridge.dsp
│ │ └── UserBridge.dsw
│ ├── Include
│ │ ├── bittypes.h
│ │ ├── bucket_lookup.h
│ │ ├── count_packets.h
│ │ ├── Devioctl.h
│ │ ├── Gnuc.h
│ │ ├── ip6_misc.h
│ │ ├── memory_t.h
│ │ ├── normal_lookup.h
│ │ ├── Ntddndis.h
│ │ ├── Ntddpack.h
│ │ ├── Packet32.h
│ │ ├── pcap-bpf.h
│ │ ├── pcap.h
│ │ ├── pcap-int.h
│ │ ├── pcap-stdinc.h
│ │ ├── remote-ext.h
│ │ ├── tcp_session.h
│ │ ├── time_calls.h
│ │ ├── tme.h
│ │ └── Win32-Extensions.h
│ ├── Lib
│ │ ├── iphlpapi.lib
│ │ ├── iprop.lib
│ │ ├── libpacket.a
│ │ ├── libwpcap.a
│ │ ├── Packet.lib
│ │ └── wpcap.lib
│ ├── WinDump.exe
│ └── WinPcap_4_0_2.exe
└── 源代码文件
├── AdapaterSelection.cpp
├── AdapaterSelection.h
├── appface.h
├── appface.lib
├── app.manifest
├── ARPPacket.cpp
├── ARPPacket.h
├── CapturePacket.clw
├── CapturePacket.cpp
├── CapturePacketDlg.cpp
├── CapturePacketDlg.h
├── CapturePacket.dsp
├── CapturePacket.dsw
├── CapturePacket.exe
├── CapturePacket.h
├── CapturePacket.ncb
├── CapturePacket.opt
├── CapturePacket.plg
├── CapturePacket.rc
├── configuration
│ └── filter.cp
├── DirDialog.cpp
├── DirDialog.h
├── FilterDl.cpp
├── FilterDl.h
├── FramePacket.cpp
├── FramePacket.h
├── help.CHM
├── ICMPPacket.cpp
├── ICMPPacket.h
├── IPPacket.cpp
├── IPPacket.h
├── OutputDataDlg.cpp
├── OutputDataDlg.h
├── RARPPacket.cpp
├── RARPPacket.h
├── RCa02220
├── RCb02220
├── ReadMe.txt
├── Release
│ ├── AdapaterSelection.obj
│ ├── AdapaterSelection.sbr
│ ├── ARPPacket.obj
│ ├── ARPPacket.sbr
│ ├── CapturePacket.bsc
│ ├── CapturePacketDlg.obj
│ ├── CapturePacketDlg.sbr
│ ├── CapturePacket.exe
│ ├── CapturePacket.obj
│ ├── CapturePacket.pch
│ ├── CapturePacket.res
│ ├── CapturePacket.sbr
│ ├── DirDialog.obj
│ ├── DirDialog.sbr
│ ├── FilterDl.obj
│ ├── FilterDl.sbr
│ ├── FramePacket.obj
│ ├── FramePacket.sbr
│ ├── ICMPPacket.obj
│ ├── ICMPPacket.sbr
│ ├── IPPacket.obj
│ ├── IPPacket.sbr
│ ├── OutputDataDlg.obj
│ ├── OutputDataDlg.sbr
│ ├── RARPPacket.obj
│ ├── RARPPacket.sbr
│ ├── RCa04088
│ ├── StdAfx.obj
│ ├── StdAfx.sbr
│ ├── TCPPacket.obj
│ ├── TCPPacket.sbr
│ ├── TestDlg.obj
│ ├── TestDlg.sbr
│ ├── UDPPacket.obj
│ ├── UDPPacket.sbr
│ └── vc60.idb
├── res
│ ├── 03.ico
│ ├── 16.ico
│ ├── CapturePacket.ico
│ ├── CapturePacket.rc2
│ ├── GtBase.urf
│ └── Thumbs.db
├── resource.h
├── StdAfx.cpp
├── StdAfx.h
├── TCPPacket.cpp
├── TCPPacket.h
├── TestDlg.cpp
├── TestDlg.h
├── UDPPacket.cpp
├── UDPPacket.h
└── wpcap.lib
35 directories, 353 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论