Exploit databaseDownload repository ZIP
GH-d879f8fbd49e794749f87fba32e9a2ac
helica-core/eap_pwn
Sources for CVE-2023-52160
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files103
helica-core/eap_pwnRevision f17536590df8
- ↑..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/hw_features.h
Text · 2,493 bytes/*
* hostapd / Hardware feature query and different modes
* Copyright 2002-2003, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
* Copyright (c) 2008-2011, Jouni Malinen <[email protected]>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef HW_FEATURES_H
#define HW_FEATURES_H
#ifdef NEED_AP_MLME
void hostapd_free_hw_features(struct hostapd_hw_modes *hw_features,
size_t num_hw_features);
int hostapd_get_hw_features(struct hostapd_iface *iface);
int hostapd_acs_completed(struct hostapd_iface *iface, int err);
int hostapd_select_hw_mode(struct hostapd_iface *iface);
const char * hostapd_hw_mode_txt(int mode);
int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan);
int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq);
int hostapd_check_ht_capab(struct hostapd_iface *iface);
int hostapd_check_edmg_capab(struct hostapd_iface *iface);
int hostapd_check_he_6ghz_capab(struct hostapd_iface *iface);
int hostapd_prepare_rates(struct hostapd_iface *iface,
struct hostapd_hw_modes *mode);
void hostapd_stop_setup_timers(struct hostapd_iface *iface);
int hostapd_hw_skip_mode(struct hostapd_iface *iface,
struct hostapd_hw_modes *mode);
#else /* NEED_AP_MLME */
static inline void
hostapd_free_hw_features(struct hostapd_hw_modes *hw_features,
size_t num_hw_features)
{
}
static inline int hostapd_get_hw_features(struct hostapd_iface *iface)
{
return -1;
}
static inline int hostapd_acs_completed(struct hostapd_iface *iface, int err)
{
return -1;
}
static inline int hostapd_select_hw_mode(struct hostapd_iface *iface)
{
return -100;
}
static inline const char * hostapd_hw_mode_txt(int mode)
{
return "UNKNOWN";
}
static inline int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan)
{
return -1;
}
static inline int hostapd_check_ht_capab(struct hostapd_iface *iface)
{
return 0;
}
static inline int hostapd_check_edmg_capab(struct hostapd_iface *iface)
{
return 0;
}
static inline int hostapd_prepare_rates(struct hostapd_iface *iface,
struct hostapd_hw_modes *mode)
{
return 0;
}
static inline void hostapd_stop_setup_timers(struct hostapd_iface *iface)
{
}
static inline int hostapd_hw_skip_mode(struct hostapd_iface *iface,
struct hostapd_hw_modes *mode)
{
return 0;
}
static inline int hostapd_check_he_6ghz_capab(struct hostapd_iface *iface)
{
return 0;
}
#endif /* NEED_AP_MLME */
#endif /* HW_FEATURES_H */