Exploit databaseDownload repository ZIP
GH-4011eb01d0ae5fec33aab8dcdaddec4b
x41sec/cve-2021-34600
Sources for CVE-2021-34600
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files12
x41sec/cve-2021-34600Revision bde8e1eece2b
- ↑..Parent directory
- ansi.h
- at91sam7s512.h
- common.h
- config_gpio.h
- desfire.h
- hitag.h
- legic.h
- legic_prng.h
- mifare.h
- proxmark3.h
- smartcard.h
- usb_cmd.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/common.h
Text · 800 bytes//-----------------------------------------------------------------------------
// Hagen Fritsch - June 2010
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// Interlib Definitions
//-----------------------------------------------------------------------------
#ifndef COMMON_H__
#define COMMON_H__
typedef unsigned char byte_t;
#ifndef MIN
# define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef MAX
# define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
#ifndef ABS
# define ABS(a) (((a) < 0) ? -(a) : (a))
#endif
#define RAMFUNC __attribute((long_call, section(".ramfunc")))
#endif