mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
Begin cmd
This commit is contained in:
parent
a32b7b7272
commit
7028944ee0
1 changed files with 18 additions and 0 deletions
|
@ -1145,10 +1145,28 @@ static int CmdSmartBruteforceSFI(const char *Cmd) {
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int CmdRelay(const char *Cmd) {
|
||||||
|
CLIParserContext *ctx;
|
||||||
|
CLIParserInit(&ctx, "smart relay",
|
||||||
|
"Turn pm3 into pcsc reader and relay to host OS via vpcd",
|
||||||
|
"smart relay"
|
||||||
|
);
|
||||||
|
|
||||||
|
void *argtable[] = {
|
||||||
|
arg_param_begin,
|
||||||
|
arg_str1("p", "port", "<int>", "vpcd socket port (default: 35963)"),
|
||||||
|
arg_param_end
|
||||||
|
};
|
||||||
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
|
||||||
|
CLIParserFree(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
static command_t CommandTable[] = {
|
static command_t CommandTable[] = {
|
||||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||||
{"list", CmdSmartList, AlwaysAvailable, "List ISO 7816 history"},
|
{"list", CmdSmartList, AlwaysAvailable, "List ISO 7816 history"},
|
||||||
{"info", CmdSmartInfo, IfPm3Smartcard, "Tag information"},
|
{"info", CmdSmartInfo, IfPm3Smartcard, "Tag information"},
|
||||||
|
{"relay", CmdRelay, IfPm3Iso14443a, "Turn pm3 into pcsc reader and relay to host OS via vpcd"},
|
||||||
{"reader", CmdSmartReader, IfPm3Smartcard, "Act like an IS07816 reader"},
|
{"reader", CmdSmartReader, IfPm3Smartcard, "Act like an IS07816 reader"},
|
||||||
{"raw", CmdSmartRaw, IfPm3Smartcard, "Send raw hex data to tag"},
|
{"raw", CmdSmartRaw, IfPm3Smartcard, "Send raw hex data to tag"},
|
||||||
{"upgrade", CmdSmartUpgrade, AlwaysAvailable, "Upgrade sim module firmware"},
|
{"upgrade", CmdSmartUpgrade, AlwaysAvailable, "Upgrade sim module firmware"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue