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 files43
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14
- ↑..Parent directory
- Makefile
- android_drv.h
- driver.h
- driver_atheros.c
- driver_bsd.c
- driver_common.c
- driver_hostap.c
- driver_hostap.h
- driver_macsec_linux.c
- driver_macsec_qca.c
- driver_ndis.c
- driver_ndis.h
- driver_ndis_.c
- driver_nl80211.c
- driver_nl80211.h
- driver_nl80211_android.c
- driver_nl80211_capa.c
- driver_nl80211_event.c
- driver_nl80211_monitor.c
- driver_nl80211_scan.c
- driver_none.c
- driver_openbsd.c
- driver_privsep.c
- driver_roboswitch.c
- driver_wext.c
- driver_wext.h
- driver_wired.c
- driver_wired_common.c
- driver_wired_common.h
- drivers.c
- drivers.mak
- drivers.mk
- linux_defines.h
- linux_ioctl.c
- linux_ioctl.h
- linux_wext.h
- ndis_events.c
- netlink.c
- netlink.h
- nl80211_copy.h
- priv_netlink.h
- rfkill.c
- rfkill.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/drivers/driver_ndis.h
Text · 1,519 bytes/*
* WPA Supplicant - Windows/NDIS driver interface
* Copyright (c) 2004-2006, Jouni Malinen <[email protected]>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef DRIVER_NDIS_H
#define DRIVER_NDIS_H
#ifdef CONFIG_NDIS_EVENTS_INTEGRATED
struct ndis_events_data;
struct ndis_events_data * ndis_events_init(HANDLE *read_pipe, HANDLE *event,
const char *ifname,
const char *desc);
void ndis_events_deinit(struct ndis_events_data *events);
#endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
struct ndis_pmkid_entry {
struct ndis_pmkid_entry *next;
u8 bssid[ETH_ALEN];
u8 pmkid[16];
};
struct wpa_driver_ndis_data {
void *ctx;
char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */
#ifdef _WIN32_WCE
TCHAR *adapter_name;
HANDLE event_queue; /* NDISUIO notifier MsgQueue */
HANDLE connected_event; /* WpaSupplicantConnected event */
#endif /* _WIN32_WCE */
u8 own_addr[ETH_ALEN];
#ifdef CONFIG_USE_NDISUIO
HANDLE ndisuio;
#else /* CONFIG_USE_NDISUIO */
LPADAPTER adapter;
#endif /* CONFIG_USE_NDISUIO */
u8 bssid[ETH_ALEN];
int has_capability;
int no_of_pmkid;
int radio_enabled;
struct wpa_driver_capa capa;
struct ndis_pmkid_entry *pmkid;
char *adapter_desc;
int wired;
int native80211;
int mode;
int wzc_disabled;
int oid_bssid_set;
#ifdef CONFIG_NDIS_EVENTS_INTEGRATED
HANDLE events_pipe, event_avail;
struct ndis_events_data *events;
#endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
};
#endif /* DRIVER_NDIS_H */