Exploit database

GH-25fc1985744fec336f986521e61a3fb7

chertogun/cve-2020-27301-hostapd

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-27301

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files34
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/eap_common/chap.h

Text · 388 bytes
/*
 * CHAP-MD5 (RFC 1994)
 * Copyright (c) 2007-2009, Jouni Malinen <[email protected]>
 *
 * This software may be distributed under the terms of the BSD license.
 * See README for more details.
 */

#ifndef CHAP_H
#define CHAP_H

#define CHAP_MD5_LEN 16

int chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge,
	     size_t challenge_len, u8 *response);

#endif /* CHAP_H */