资源简介
wpa_cli.rar。仿照手机WIFI程序写的

代码片段和文件信息
/*
* WPA Supplicant - command line interface for wpa_supplicant daemon
* Copyright (c) 2004-2012 Jouni Malinen
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include “includes.h“
#ifdef CONFIG_CTRL_IFACE
#ifdef CONFIG_CTRL_IFACE_UNIX
#include
#endif /* CONFIG_CTRL_IFACE_UNIX */
#include “common/wpa_ctrl.h“
#include “utils/common.h“
#include “utils/eloop.h“
#include “utils/edit.h“
#include “utils/list.h“
#include “common/version.h“
#include “common/ieee802_11_defs.h“
#ifdef ANDROID
#include
#endif /* ANDROID */
#include
#include
static const char *wpa_cli_version =
“wpa_cli v“ VERSION_STR “\n“
“Copyright (c) 2004-2012 Jouni Malinen and contributors“;
static const char *wpa_cli_license =
“This software may be distributed under the terms of the BSD license.\n“
“See README for more details.\n“;
static const char *wpa_cli_full_license =
“This software may be distributed under the terms of the BSD license.\n“
“\n“
“Redistribution and use in source and binary forms with or without\n“
“modification are permitted provided that the following conditions are\n“
“met:\n“
“\n“
“1. Redistributions of source code must retain the above copyright\n“
“ notice this list of conditions and the following disclaimer.\n“
“\n“
“2. Redistributions in binary form must reproduce the above copyright\n“
“ notice this list of conditions and the following disclaimer in the\n“
“ documentation and/or other materials provided with the distribution.\n“
“\n“
“3. Neither the name(s) of the above-listed copyright holder(s) nor the\n“
“ names of its contributors may be used to endorse or promote products\n“
“ derived from this software without specific prior written permission.\n“
“\n“
“THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n“
“\“AS IS\“ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT\n“
“LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n“
“A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n“
“OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL\n“
“SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT\n“
“LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE\n“
“DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n“
“THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT\n“
“(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n“
“OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n“
“\n“;
static struct wpa_ctrl *ctrl_conn;
static struct wpa_ctrl *mon_conn;
static int wpa_cli_quit = 0;
static int wpa_cli_attached = 0;
static int wpa_cli_connected = 0;
static int wpa_cli_last_id = 0;
#ifndef CONFIG_CTRL_IFACE_DIR
#define CONFIG_CTRL_IFACE_DIR “/var/run/wpa_supplicant“
#endif /* CONFIG_CTRL_IFACE_DIR */
static const char *ctrl_iface_dir
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 93780 2013-12-05 15:07 wpa_cli.c
----------- --------- ---------- ----- ----
93780 1
相关资源
- wifi的ssid探测
- wifi局域网内双向语音实时通话
- 矿用多功能WiFi信号转换器的设计
- 基于WiFi技术的矿井信号收发器设计
- 爱普生(EPSON)L3151 3153 3156 3157 3158不
- RTL8188EVT USB WIFI无线网卡驱动 免费版
- wifi电路调试经验之谈
- Marvell 88W8686 WiFi模块的ADHOC热点创建代
- RT5350WIFI模组
- 基于Arduino和Machtalk的温棚环境监测系
- 卡皇RTL8187芯片网卡驱动 Win7 x86x64官方
-
lb li
nk随身wifi驱动 v1.1.3 官方版 - 基于ADS1298与WiFi的脑电信号采集与传输
- 经验分享:如何通过wifi标准选择
- WIFI车载影音导航系统方案设计
- stm32_WiFi智能家居.zip
- 华硕老毛子padavan固件使用dogcom完整教
- 真正的无需跑包无需PIN秒破解软件路
- wifi共享大师纯净去广告版强力共享校
- stm32103c8t6ESP8266串口转WIFI模块TCP服务器
- wifi暴力破解电脑(PC)版2.0官方安装
- wifi跑包密码字典,跑包字典,暴力破
- wifi字典完美
- 360随身wifi驱动,360wifi驱动,无广告版
- 360免费WIFI(适用于任意无线网卡)
- MT7601(小度wifi360wifimiwif) staap linux驱
- 全志xr819 wifi datasheet
- MediaTek-AP-MT7628DAN+MT7612E硬件开发包
- 2.4G蓝牙/WiFi-PCB天线封装(Cadence-Alle
- AP6256_4.2固件.tgz
评论
共有 条评论