在网上搜索了好久也搜不到有关aircrack的分析过程,只好硬着头皮自己分析了,也再进一步熟悉下linux编程,首先对其中的airodump-ng进行分析,因为这个是用来抓包的,毕竟还是最主要的,是研究数据的基础,下载了1.0-r2的版本,那个不容易阿,最,最后还是在csdn上找到的,以前有来着,装系统给不见了。 首先,在airodump里有这个结构 struct globals { struct AP_info *ap_1st, *ap_end; struct ST_info *st_1st, *st_end; struct NA_info *na_1st, *na_end; unsigned char prev_bssid[6]; unsigned char f_bssid[6]; unsigned char f_netmask[6]; char *dump_prefix; char *keyout; char *f_cap_name; int f_index; /* outfiles index */ FILE *f_txt; /* output csv file */ FILE *f_kis; /* output kismet csv file */ FILE *f_gps; /* output gps file */ FILE *f_cap; /* output cap file */ FILE *f_ivs; /* output ivs file */ FILE *f_xor; /* output prga file */ char * batt; /* Battery string */ int channel[MAX_CARDS]; /* current channel # */ int frequency[MAX_CARDS]; /* current frequency # */ int ch_pipe[2]; /* current channel pipe */ int cd_pipe[2]; /* current card pipe */ int gc_pipe[2]; /* gps coordinates pipe */ float gps_loc[5]; /* gps coordinates */ int save_gps; /* keep
aircrack-ng中的代码分析
最新推荐文章于 2024-01-23 16:28:56 发布