?? dot1x.h
字號(hào):
//ThorClient 802.1x (using WinPcap 3.2 alpha1)
//Download: http://thorqq.ys168.com
//E-mail: thorqq@163.com
//Author: Thorqq
/////////////////////////////////////////////////////////////
#ifndef _DOT1X_H
#define _DOT1X_H
#include "pcap.h"
#include "global.h"
class CDot1X
{
public:
CDot1X(const HWND hDlg);
virtual ~CDot1X();
void Connect(const USERDATA *UserData);
void Disconnect();
void ClosAdapter();
private:
HWND m_hDlg; //主界面句柄
HANDLE m_hThread; //線程句柄
u_char m_DestMac[6]; //目標(biāo)MAC
pcap_t *m_fp; //網(wǎng)卡設(shè)備
const USERDATA *m_pData;//用戶數(shù)據(jù)
private:
bool OpenAdapter();
bool SendLogin();
bool SendVersion (const u_char Id);
bool SendUsername(const u_char Id);
bool SendPassword(const u_char Id, const u_char *Chap);
bool SendKeeponline(const u_char Id);
bool SendLogout();
void InitBuf(u_char *buf);
void SetMd5Buf(PPASSWORDFRM pBuf, const u_char ID, const u_char *chap);
friend DWORD WINAPI WorkProc(LPVOID lpParam);
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -