# Default standalone if no standalone specified DEFAULT_STANDALONE=LF_SAMYRUN HELP_EXAMPLE_STANDALONE=LF_SAMYRUN # (you can set explicitly STANDALONE= to disable standalone modes) STANDALONE?=$(DEFAULT_STANDALONE) STANDALONE_REQ_DEFS= define KNOWN_STANDALONE_DEFINITIONS +==========================================================+ | STANDALONE | DESCRIPTION | +==========================================================+ | (empty) | No standalone mode | +----------------------------------------------------------+ | LF_SKELETON | standalone mode skeleton | | | - iceman | +----------------------------------------------------------+ | LF_EM4100EMUL | Simulate predefined em4100 tags only | | | | +----------------------------------------------------------+ | LF_EM4100RSWB | Read/simulate/brute em4100 tags & | | | clone it to T555x tags | +----------------------------------------------------------+ | LF_EM4100RWC | Read/simulate em4100 tags & clone it | | | to T555x tags | +----------------------------------------------------------+ | LF_HIDBRUTE | HID corporate 1000 bruteforce | | | - Federico dotta & Maurizio Agazzini | +----------------------------------------------------------+ | LF_HIDFCBRUTE | HID Facility Code bruteforce | | (RDV4 only) | | +----------------------------------------------------------+ | LF_ICEHID | LF HID collector to flashmem | | (RDV4 only) | | +----------------------------------------------------------+ | LF_NEXID | LF Nexwatch collector to flashmem | | (RDV4 only) | | +----------------------------------------------------------+ | LF_PROXBRUTE | HID ProxII bruteforce | | | - Brad Antoniewicz | +----------------------------------------------------------+ | LF_SAMYRUN | HID26 read/clone/sim | | (default) | - Samy Kamkar | +----------------------------------------------------------+ | LF_THAREXDE | Simulate/read EM4x50 tags | | (RDV4 only) | storing in flashmem | +----------------------------------------------------------+ | HF_14ASNIFF | 14a sniff to flashmem | | (RDV4 only) | | +----------------------------------------------------------+ | HF_AVEFUL | Mifare ultralight read/simulation | | | - Ave Ozkal | +----------------------------------------------------------+ | HF_BOG | 14a sniff with ULC/ULEV1/NTAG auth | | (RDV4 only) | storing in flashmem - Bogito | +----------------------------------------------------------+ | HF_COLIN | Mifare ultra fast sniff/sim/clone | | (RDV4 only) | - Colin Brigato | +----------------------------------------------------------+ | HF_CRAFTBYTE | UID stealer - Emulates scanned 14a UID | | | - Anze Jensterle | +----------------------------------------------------------+ | HF_ICECLASS | Simulate HID iCLASS legacy ags | | (RDV4 only) | storing in flashmem | +----------------------------------------------------------+ | HF_LEGIC | Read/simulate Legic Prime tags | | | storing in flashmem | +----------------------------------------------------------+ | HF_MATTYRUN | Mifare sniff/clone | | | - Matías A. Ré Medina | +----------------------------------------------------------+ | HF_MFCSIM | Simulate Mifare Classic 1k card | | (RDV4 only) | storing in flashmem - Ray Lee | +----------------------------------------------------------+ | HF_MSDSAL | Read and emulate MSD Visa cards | | | - Salvador Mendoza | +----------------------------------------------------------+ | HF_REBLAY | 14A Relay over BT | | (RDV4 only) | - Salvador Mendoza | +----------------------------------------------------------+ | HF_TCPRST | IKEA Rothult read/sim/dump/emul | | | - Nick Draffen | +----------------------------------------------------------+ | HF_TMUDFORD | Read and emulate 15 tags | | | - Tim Mudford | +----------------------------------------------------------+ | HF_YOUNG | Mifare sniff/simulation | | | - Craig Young | +----------------------------------------------------------+ endef STANDALONE_MODES := LF_SKELETON LF_EM4100EMUL LF_EM4100RSWB LF_EM4100RWC LF_HIDBRUTE LF_HIDFCBRUTE LF_ICEHID LF_PROXBRUTE LF_SAMYRUN LF_THAREXDE LF_NEXID STANDALONE_MODES += HF_14ASNIFF HF_AVEFUL HF_BOG HF_COLIN HF_CRAFTBYTE HF_ICECLASS HF_LEGIC HF_MATTYRUN HF_MFCSIM HF_MSDSAL HF_TCPRST HF_TMUDFORD HF_YOUNG HF_REBLAY STANDALONE_MODES_REQ_BT := HF_REBLAY STANDALONE_MODES_REQ_SMARTCARD := STANDALONE_MODES_REQ_FLASH := LF_HIDFCBRUTE LF_ICEHID LF_NEXID LF_THAREXDE HF_14ASNIFF HF_BOG HF_COLIN HF_ICECLASS HF_MFCSIM ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES)),) STANDALONE_PLATFORM_DEFS += -DWITH_STANDALONE_$(STANDALONE) 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 ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_BT)),) STANDALONE_REQ_DEFS += -DWITH_FPC_USART_HOST endif else ifneq ($(STANDALONE),) $(error Invalid STANDALONE: $(STANDALONE). $(KNOWN_DEFINITIONS)) endif