资源简介
QQSniffer
QQ嗅探器
QQ局域网嗅探
局域网嗅探QQ号
实现局域网嗅探QQ号
此嗅探器只能在支技RAW SOCKET的机器上运行,而且还得是非交换机的局域网内,可以嗅到整个局域网内的QQ号。
代码原创:cooldiyer。
代码片段和文件信息
#include
#include
#include
#include
#include
#pragma comment(lib“ws2_32.lib“)
#define MAX_HOSTNAME_LAN 255
#define SIO_RCVALL _WSAIOW(IOC_VENDOR1)
#define MAX_ADDR_LEN 16
struct ipheader {
unsigned char ip_hl:4 ip_v:4; /* this means that each member is 4 bits */
unsigned char ip_tos;
unsigned short int ip_len;
unsigned short int ip_id;
unsigned short int ip_off;
unsigned char ip_ttl;
unsigned char ip_p;
unsigned short int ip_sum;
unsigned int ip_src;
unsigned int ip_dst;
}; /* total ip header length: 20 bytes (=160 bits) */
typedef struct udphdr {
unsigned short sport;
unsigned short dport;
unsigned short len;
unsigned short cksum;
}UDP_HDR;
void main()
{
SOCKET sock;
WSADATA wsd;
DWORD dwBytesRet;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2739 2005-06-10 08:08 qq.c
文件 96 2005-06-10 08:11 readme.txt
文件 119301 2005-06-10 08:07 qq.exe
----------- --------- ---------- ----- ----
122136 3
评论
共有 条评论