mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
reader - textual
This commit is contained in:
parent
51e27d1a48
commit
ae853ede79
20 changed files with 80 additions and 0 deletions
|
@ -313,6 +313,10 @@ static int CmdAWIDReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 12000);
|
lf_read(false, 12000);
|
||||||
demodAWID(!cm);
|
demodAWID(!cm);
|
||||||
|
|
|
@ -113,6 +113,10 @@ static int CmdDestronReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 16000);
|
lf_read(false, 16000);
|
||||||
demodDestron(!cm);
|
demodDestron(!cm);
|
||||||
|
|
|
@ -154,6 +154,10 @@ static int CmdGallagherReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 4096 * 2 + 20);
|
lf_read(false, 4096 * 2 + 20);
|
||||||
demodGallagher(!cm);
|
demodGallagher(!cm);
|
||||||
|
|
|
@ -147,6 +147,10 @@ static int CmdGuardReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 10000);
|
lf_read(false, 10000);
|
||||||
demodGuard(!cm);
|
demodGuard(!cm);
|
||||||
|
|
|
@ -182,6 +182,10 @@ static int CmdHIDReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 16000);
|
lf_read(false, 16000);
|
||||||
demodHID(!cm);
|
demodHID(!cm);
|
||||||
|
|
|
@ -117,6 +117,10 @@ static int CmdIdteckReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 5000);
|
lf_read(false, 5000);
|
||||||
demodIdteck(!cm);
|
demodIdteck(!cm);
|
||||||
|
|
|
@ -520,6 +520,10 @@ static int CmdIndalaReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 4);
|
bool cm = arg_get_lit(ctx, 4);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 30000);
|
lf_read(false, 30000);
|
||||||
demodIndalaEx(clk, invert, max_err, !cm);
|
demodIndalaEx(clk, invert, max_err, !cm);
|
||||||
|
|
|
@ -151,6 +151,10 @@ static int CmdJablotronReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 16000);
|
lf_read(false, 16000);
|
||||||
demodJablotron(!cm);
|
demodJablotron(!cm);
|
||||||
|
|
|
@ -206,6 +206,10 @@ static int CmdKeriReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 10000);
|
lf_read(false, 10000);
|
||||||
demodKeri(!cm);
|
demodKeri(!cm);
|
||||||
|
|
|
@ -148,6 +148,10 @@ static int CmdMotorolaReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
// Motorola Flexpass seem to work at 74 kHz
|
// Motorola Flexpass seem to work at 74 kHz
|
||||||
// and take about 4400 samples to befor modulating
|
// and take about 4400 samples to befor modulating
|
||||||
sample_config sc = {
|
sample_config sc = {
|
||||||
|
|
|
@ -248,6 +248,10 @@ static int CmdNexWatchReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 20000);
|
lf_read(false, 20000);
|
||||||
demodNexWatch(!cm);
|
demodNexWatch(!cm);
|
||||||
|
|
|
@ -134,6 +134,10 @@ static int CmdNoralsyReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 8000);
|
lf_read(false, 8000);
|
||||||
demodNoralsy(!cm);
|
demodNoralsy(!cm);
|
||||||
|
|
|
@ -189,6 +189,10 @@ static int CmdPacReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 4096 * 2 + 20);
|
lf_read(false, 4096 * 2 + 20);
|
||||||
demodPac(!cm);
|
demodPac(!cm);
|
||||||
|
|
|
@ -201,6 +201,10 @@ static int CmdParadoxReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 10000);
|
lf_read(false, 10000);
|
||||||
demodParadox(!cm);
|
demodParadox(!cm);
|
||||||
|
|
|
@ -144,6 +144,10 @@ static int CmdPrescoReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 12000);
|
lf_read(false, 12000);
|
||||||
demodPresco(!cm);
|
demodPresco(!cm);
|
||||||
|
|
|
@ -209,6 +209,10 @@ static int CmdPyramidReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 15000);
|
lf_read(false, 15000);
|
||||||
demodPyramid(true);
|
demodPyramid(true);
|
||||||
|
|
|
@ -145,6 +145,10 @@ static int CmdSecurakeyReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 8000);
|
lf_read(false, 8000);
|
||||||
demodSecurakey(!cm);
|
demodSecurakey(!cm);
|
||||||
|
|
|
@ -304,6 +304,10 @@ static int CmdTIReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandNG(CMD_LF_TI_READ, NULL, 0);
|
SendCommandNG(CMD_LF_TI_READ, NULL, 0);
|
||||||
|
|
|
@ -87,6 +87,10 @@ static int CmdVikingReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 10000);
|
lf_read(false, 10000);
|
||||||
demodViking(true);
|
demodViking(true);
|
||||||
|
|
|
@ -165,6 +165,10 @@ static int CmdVisa2kReader(const char *Cmd) {
|
||||||
bool cm = arg_get_lit(ctx, 1);
|
bool cm = arg_get_lit(ctx, 1);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (cm) {
|
||||||
|
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
lf_read(false, 20000);
|
lf_read(false, 20000);
|
||||||
demodVisa2k(!cm);
|
demodVisa2k(!cm);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue