File: hcxhash2cap.h

package info (click to toggle)
hcxtools 7.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,152 kB
  • sloc: ansic: 21,223; python: 144; makefile: 101; sh: 99
file content (28 lines) | stat: -rw-r--r-- 599 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#define ESSID_LEN_MAX		32
#define PMKID_LINE_LEN		255
#define JOHN_LINE_LEN		1024
#define PMKIDEAPOL_LINE_LEN	1024
#define PMKIDEAPOL_BUFFER_LEN	1024
#define EAPOL_AUTHLEN_MAX	256

#define HCXP_CAP		'c'
#define HCXP_PMKID_EAPOL	'1'
#define HCXP_PMKID		'2'
#define HCXP_HCCAPX		'3'
#define HCXP_HCCAP		'4'
#define HCXP_JOHN		'5'
#define HCXP_HELP		'h'
#define HCXP_VERSION		'v'

#ifdef __BYTE_ORDER__
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#define BIG_ENDIAN_HOST
#endif
#else
#ifdef __OpenBSD__
# include <endian.h>
# if BYTE_ORDER == BIG_ENDIAN
#   define BIG_ENDIAN_HOST
# endif
#endif
#endif