資源簡介
QQSniffer
QQ嗅探器
QQ局域網(wǎng)嗅探
局域網(wǎng)嗅探QQ號
實現(xiàn)局域網(wǎng)嗅探QQ號
此嗅探器只能在支技RAW SOCKET的機器上運行,而且還得是非交換機的局域網(wǎng)內(nèi),可以嗅到整個局域網(wǎng)內(nèi)的QQ號。
代碼原創(chuàng):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
評論
共有 條評論