00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef __analyse_h__
00028 #define __analyse_h__
00029
00030
00031 #define HISTOSIZE 37
00032 #define POS_MAC 6
00033 #define POS_SSID 24
00034 #define POS_CHANNEL 56
00035 #define POS_CRYPT 57
00036 #define POS_HISTO 58
00037
00038 #define SENSOFIDS_TS 5
00039
00040
00041 void LogPutSN(UINT8 AddMac[WLAN_ADDR_LEN], UINT32 SN);
00042 void LogPutRate(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 Rate);
00043 void LogPutMaxSpeed(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 Rate);
00044 void LogDetectedClient(UINT8 AddMac[WLAN_ADDR_LEN]);
00045 void LogPutBSSID(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 BSSID[WLAN_ADDR_LEN]);
00046 void LogPutDS(UINT8 BSSID[WLAN_ADDR_LEN]);
00047 void LogPutWep(UINT8 BSSID[WLAN_ADDR_LEN], UINT8 hasWep, UINT8 hasWPA);
00048 void LogPutSSID(UINT8 AddMac[WLAN_ADDR_LEN],
00049 UINT8 BSSID[WLAN_ADDR_LEN], char *SSID);
00050 void LogPutChannel(UINT8 AddMac[WLAN_ADDR_LEN],
00051 UINT8 BSSID[WLAN_ADDR_LEN], UINT8 Channel);
00052 void LogPutIsAP(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 hasWep, UINT8 hasWPA,
00053 UINT16 bcn_int);
00054 void LogPutIsP2P(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 hasWep,
00055 UINT16 bcn_int);
00056 void LogPutOtherInformation(UINT8 AddMac[WLAN_ADDR_LEN],
00057 char *OtherInformation);
00058 void LogPutTimestamp(UINT8 AddMac[WLAN_ADDR_LEN], UINT64 TS);
00059 void LogPutSeqNum(UINT8 AddMac[WLAN_ADDR_LEN],
00060 UINT8 AddMacDst[WLAN_ADDR_LEN], UINT16 SeqNum);
00061 void LogPutLastIV(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 IV[4]);
00062
00063 void LogWriteReport(void);
00064 void LogWriteDOT(FILE * filename);
00065 void LogWritePanel(void);
00066 void LogWriteHisto(void);
00067
00068
00069 void ResetAllDetectedClient(void);
00070
00071
00072 void Send_To_All_BSSID_A_Deauth(void);
00073
00074
00075 void DoSummary(void);
00076 void WritePanel(UINT8 GoodPacket);
00077
00078
00079 UINT8 IDS(void);
00080
00081
00082 void AnalyseTAG221(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 * varBits,
00083 int tagLen);
00084
00085 #endif