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 files119
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14
- ↑..Parent directory
- binder/
- dbus/
- doc/
- examples/
- systemd/
- utils/
- vs2005/
- wpa_gui-qt4/
- .gitignore
- Android.mk
- ChangeLog
- Makefile
- README
- README-DPP
- README-HS20
- README-P2P
- README-WPS
- README-Windows.txt
- android.config
- ap.c
- ap.h
- autoscan.c
- autoscan.h
- autoscan_exponential.c
- autoscan_periodic.c
- bgscan.c
- bgscan.h
- bgscan_learn.c
- bgscan_simple.c
- bss.c
- bss.h
- bssid_ignore.c
- bssid_ignore.h
- config.c
- config.h
- config_file.c
- config_none.c
- config_ssid.h
- config_winreg.c
- ctrl_iface.c
- ctrl_iface.h
- ctrl_iface_named_pipe.c
- ctrl_iface_udp.c
- ctrl_iface_unix.c
- defconfig
- dpp_supplicant.c
- dpp_supplicant.h
- driver_i.h
- eap_proxy_dummy.mak
- eap_proxy_dummy.mk
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
wpa_supplicant/bgscan.h
Text · 2,115 bytes/*
* WPA Supplicant - background scan and roaming interface
* Copyright (c) 2009-2010, Jouni Malinen <[email protected]>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef BGSCAN_H
#define BGSCAN_H
struct wpa_supplicant;
struct wpa_ssid;
struct bgscan_ops {
const char *name;
void * (*init)(struct wpa_supplicant *wpa_s, const char *params,
const struct wpa_ssid *ssid);
void (*deinit)(void *priv);
int (*notify_scan)(void *priv, struct wpa_scan_results *scan_res);
void (*notify_beacon_loss)(void *priv);
void (*notify_signal_change)(void *priv, int above,
int current_signal,
int current_noise,
int current_txrate);
};
#ifdef CONFIG_BGSCAN
int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
const char *name);
void bgscan_deinit(struct wpa_supplicant *wpa_s);
int bgscan_notify_scan(struct wpa_supplicant *wpa_s,
struct wpa_scan_results *scan_res);
void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s);
void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above,
int current_signal, int current_noise,
int current_txrate);
/* Available bgscan modules */
#ifdef CONFIG_BGSCAN_SIMPLE
extern const struct bgscan_ops bgscan_simple_ops;
#endif /* CONFIG_BGSCAN_SIMPLE */
#ifdef CONFIG_BGSCAN_LEARN
extern const struct bgscan_ops bgscan_learn_ops;
#endif /* CONFIG_BGSCAN_LEARN */
#else /* CONFIG_BGSCAN */
static inline int bgscan_init(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid, const char name)
{
return 0;
}
static inline void bgscan_deinit(struct wpa_supplicant *wpa_s)
{
}
static inline int bgscan_notify_scan(struct wpa_supplicant *wpa_s,
struct wpa_scan_results *scan_res)
{
return 0;
}
static inline void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s)
{
}
static inline void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s,
int above, int current_signal,
int current_noise,
int current_txrate)
{
}
#endif /* CONFIG_BGSCAN */
#endif /* BGSCAN_H */