Exploit databaseDownload repository ZIP
GH-e0cfbe4175da74c98d9edc01cb3e9d11
keowu/sjcam
Sources for CVE-2026-52656
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files28
keowu/sjcamRevision cec1fabc54a5
- ↑..Parent directory
- Makefile
- chap.c
- chap.h
- eap_common.c
- eap_common.h
- eap_defs.h
- eap_fast_common.c
- eap_fast_common.h
- eap_gpsk_common.c
- eap_gpsk_common.h
- eap_ikev2_common.c
- eap_ikev2_common.h
- eap_pax_common.c
- eap_pax_common.h
- eap_peap_common.c
- eap_peap_common.h
- eap_psk_common.c
- eap_psk_common.h
- eap_sake_common.c
- eap_sake_common.h
- eap_sim_common.c
- eap_sim_common.h
- eap_tlv_common.h
- eap_ttls.h
- eap_wsc_common.c
- eap_wsc_common.h
- ikev2_common.c
- ikev2_common.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Lelouch/modified_lelouch_wpa_supplicant_source/src/eap_common/chap.c
C · 821 bytes/*
* CHAP-MD5 (RFC 1994)
* Copyright (c) 2007-2009, Jouni Malinen <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this software may be distributed under the terms of BSD
* license.
*
* See README and COPYING for more details.
*/
#include "includes.h"
#include "common.h"
#include "crypto/crypto.h"
#include "chap.h"
int chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge,
size_t challenge_len, u8 *response)
{
const u8 *addr[3];
size_t len[3];
addr[0] = &id;
len[0] = 1;
addr[1] = secret;
len[1] = secret_len;
addr[2] = challenge;
len[2] = challenge_len;
return md5_vector(3, addr, len, response);
}