mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 10:36:58 -07:00
Added to hf emv
commands: gpo
, readrec
, genac
, challenge
, intauth
(#671)
* move `hf emv search` to argtable * `hf emv select` * delete old help * `hf emv pse` and sketch for the other commands * `hf emv gpo` * `hf emv readrec` * `hf emv challenge` works * added `intauth` and `genac` commands. * added CDA transaction to `hf emv genac` * add terminal decision to `genac` * added changelog
This commit is contained in:
parent
b8a92318be
commit
f23565c38b
4 changed files with 455 additions and 297 deletions
|
@ -148,6 +148,10 @@ void CLIParserFree() {
|
|||
|
||||
// convertors
|
||||
int CLIParamHexToBuf(struct arg_str *argstr, uint8_t *data, int maxdatalen, int *datalen) {
|
||||
*datalen = 0;
|
||||
if (!strlen(argstr->sval[0]))
|
||||
return 0;
|
||||
|
||||
switch(param_gethex_to_eol(argstr->sval[0], 0, data, maxdatalen, datalen)) {
|
||||
case 1:
|
||||
printf("Parameter error: Invalid HEX value.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue