模仿Wireshark网络抓包工具实现---c++

上传者: hegangle | 上传时间: 2021-06-04 15:13:46 | 文件大小: 13.33MB | 文件类型: ZIP
最近在用Wireshark抓包工具的时候,老感觉这东西用起来很简单,功能强大,所以想了解他的实现原理,我就自己好奇写了一个实现基本功能的demo吧。 其实叫抓包工具,其实就是抓取流经自己网卡的所有ip包,我们能够按照ip包的协议解析不就行了。

文件下载

资源详情

[{"title":"( 86 个子文件 13.33MB ) 模仿Wireshark网络抓包工具实现---c++","children":[{"title":"IPATTRC.sln <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"IPATTRC.suo <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"IPATTRC","children":[{"title":"stdafx.cpp <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"IPATTRC.rc2 <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"IPATTRC.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"IPATTRC.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"IPATTRC.rc <span style='color:#111;'> 9.95KB </span>","children":null,"spread":false},{"title":"IPATTRC.h <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"myMutex.cpp <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"IPATTRC.cpp <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"IPATTRCDlg.h <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"Utils.h <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"Utils.cpp <span style='color:#111;'> 26.45KB </span>","children":null,"spread":false},{"title":"IPATTRCDlg.cpp <span style='color:#111;'> 14.61KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"link.9536.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRC.obj <span style='color:#111;'> 72.27KB </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 2.18MB </span>","children":null,"spread":false},{"title":"link.4932.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRC.exe.embed.manifest <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"link.19356.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 98.98KB </span>","children":null,"spread":false},{"title":"link.9536-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRC.exe.intermediate.manifest <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"Utils.obj <span style='color:#111;'> 355.66KB </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"link.36160-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 630.52KB </span>","children":null,"spread":false},{"title":"link.12612.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.4932-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.44884.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"link.36160.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.12612.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRC.exe.embed.manifest.res <span style='color:#111;'> 980B </span>","children":null,"spread":false},{"title":"link.9536.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.45536.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.36160.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRC.res <span style='color:#111;'> 68.01KB </span>","children":null,"spread":false},{"title":"link.45536.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.44884.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.14068-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.36160-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.12612-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.14068.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.9536-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRCDlg.obj <span style='color:#111;'> 222.51KB </span>","children":null,"spread":false},{"title":"myMutex.obj <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"link.19356.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19356-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"link.14068.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.14068-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRC.log <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"link.12612-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.4932-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.4932.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.44884-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"IPATTRC.pch <span style='color:#111;'> 32.31MB </span>","children":null,"spread":false},{"title":"link.19356-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"link.45536-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"link.45536-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"IPATTRC_manifest.rc <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"IPATTRC.lastbuildstate <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"link.44884-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 3.52MB </span>","children":null,"spread":false}],"spread":false},{"title":"IPATTRC.vcxproj.filters <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"IPATTRC.APS <span style='color:#111;'> 103.25KB </span>","children":null,"spread":false},{"title":"myMutex.h <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"IPATTRC.vcxproj <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"ipch","children":[{"title":"ipattrc-69f91392","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"IPATTRC.ilk <span style='color:#111;'> 1.93MB </span>","children":null,"spread":false},{"title":"IPATTRC.exe <span style='color:#111;'> 249.50KB </span>","children":null,"spread":false},{"title":"IPATTRC.pdb <span style='color:#111;'> 5.54MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • changchunjianghui :
    解压不成功,再下一次,看一下。
    2017-10-11

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明