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 files44
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14
- ↑..Parent directory
- .gitignore
- Makefile
- eap.c
- eap.h
- eap_aka.c
- eap_config.h
- eap_eke.c
- eap_fast.c
- eap_fast_pac.c
- eap_fast_pac.h
- eap_gpsk.c
- eap_gtc.c
- eap_i.h
- eap_ikev2.c
- eap_leap.c
- eap_md5.c
- eap_methods.c
- eap_methods.h
- eap_mschapv2.c
- eap_otp.c
- eap_pax.c
- eap_peap.c
- eap_proxy.h
- eap_proxy_dummy.c
- eap_psk.c
- eap_pwd.c
- eap_sake.c
- eap_sim.c
- eap_teap.c
- eap_teap_pac.c
- eap_teap_pac.h
- eap_tls.c
- eap_tls_common.c
- eap_tls_common.h
- eap_tnc.c
- eap_ttls.c
- eap_vendor_test.c
- eap_wsc.c
- ikev2.c
- ikev2.h
- mschapv2.c
- mschapv2.h
- tncc.c
- tncc.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/eap_peer/eap_proxy_dummy.c
C · 1,546 bytes/*
* EAP proxy - stub implementation for build testing
* Copyright (c) 2013 Qualcomm Atheros, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eap_proxy.h"
struct eap_proxy_sm *
eap_proxy_init(void *eapol_ctx, const struct eapol_callbacks *eapol_cb,
void *msg_ctx)
{
return NULL;
}
void eap_proxy_deinit(struct eap_proxy_sm *eap_proxy)
{
}
int eap_proxy_key_available(struct eap_proxy_sm *sm)
{
return 0;
}
const u8 * eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len)
{
return NULL;
}
struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *sm)
{
return NULL;
}
int eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm)
{
return 0;
}
enum eap_proxy_status
eap_proxy_packet_update(struct eap_proxy_sm *eap_proxy, u8 *eapReqData,
int eapReqDataLen)
{
return EAP_PROXY_FAILURE;
}
int eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen,
int verbose)
{
return 0;
}
int eap_proxy_get_imsi(struct eap_proxy_sm *eap_proxy, int sim_num,
char *imsi_buf, size_t *imsi_len)
{
return -1;
}
int eap_proxy_notify_config(struct eap_proxy_sm *sm,
struct eap_peer_config *config)
{
return -1;
}
u8 * eap_proxy_get_eap_session_id(struct eap_proxy_sm *sm, size_t *len)
{
return NULL;
}
u8 * eap_proxy_get_emsk(struct eap_proxy_sm *sm, size_t *len)
{
return NULL;
}
void eap_proxy_sm_abort(struct eap_proxy_sm *sm)
{
}