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 files63
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14
Next files →

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

src/utils/base64.h

Text · 630 bytes
/*
 * Base64 encoding/decoding (RFC1341)
 * Copyright (c) 2005, Jouni Malinen <[email protected]>
 *
 * This software may be distributed under the terms of the BSD license.
 * See README for more details.
 */

#ifndef BASE64_H
#define BASE64_H

char * base64_encode(const void *src, size_t len, size_t *out_len);
char * base64_encode_no_lf(const void *src, size_t len, size_t *out_len);
unsigned char * base64_decode(const char *src, size_t len, size_t *out_len);
char * base64_url_encode(const void *src, size_t len, size_t *out_len);
unsigned char * base64_url_decode(const char *src, size_t len, size_t *out_len);

#endif /* BASE64_H */