2019-07-17 01:18:45 +08:00
|
|
|
# Default standalone if no standalone specified
|
2020-04-24 23:54:12 +08:00
|
|
|
DEFAULT_STANDALONE=HF_MSDSAL
|
2020-04-25 00:20:37 +08:00
|
|
|
HELP_EXAMPLE_STANDALONE=LF_SAMYRUN
|
2019-07-17 01:18:45 +08:00
|
|
|
# (you can set explicitly STANDALONE= to disable standalone modes)
|
|
|
|
STANDALONE?=$(DEFAULT_STANDALONE)
|
2019-07-24 19:37:09 +08:00
|
|
|
STANDALONE_REQ_DEFS=
|
2019-07-17 01:18:45 +08:00
|
|
|
|
|
|
|
define KNOWN_STANDALONE_DEFINITIONS
|
|
|
|
+==========================================================+
|
|
|
|
| STANDALONE | DESCRIPTION |
|
|
|
|
+==========================================================+
|
2019-07-25 01:32:06 +08:00
|
|
|
| (empty) | No standalone mode |
|
2019-07-17 01:18:45 +08:00
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:11:27 +08:00
|
|
|
| LF_SKELETON | standalone mode skeleton |
|
2019-07-17 01:18:45 +08:00
|
|
|
| | - iceman |
|
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:20:37 +08:00
|
|
|
| LF_EM4100EMUL | Simulate predefined em4100 tags only |
|
|
|
|
| | |
|
|
|
|
+----------------------------------------------------------+
|
2020-05-11 21:58:16 +08:00
|
|
|
| LF_EM4100RSWB | Read/simulate/brute em4100 tags & |
|
|
|
|
| | clone it to T555x tags |
|
|
|
|
+----------------------------------------------------------+
|
2020-05-11 22:52:35 +08:00
|
|
|
| LF_EM4100RWC | Read/simulate em4100 tags & clone it |
|
|
|
|
| | to T555x tags |
|
|
|
|
+----------------------------------------------------------+
|
2019-07-17 01:18:45 +08:00
|
|
|
| LF_HIDBRUTE | HID corporate 1000 bruteforce |
|
|
|
|
| | - Federico dotta & Maurizio Agazzini |
|
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:20:37 +08:00
|
|
|
| LF_ICEHID | LF HID collector to flashmem |
|
|
|
|
| (RDV4 only) | |
|
2019-07-17 01:18:45 +08:00
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:20:37 +08:00
|
|
|
| LF_PROXBRUTE | HID ProxII bruteforce |
|
|
|
|
| | - Brad Antoniewicz |
|
2019-07-17 01:18:45 +08:00
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:20:37 +08:00
|
|
|
| LF_SAMYRUN | HID26 read/clone/sim |
|
|
|
|
| | - Samy Kamkar |
|
2019-07-17 01:18:45 +08:00
|
|
|
+----------------------------------------------------------+
|
2021-02-16 05:44:17 +08:00
|
|
|
| LF_THAREXDE | Simulate/read EM4x50 tags |
|
|
|
|
| (RDV4 only) | storing in flashmem |
|
|
|
|
+----------------------------------------------------------+
|
2020-03-22 01:03:16 +08:00
|
|
|
| HF_14ASNIFF | 14a sniff to flashmem |
|
|
|
|
| (RDV4 only) | |
|
|
|
|
+----------------------------------------------------------+
|
2020-09-04 05:13:41 +08:00
|
|
|
| HF_AVEFUL | Mifare ultralight read/simulation |
|
|
|
|
| | - Ave Ozkal |
|
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:20:37 +08:00
|
|
|
| HF_BOG | 14a sniff with ULC/ULEV1/NTAG auth |
|
|
|
|
| (RDV4 only) | storing in flashmem - Bogito |
|
2020-03-08 00:25:24 +08:00
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:20:37 +08:00
|
|
|
| HF_COLIN | Mifare ultra fast sniff/sim/clone |
|
|
|
|
| (RDV4 only) | - Colin Brigato |
|
2020-03-08 00:25:24 +08:00
|
|
|
+----------------------------------------------------------+
|
2021-03-05 17:58:52 +08:00
|
|
|
| HF_EMULDES | DESfire 14a simulation |
|
|
|
|
| | - Anze Jensterle |
|
|
|
|
+----------------------------------------------------------+
|
2020-07-14 21:47:47 +08:00
|
|
|
| HF_ICECLASS | Simulate HID iCLASS legacy ags |
|
|
|
|
| (RDV4 only) | storing in flashmem |
|
|
|
|
+----------------------------------------------------------+
|
2020-03-30 22:31:54 +08:00
|
|
|
| HF_LEGIC | Read/simulate Legic Prime tags |
|
|
|
|
| | storing in flashmem |
|
|
|
|
+----------------------------------------------------------+
|
2020-04-25 00:20:37 +08:00
|
|
|
| HF_MATTYRUN | Mifare sniff/clone |
|
|
|
|
| | - Matías A. Ré Medina |
|
|
|
|
+----------------------------------------------------------+
|
2020-04-23 14:48:31 +08:00
|
|
|
| HF_MSDSAL | Read and emulate MSD Visa cards |
|
2020-04-25 00:20:37 +08:00
|
|
|
| (default) | - Salvador Mendoza |
|
|
|
|
+----------------------------------------------------------+
|
2020-11-02 05:55:04 +08:00
|
|
|
| HF_TCPRST | IKEA Rothult read/sim/dump/emul |
|
|
|
|
| | - Nick Draffen |
|
|
|
|
+----------------------------------------------------------+
|
2020-11-02 06:56:25 +08:00
|
|
|
| HF_YOUNG | Mifare sniff/simulation |
|
|
|
|
| | - Craig Young |
|
|
|
|
+----------------------------------------------------------+
|
2019-07-17 01:18:45 +08:00
|
|
|
endef
|
|
|
|
|
2021-02-16 05:44:17 +08:00
|
|
|
STANDALONE_MODES := LF_SKELETON LF_EM4100EMUL LF_EM4100RSWB LF_EM4100RWC LF_HIDBRUTE LF_ICEHID LF_PROXBRUTE LF_SAMYRUN LF_THAREXDE
|
2021-03-05 17:58:52 +08:00
|
|
|
STANDALONE_MODES += HF_14ASNIFF HF_AVEFUL HF_BOG HF_COLIN HF_EMULDES HF_ICECLASS HF_LEGIC HF_MATTYRUN HF_MSDSAL HF_TCPRST HF_YOUNG
|
2019-07-24 19:37:09 +08:00
|
|
|
STANDALONE_MODES_REQ_SMARTCARD :=
|
2021-02-16 05:44:17 +08:00
|
|
|
STANDALONE_MODES_REQ_FLASH := LF_ICEHID LF_THAREXDE HF_14ASNIFF HF_BOG HF_COLIN HF_ICECLASS
|
2019-07-17 01:18:45 +08:00
|
|
|
ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES)),)
|
|
|
|
STANDALONE_PLATFORM_DEFS += -DWITH_STANDALONE_$(STANDALONE)
|
2019-07-24 19:37:09 +08:00
|
|
|
ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_SMARTCARD)),)
|
|
|
|
STANDALONE_REQ_DEFS += -DWITH_SMARTCARD
|
|
|
|
endif
|
|
|
|
ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_FLASH)),)
|
|
|
|
STANDALONE_REQ_DEFS += -DWITH_FLASH
|
|
|
|
endif
|
2019-07-17 01:18:45 +08:00
|
|
|
else ifneq ($(STANDALONE),)
|
|
|
|
$(error Invalid STANDALONE: $(STANDALONE). $(KNOWN_DEFINITIONS))
|
|
|
|
endif
|