WinpCap学习录
文章平均质量分 58
Dean丁
这个作者很懒,什么都没留下…
展开
-
WinpCap error LNK2019
用VS2010调试出现的问题下:错误 1 error LNK2019: 无法解析的外部符号 _pcap_freealldevs,该符号在函数 _main 中被引用错误 2 error LNK2019: 无法解析的外部符号 _pcap_findalldevs,该符号在函数 _main 中被引用错误 3 error LNK2019: 无法解析的外部符号 __imp__getnameinfo转载 2014-03-30 18:31:16 · 1556 阅读 · 0 评论 -
vs2010下搭建winpcap环境
一、 软件准备1) 下载最新版本的WinPcap安装包。地址:http://www.winpcap.org/install/default.htm2) 下载最新版本的WinPcap开发包。地址:http://www.winpcap.org/devel.htm3) 安装WinPcap。双击步骤1)下载的WinPcap_4_1_1转载 2014-03-30 18:22:50 · 1111 阅读 · 0 评论 -
winpcap学习笔记--(Interpreting the packets)
尼玛,学了三年了,终于亲自接触到了IP包,好激动地说,哈哈哈哈哈哈原创 2014-06-06 08:52:00 · 1016 阅读 · 0 评论 -
winpcap学习笔记--(Opening an adapter and capturing the packets)
#define WIN32#define HAVE_REMOTE#include #include #include //// NOTE: remember to include WPCAP and HAVE_REMOTE among your// preprocessor definitions.//#pragma comment(lib,"wpcap.lib")#p原创 2014-06-05 00:00:01 · 852 阅读 · 0 评论 -
winpcap学习笔记--(Capturing the packets without the callback)
最近学习winpcap总算走上点道路了,呵呵,继续加油!!!#define WIN32#define HAVE_REMOTE#include #include "pcap.h"// Function prototypesvoid ifprint(pcap_if_t *d);char *iptos(u_long in);char* ip6tos(struct sockadd原创 2014-06-05 11:28:15 · 621 阅读 · 0 评论 -
指针和引用
尼玛,今天一下就被颠覆三观了,原创 2014-06-05 15:55:21 · 548 阅读 · 0 评论 -
winpcap学习笔记--(Handling offline dump files--1)
其实这章的作用就是把抓过来的包都储存在一个文件中,就是原创 2014-06-06 15:59:18 · 1195 阅读 · 0 评论 -
winpcap学习笔记--(Handling offline dump files--2)
这个是把dumpfile里面东西全部读出来并以16进制表示原创 2014-06-09 20:04:04 · 733 阅读 · 0 评论 -
winpcap学习笔记--(Sending Packet)
感觉winpcap的发包的函数做得有点呵呵啊,没啥用的感觉。。。原创 2014-06-09 20:07:58 · 2630 阅读 · 0 评论