Exploit databaseDownload repository ZIP
GH-25fc1985744fec336f986521e61a3fb7
chertogun/cve-2020-27301-hostapd
Sources for CVE-2020-27301
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files103
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14
- ↑..Parent directory
- Makefile
- accounting.c
- accounting.h
- acs.c
- acs.h
- airtime_policy.c
- airtime_policy.h
- ap_config.c
- ap_config.h
- ap_drv_ops.c
- ap_drv_ops.h
- ap_list.c
- ap_list.h
- ap_mlme.c
- ap_mlme.h
- authsrv.c
- authsrv.h
- beacon.c
- beacon.h
- bss_load.c
- bss_load.h
- ctrl_iface_ap.c
- ctrl_iface_ap.h
- dfs.c
- dfs.h
- dhcp_snoop.c
- dhcp_snoop.h
- dpp_hostapd.c
- dpp_hostapd.h
- drv_callbacks.c
- eap_user_db.c
- eth_p_oui.c
- eth_p_oui.h
- fils_hlp.c
- fils_hlp.h
- gas_query_ap.c
- gas_query_ap.h
- gas_serv.c
- gas_serv.h
- hostapd.c
- hostapd.h
- hs20.c
- hs20.h
- hw_features.c
- hw_features.h
- ieee802_11.c
- ieee802_11.h
- ieee802_11_auth.c
- ieee802_11_auth.h
- ieee802_11_he.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/ap/dpp_hostapd.h
Text · 2,354 bytes/*
* hostapd / DPP integration
* Copyright (c) 2017, Qualcomm Atheros, Inc.
* Copyright (c) 2018-2020, The Linux Foundation
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef DPP_HOSTAPD_H
#define DPP_HOSTAPD_H
struct dpp_bootstrap_info;
int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_nfc_uri(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_nfc_handover_req(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_nfc_handover_sel(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_auth_init(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_listen(struct hostapd_data *hapd, const char *cmd);
void hostapd_dpp_listen_stop(struct hostapd_data *hapd);
void hostapd_dpp_rx_action(struct hostapd_data *hapd, const u8 *src,
const u8 *buf, size_t len, unsigned int freq);
void hostapd_dpp_tx_status(struct hostapd_data *hapd, const u8 *dst,
const u8 *data, size_t data_len, int ok);
struct wpabuf *
hostapd_dpp_gas_req_handler(struct hostapd_data *hapd, const u8 *sa,
const u8 *query, size_t query_len,
const u8 *data, size_t data_len);
void hostapd_dpp_gas_status_handler(struct hostapd_data *hapd, int ok);
int hostapd_dpp_configurator_add(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_configurator_remove(struct hostapd_data *hapd, const char *id);
int hostapd_dpp_configurator_sign(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_configurator_get_key(struct hostapd_data *hapd, unsigned int id,
char *buf, size_t buflen);
int hostapd_dpp_pkex_add(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_pkex_remove(struct hostapd_data *hapd, const char *id);
void hostapd_dpp_stop(struct hostapd_data *hapd);
int hostapd_dpp_init(struct hostapd_data *hapd);
void hostapd_dpp_deinit(struct hostapd_data *hapd);
void hostapd_dpp_init_global(struct hapd_interfaces *ifaces);
void hostapd_dpp_deinit_global(struct hapd_interfaces *ifaces);
int hostapd_dpp_controller_start(struct hostapd_data *hapd, const char *cmd);
int hostapd_dpp_chirp(struct hostapd_data *hapd, const char *cmd);
void hostapd_dpp_chirp_stop(struct hostapd_data *hapd);
void hostapd_dpp_remove_bi(void *ctx, struct dpp_bootstrap_info *bi);
#endif /* DPP_HOSTAPD_H */