mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
moving VAS to HF command category. Added missing Makefile and CMakefile
This commit is contained in:
parent
f16537ea8e
commit
08958d36ef
8 changed files with 18 additions and 15 deletions
|
@ -5,6 +5,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
|
||||||
## [unreleased][unreleased]
|
## [unreleased][unreleased]
|
||||||
- Added support for Apple Wallet NFC Passes with the Value Added Services protocol implementation (@gm3197)
|
- Added support for Apple Wallet NFC Passes with the Value Added Services protocol implementation (@gm3197)
|
||||||
- Fix compiling liblua on iOS (@The-SamminAter)
|
- Fix compiling liblua on iOS (@The-SamminAter)
|
||||||
|
- Changed `hf_mf_luxeo_dump.lua` - now have list of keys to iterate (@iceman1001)
|
||||||
- Fixed the timeout of TCP connections (@wh201906)
|
- Fixed the timeout of TCP connections (@wh201906)
|
||||||
- Made the connection timeout configurable (@wh201906)
|
- Made the connection timeout configurable (@wh201906)
|
||||||
|
|
||||||
|
|
|
@ -298,6 +298,7 @@ set (TARGET_SOURCES
|
||||||
${PM3_ROOT}/client/src/cmdhftexkom.c
|
${PM3_ROOT}/client/src/cmdhftexkom.c
|
||||||
${PM3_ROOT}/client/src/cmdhfthinfilm.c
|
${PM3_ROOT}/client/src/cmdhfthinfilm.c
|
||||||
${PM3_ROOT}/client/src/cmdhftopaz.c
|
${PM3_ROOT}/client/src/cmdhftopaz.c
|
||||||
|
${PM3_ROOT}/client/src/cmdhfvas.c
|
||||||
${PM3_ROOT}/client/src/cmdhfwaveshare.c
|
${PM3_ROOT}/client/src/cmdhfwaveshare.c
|
||||||
${PM3_ROOT}/client/src/cmdhfxerox.c
|
${PM3_ROOT}/client/src/cmdhfxerox.c
|
||||||
${PM3_ROOT}/client/src/cmdhw.c
|
${PM3_ROOT}/client/src/cmdhw.c
|
||||||
|
@ -337,7 +338,6 @@ set (TARGET_SOURCES
|
||||||
${PM3_ROOT}/client/src/cmdlfzx8211.c
|
${PM3_ROOT}/client/src/cmdlfzx8211.c
|
||||||
${PM3_ROOT}/client/src/cmdmain.c
|
${PM3_ROOT}/client/src/cmdmain.c
|
||||||
${PM3_ROOT}/client/src/cmdnfc.c
|
${PM3_ROOT}/client/src/cmdnfc.c
|
||||||
${PM3_ROOT}/client/src/cmdvas.c
|
|
||||||
${PM3_ROOT}/client/src/cmdparser.c
|
${PM3_ROOT}/client/src/cmdparser.c
|
||||||
${PM3_ROOT}/client/src/cmdpiv.c
|
${PM3_ROOT}/client/src/cmdpiv.c
|
||||||
${PM3_ROOT}/client/src/cmdscript.c
|
${PM3_ROOT}/client/src/cmdscript.c
|
||||||
|
|
|
@ -597,6 +597,7 @@ SRCS = mifare/aiddesfire.c \
|
||||||
cmdhfthinfilm.c \
|
cmdhfthinfilm.c \
|
||||||
cmdhftopaz.c \
|
cmdhftopaz.c \
|
||||||
cmdhftexkom.c \
|
cmdhftexkom.c \
|
||||||
|
cmdhfvas.c \
|
||||||
cmdhfwaveshare.c \
|
cmdhfwaveshare.c \
|
||||||
cmdhfxerox.c \
|
cmdhfxerox.c \
|
||||||
cmdhw.c \
|
cmdhw.c \
|
||||||
|
|
|
@ -298,6 +298,7 @@ set (TARGET_SOURCES
|
||||||
${PM3_ROOT}/client/src/cmdhftexkom.c
|
${PM3_ROOT}/client/src/cmdhftexkom.c
|
||||||
${PM3_ROOT}/client/src/cmdhfthinfilm.c
|
${PM3_ROOT}/client/src/cmdhfthinfilm.c
|
||||||
${PM3_ROOT}/client/src/cmdhftopaz.c
|
${PM3_ROOT}/client/src/cmdhftopaz.c
|
||||||
|
${PM3_ROOT}/client/src/cmdhfvas.c
|
||||||
${PM3_ROOT}/client/src/cmdhfwaveshare.c
|
${PM3_ROOT}/client/src/cmdhfwaveshare.c
|
||||||
${PM3_ROOT}/client/src/cmdhfxerox.c
|
${PM3_ROOT}/client/src/cmdhfxerox.c
|
||||||
${PM3_ROOT}/client/src/cmdhw.c
|
${PM3_ROOT}/client/src/cmdhw.c
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#include "cmdhftopaz.h" // TOPAZ
|
#include "cmdhftopaz.h" // TOPAZ
|
||||||
#include "cmdhffelica.h" // ISO18092 / FeliCa
|
#include "cmdhffelica.h" // ISO18092 / FeliCa
|
||||||
#include "cmdhffido.h" // FIDO authenticators
|
#include "cmdhffido.h" // FIDO authenticators
|
||||||
|
#include "cmdhffudan.h" // Fudan cards
|
||||||
#include "cmdhfgallagher.h" // Gallagher DESFire cards
|
#include "cmdhfgallagher.h" // Gallagher DESFire cards
|
||||||
#include "cmdhfksx6924.h" // KS X 6924
|
#include "cmdhfksx6924.h" // KS X 6924
|
||||||
#include "cmdhfcipurse.h" // CIPURSE transport cards
|
#include "cmdhfcipurse.h" // CIPURSE transport cards
|
||||||
|
@ -46,11 +47,11 @@
|
||||||
#include "cmdhfcryptorf.h" // CryptoRF
|
#include "cmdhfcryptorf.h" // CryptoRF
|
||||||
#include "cmdhfseos.h" // SEOS
|
#include "cmdhfseos.h" // SEOS
|
||||||
#include "cmdhfst25ta.h" // ST25TA
|
#include "cmdhfst25ta.h" // ST25TA
|
||||||
#include "cmdhfwaveshare.h" // Waveshare
|
|
||||||
#include "cmdhftexkom.h" // Texkom
|
|
||||||
#include "cmdhfxerox.h" // Xerox
|
|
||||||
#include "cmdhffudan.h" // Fudan cards
|
|
||||||
#include "cmdhftesla.h" // Tesla
|
#include "cmdhftesla.h" // Tesla
|
||||||
|
#include "cmdhftexkom.h" // Texkom
|
||||||
|
#include "cmdhfvas.h" // Value added services
|
||||||
|
#include "cmdhfwaveshare.h" // Waveshare
|
||||||
|
#include "cmdhfxerox.h" // Xerox
|
||||||
#include "cmdtrace.h" // trace list
|
#include "cmdtrace.h" // trace list
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
#include "proxgui.h"
|
#include "proxgui.h"
|
||||||
|
@ -498,8 +499,9 @@ static command_t CommandTable[] = {
|
||||||
{"texkom", CmdHFTexkom, AlwaysAvailable, "{ Texkom RFIDs... }"},
|
{"texkom", CmdHFTexkom, AlwaysAvailable, "{ Texkom RFIDs... }"},
|
||||||
{"thinfilm", CmdHFThinfilm, AlwaysAvailable, "{ Thinfilm RFIDs... }"},
|
{"thinfilm", CmdHFThinfilm, AlwaysAvailable, "{ Thinfilm RFIDs... }"},
|
||||||
{"topaz", CmdHFTopaz, AlwaysAvailable, "{ TOPAZ (NFC Type 1) RFIDs... }"},
|
{"topaz", CmdHFTopaz, AlwaysAvailable, "{ TOPAZ (NFC Type 1) RFIDs... }"},
|
||||||
{"xerox", CmdHFXerox, AlwaysAvailable, "{ Fuji/Xerox cartridge RFIDs... }"},
|
{"vas", CmdHFVAS, AlwaysAvailable, "{ Apple Value Added Service }"},
|
||||||
{"waveshare", CmdHFWaveshare, AlwaysAvailable, "{ Waveshare NFC ePaper... }"},
|
{"waveshare", CmdHFWaveshare, AlwaysAvailable, "{ Waveshare NFC ePaper... }"},
|
||||||
|
{"xerox", CmdHFXerox, AlwaysAvailable, "{ Fuji/Xerox cartridge RFIDs... }"},
|
||||||
{"-----------", CmdHelp, AlwaysAvailable, "--------------------- " _CYAN_("General") " ---------------------"},
|
{"-----------", CmdHelp, AlwaysAvailable, "--------------------- " _CYAN_("General") " ---------------------"},
|
||||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||||
{"list", CmdHFList, AlwaysAvailable, "List protocol data in trace buffer"},
|
{"list", CmdHFList, AlwaysAvailable, "List protocol data in trace buffer"},
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
// An implementation of the Value Added Service protocol
|
// An implementation of the Value Added Service protocol
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "cmdvas.h"
|
#include "cmdhfvas.h"
|
||||||
#include "cliparser.h"
|
#include "cliparser.h"
|
||||||
#include "cmdparser.h"
|
#include "cmdparser.h"
|
||||||
#include "comms.h"
|
#include "comms.h"
|
||||||
|
@ -561,14 +561,14 @@ static int CmdHelp(const char *Cmd);
|
||||||
|
|
||||||
static command_t CommandTable[] = {
|
static command_t CommandTable[] = {
|
||||||
{"--------", CmdHelp, AlwaysAvailable, "----------- " _CYAN_("Value Added Service") " -----------"},
|
{"--------", CmdHelp, AlwaysAvailable, "----------- " _CYAN_("Value Added Service") " -----------"},
|
||||||
|
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||||
|
{"--------", CmdHelp, AlwaysAvailable, "----------------- " _CYAN_("General") " -----------------"},
|
||||||
{"reader", CmdVASReader, IfPm3Iso14443a, "Read and decrypt VAS message"},
|
{"reader", CmdVASReader, IfPm3Iso14443a, "Read and decrypt VAS message"},
|
||||||
{"decrypt", CmdVASDecrypt, AlwaysAvailable, "Decrypt a previously captured VAS cryptogram"},
|
{"decrypt", CmdVASDecrypt, AlwaysAvailable, "Decrypt a previously captured VAS cryptogram"},
|
||||||
{"--------", CmdHelp, AlwaysAvailable, "----------------- " _CYAN_("General") " -----------------"},
|
|
||||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
|
||||||
{NULL, NULL, NULL, NULL}
|
{NULL, NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
int CmdVAS(const char *Cmd) {
|
int CmdHFVAS(const char *Cmd) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
return CmdsParse(CommandTable, Cmd);
|
return CmdsParse(CommandTable, Cmd);
|
||||||
};
|
};
|
|
@ -16,11 +16,11 @@
|
||||||
// An implementation of the Value Added Service protocol
|
// An implementation of the Value Added Service protocol
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#ifndef CMDVAS_H__
|
#ifndef CMDHFVAS_H__
|
||||||
#define CMDVAS_H__
|
#define CMDHFVAS_H__
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
int CmdVAS(const char *Cmd);
|
int CmdHFVAS(const char *Cmd);
|
||||||
|
|
||||||
#endif
|
#endif
|
|
@ -28,7 +28,6 @@
|
||||||
#include "cmdhfst25ta.h"
|
#include "cmdhfst25ta.h"
|
||||||
#include "cmdhfthinfilm.h"
|
#include "cmdhfthinfilm.h"
|
||||||
#include "cmdhftopaz.h"
|
#include "cmdhftopaz.h"
|
||||||
#include "cmdvas.h"
|
|
||||||
#include "cmdnfc.h"
|
#include "cmdnfc.h"
|
||||||
#include "fileutils.h"
|
#include "fileutils.h"
|
||||||
#include "mifare/mifaredefault.h"
|
#include "mifare/mifaredefault.h"
|
||||||
|
@ -422,7 +421,6 @@ static command_t CommandTable[] = {
|
||||||
// {"type5", CmdNFCType5, AlwaysAvailable, "{ NFC Forum Tag Type 5... }"},
|
// {"type5", CmdNFCType5, AlwaysAvailable, "{ NFC Forum Tag Type 5... }"},
|
||||||
{"mf", CmdNFCMF, AlwaysAvailable, "{ NFC Type MIFARE Classic/Plus Tag... }"},
|
{"mf", CmdNFCMF, AlwaysAvailable, "{ NFC Type MIFARE Classic/Plus Tag... }"},
|
||||||
{"barcode", CmdNFCBarcode, AlwaysAvailable, "{ NFC Barcode Tag... }"},
|
{"barcode", CmdNFCBarcode, AlwaysAvailable, "{ NFC Barcode Tag... }"},
|
||||||
{"vas", CmdVAS, AlwaysAvailable, "{ Apple Value Added Service }"},
|
|
||||||
// {"--------", CmdHelp, AlwaysAvailable, "--------------------- " _CYAN_("NFC peer-to-peer") " ------------"},
|
// {"--------", CmdHelp, AlwaysAvailable, "--------------------- " _CYAN_("NFC peer-to-peer") " ------------"},
|
||||||
// {"isodep", CmdISODEP, AlwaysAvailable, "{ ISO-DEP protocol... }"},
|
// {"isodep", CmdISODEP, AlwaysAvailable, "{ ISO-DEP protocol... }"},
|
||||||
// {"llcp", CmdNFCLLCP, AlwaysAvailable, "{ Logical Link Control Protocol... }"},
|
// {"llcp", CmdNFCLLCP, AlwaysAvailable, "{ Logical Link Control Protocol... }"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue