This commit is contained in:
iceman1001 2020-10-07 01:29:00 +02:00
parent 2e670d7db4
commit eb05cadb1c
5 changed files with 20039 additions and 20042 deletions

View file

@ -257,15 +257,15 @@ static int CmdHIDSim(const char *Cmd) {
static int CmdHIDClone(const char *Cmd) {
int idlen = 0;
uint8_t id[10] = {0};
uint32_t hi2 = 0, hi = 0, lo = 0;
uint32_t i = 0;
uint32_t hi2 = 0, hi = 0, lo = 0, i = 0;
CLIParserContext *ctx;
CLIParserInit(&ctx, "lf hid clone",
"Clone HID to T55x7. Tag must be on antenna!",
"lf hid clone 2006ec0c86\n"
"lf hid clone -l 2006ec0c86"
"lf hid clone 2006ec0c86 -> HID 10301 26 bit\n"
"lf hid clone 2e0ec00c87 -> HID Corporate 35 bit\n"
"lf hid clone -l 01f0760643c3 -> HID P10001 40 bit\n"
"lf hid clone -l 01400076000c86 -> HID Corporate 48 bit"
);
void *argtable[] = {
@ -275,11 +275,8 @@ static int CmdHIDClone(const char *Cmd) {
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, false);
bool long_id = arg_get_lit(ctx, 1);
CLIGetHexWithReturn(ctx, 2, id, &idlen);
CLIParserFree(ctx);
uint8_t longid[1] = {0};

View file

@ -379,9 +379,9 @@ while true; do
if ! CheckExecute slow "lf T55 hid test" "$CLIENTBIN -c 'data load traces/lf_ATA5577_hid.pm3; lf search 1'" "HID Prox ID found"; then break; fi
if ! CheckExecute slow "lf T55 hid test2" "$CLIENTBIN -c 'data load traces/lf_ATA5577_hid.pm3; lf hid demod'" \
"HID H10301 26-bit; FC: 118 CN: 1603"; then break; fi
if ! CheckExecute slow "lf T55 hid_84 test" "$CLIENTBIN -c 'data load traces/lf_ATA5577_hid_84.pm3; lf search 1'" "HID Prox ID found"; then break; fi
if ! CheckExecute slow "lf T55 hid_84 test2" "$CLIENTBIN -c 'data load traces/lf_ATA5577_hid_84.pm3; lf hid demod'" \
"HID Prox - 9e000000000022006ec0c86 (1603)"; then break; fi
if ! CheckExecute slow "lf T55 hid_48 test" "$CLIENTBIN -c 'data load traces/lf_ATA5577_hid_48.pm3; lf search 1'" "HID Prox ID found"; then break; fi
if ! CheckExecute slow "lf T55 hid_48 test2" "$CLIENTBIN -c 'data load traces/lf_ATA5577_hid_48.pm3; lf hid demod'" \
"HID Corporate 1000 48-bit"; then break; fi
if ! CheckExecute slow "lf T55 indala_hedem test" "$CLIENTBIN -c 'data load traces/lf_ATA5577_indala_hedem.pm3; lf search 1'" "Indala ID found"; then break; fi
if ! CheckExecute slow "lf T55 indala_hedem test2" "$CLIENTBIN -c 'data load traces/lf_ATA5577_indala_hedem.pm3; lf indala demod'" \
"Heden-2L \| 888"; then break; fi

View file

@ -2,120 +2,120 @@ These traces have been generated with a T5577:
lf awid clone 26 224 1337
lf read s 10000
data save f lf_t5577_awid_26
data save f lf_ATA5577_awid_26
lf awid clone 50 2001 13371337
lf read s 10000
data save f lf_t5577_awid_50
data save f lf_ATA5577_awid_50
lf em 410x_write 0F0368568B 1
lf read s 10000
data save f lf_t5577_em410x
data save f lf_ATA5577_em410x
lf fdx clone c 999 n 112233 s
lf read s 10000
data save f lf_t5577_fdx_animal
data save f lf_ATA5577_fdx_animal
lf fdx clone c 999 n 112233 e 16a
lf read s 10000
data save f lf_t5577_fdx_extended
data save f lf_ATA5577_fdx_extended
lf gallagher clone b 0FFD5461A9DA1346B2D1AC32
lf read s 10000
data save f lf_t5577_gallagher
data save f lf_ATA5577_gallagher
lf gproxii clone 26 123 11223
lf read s 10000
data save f lf_t5577_gproxii
data save f lf_ATA5577_gproxii
lf hid clone 2006ec0c86
lf read s 10000
data save f lf_t5577_hid
data save f lf_ATA5577_hid
lf hid clone -l 2006ec0c86
lf hid clone -l 01400076000c86
lf read s 20000
data save f lf_t5577_hid_84
data save f lf_ATA5577_hid_48
lf indala clone --heden 888
lf read s 10000
data save f lf_t5577_indala_hedem
data save f lf_ATA5577_indala_hedem
lf indala clone --fc 123 --cn 1337
lf read s 10000
data save f lf_t5577_indala
data save f lf_ATA5577_indala
lf indala clone -l -r 80000001b23523a6c2e31eba3cbee4afb3c6ad1fcf649393928c14e5
lf read s 10000
data save f lf_t5577_indala_224
data save f lf_ATA5577_indala_224
lf io clone 01 101 1337
lf read s 10000
data save f lf_t5577_io
data save f lf_ATA5577_io
lf jablotron clone 112233
lf read s 16000
data save f lf_t5577_jablotron
data save f lf_ATA5577_jablotron
lf keri clone --id 112233
lf read s 10000
data save f lf_t5577_keri
data save f lf_ATA5577_keri
lf keri clone -t i --fc 6 --id 12345
lf read s 10000
data save f lf_t5577_keri_internalid
data save f lf_ATA5577_keri_internalid
lf keri clone -t m --fc 6 --id 12345
lf read s 10000
data save f lf_t5577_keri_msid
data save f lf_ATA5577_keri_msid
lf motorola clone a0000000a0002021
lf read s 10000
data save f lf_t5577_motorola
data save f lf_ATA5577_motorola
lf nedap clone s 1 c 123 i 12345
lf read s 16000
data save f lf_t5577_nedap
data save f lf_ATA5577_nedap
lf nexwatch clone r 5600000000213C9F8F150C
lf read s 10000
data save f lf_t5577_nexwatch
data save f lf_ATA5577_nexwatch
lf nexwatch clone c 521512301 m 1 n
lf read s 10000
data save f lf_t5577_nexwatch_nexkey
data save f lf_ATA5577_nexwatch_nexkey
lf nexwatch clone c 521512301 m 1 q
lf read s 10000
data save f lf_t5577_nexwatch_quadrakey
data save f lf_ATA5577_nexwatch_quadrakey
lf noralsy clone 112233
lf read s 10000
data save f lf_t5577_noralsy
data save f lf_ATA5577_noralsy
lf pac clone c CD4F5552
lf read s 10000
data save f lf_t5577_pac
data save f lf_ATA5577_pac
lf paradox clone b 0f55555695596a6a9999a59a
lf read s 10000
data save f lf_t5577_paradox
data save f lf_ATA5577_paradox
lf presco clone d 123456789
lf read s 12000
data save f lf_t5577_presco
data save f lf_ATA5577_presco
lf pyramid clone 123 11223
lf read s 10000
data save f lf_t5577_pyramid
data save f lf_ATA5577_pyramid
lf securakey clone b 7FCB400001ADEA5344300000
lf read s 10000
data save f lf_t5577_securakey
data save f lf_ATA5577_securakey
lf viking clone 1A337
lf read s 10000
data save f lf_t5577_viking
data save f lf_ATA5577_viking
lf visa2000 clone 112233
lf read s 10000
data save f lf_t5577_visa2000
data save f lf_ATA5577_visa2000

20000
traces/lf_ATA5577_hid_48.pm3 Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff