Commit graph

156 commits

Author SHA1 Message Date
iceman1001 cea5b5214d chg: colors 2019-02-24 14:51:21 +01:00
iceman1001 6d63b3fbed fix: mem leaks. 2019-02-21 16:17:49 +01:00
iceman1001 91d6836a47 fix: mem leaks. 2019-02-21 15:34:31 +01:00
iceman1001 18db34ffb0 chg: use calloc 2019-01-30 20:18:50 +01:00
iceman1001 66c82d16b0 chg: calloc calls 2019-01-21 09:02:00 +01:00
iceman1001 0fb0c35308 CHG: 'mem load' - the possibility to upload default_iclass_keys.dic, default_keys.dic, default_pwd.dic to predefined flashmemory sections. These will be used in pwd / key checking algorithms on device.
CHG: 'script run read_pwd_mem.lua' - script now can print those uploaded dictionary files.

How to upload
pm3 --> mem load f default_iclass_keys i
pm3 --> mem load f default_keys m
pm3 --> mem load f default_pwd t

How to validate / view
PM3 -->scr run read_pwd_mem -o 237568 -k 8
pm3 -->scr run read_pwd_mem -o 241664 -k 6
pm3 -->scr run read_pwd_mem -o 245760 -k 4
2019-01-01 18:01:40 +01:00
Chris 3beb14a25c chg: 'hf iclass lookup' - its not an online command... 2018-11-25 14:35:47 +01:00
Chris 25292eab2e fix: more warnings. 2018-11-14 15:13:17 +01:00
merlokk 586cbd2137 hiclass 2018-11-14 11:33:45 +02:00
Chris d58786ed74 chg: 'hf iclass chk' - remove some printing 2018-11-05 22:30:46 +01:00
Chris 1d322686bb CHG: added possible SE credential identification text 2018-09-15 12:58:50 +02:00
Chris e536cb082f chg: removed warning 2018-07-04 13:08:59 +02:00
Chris dfa4f62ab6 chg: 'hf iclass chk' textual info 2018-07-01 11:56:08 +02:00
Chris 2b294912ee chg: 'hf iclass chk' - enabled credit/debit key selction
chg:  'hf iclass lookup'  - enabled credit/debit key selction
fix: first item in dictionary file now correct identified
chg: code cleanup
2018-06-30 22:47:07 +02:00
Chris cd3fc9242e chg: iclass output 2018-06-30 18:34:58 +02:00
iceman1001 939b727c42 chg: converting malloc calls -> calloc which zeros out the allocated memory 2018-05-03 19:42:16 +02:00
iceman1001 53feba2bbe fix: 'hf iclass eload 'should increase data array to upload... 2018-05-03 11:00:15 +02:00
iceman1001 baf6beec2e chg: unified download 2018-05-02 19:51:10 +02:00
iceman1001 207fa2b574 add: potential fix for OSX uses, by @piwi
chg:  adapting fix to support iceman forks extended commands.
2018-05-02 08:11:29 +02:00
iceman1001 9577dad1aa chg: 'hf iclass reader - getfrombigbuf has now timeout 2018-04-27 16:48:59 +02:00
iceman1001 c41013d394 chg: printandlogex now deals with string which has inital newline char. 2018-04-27 11:22:30 +02:00
iceman1001 71ce6e07ee CHG: moved trace commands into its own category (from hf)
'trace list'

there will also the load / save of trace buffer come.

For backwardfunctionality the old commands still works.
2018-03-18 18:00:41 +01:00
iceman1001 24482211ad chg: the dot progress is not logged anymore. Force fflush afterwards. 2018-03-05 20:07:29 +01:00
iceman1001 40cc0a402b chG: adjust some "." progress dots, that shouldn't use NORMAL.. 2018-03-01 14:10:52 +01:00
Brian Pow a4fa0144eb migrate PrintfAndLog() to PrintAndLogDevice() 2018-02-22 23:17:46 +08:00
Brian Pow 78647f4502 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:48 +08:00
Brian Pow 8f9c81ae81 Rename prnlog() to PrintfAndLog() 2018-02-13 00:12:50 +08:00
Brian Pow b1d414c680 CHG: replace 'samples:' with 'Examples:', unify some usage text 2018-02-09 22:56:16 +08:00
iceman1001 39de74cb78 fix: wrong block 2018-02-08 12:39:35 +01:00
iceman1001 220614ca10 fix: 'hf iclass reader' - drop field when finished. 2018-02-08 12:34:13 +01:00
iceman1001 b31afcfc31 fix: 'hf iclass reader' - missing CC 2018-02-08 12:18:40 +01:00
iceman1001 2847a147b5 fix: 'hf iclass dump', missing CC 2018-02-08 12:15:47 +01:00
iceman1001 f6d314d09e chg: iclass dump textual.. 2018-02-08 11:03:11 +01:00
iceman1001 28e73824e1 chg: 'hf iclass dump' - more texts 2018-02-08 10:49:44 +01:00
iceman1001 30e9395590 fix: 'hf iclass lookup' - exit when failed to load dictionary file 2018-02-08 10:32:14 +01:00
iceman1001 7bf6e0d089 fix: 'hf iclass chk' - checking keys outside the first chunk of 128. 2018-02-08 09:30:34 +01:00
iceman1001 120abf10bc chg: tests with ansi-colors 2018-02-07 14:08:57 +01:00
iceman1001 debf4e3327 chg: 'analyse hid' moved to 'hf iclass permute' un/permute function is moved. 2018-02-04 17:19:08 +01:00
iceman1001 6605d92fbb chg: tried making the reselect more stable.
chg: 'hf iclass readblk'
chg: 'hf iclass writeblk'
chg: 'hf iclass dump'
chg: 'hf iclass clone'
        all commands now has 'v'  verbose parameter for more detailed output.
2018-02-04 12:25:55 +01:00
iceman1001 6a9ddf6e69 chg 'hf iclass chk' - increased timeout, switch off antenna before each run in order to reset card, three retires. all this make it more stable. 2018-02-04 10:20:38 +01:00
iceman1001 dc25f9212f FIX: 'hf iclass sim 2'
FIX: 'hf iclass sim 4'
FIX: 'hf iclass loclass' - this fixes the bug where loclass assumes the epurse value is all zeros, while it now should save the epurse value during the simulation if it is updated/read.

I assume a empty valid epurse, while an all zero epurse is too much easy to detect as a anomaly.
2018-02-04 00:52:29 +01:00
iceman1001 ccfdd60c09 chg: textual 2018-02-01 21:39:34 +01:00
iceman1001 cfb3654f7b chg: textual 2018-02-01 18:24:38 +01:00
iceman1001 59a461fd2b chg: 'hf iclass sim' ..double 2018-02-01 18:01:44 +01:00
iceman1001 8380743a42 chg: 'hf iclass sim' textual 2018-02-01 17:58:50 +01:00
iceman1001 111b55d850 chg: 'hf iclass sim' textual 2018-02-01 17:53:28 +01:00
iceman1001 e0373212a3 chg: 'hf iclass sim' - sim2, 4 get less default output, set DBG 4 for verbose 2018-02-01 16:10:24 +01:00
iceman1001 3248bb5a56 chg: 'hf iclass sim' - get ride of the "waiting for response" message.
-- sim 2, 4  - cancel by keypress.
2018-02-01 15:55:12 +01:00
noncetonic a52024ef3d
Updates command usage
Updates `usage_hf_iclass_lookup` to match u/U being used for CSN vs c/C.
Updates `usage_hf_iclass_sim` to include "sim 4"
Updates `usage_hf_iclass_writeblock` to remove sample with invalid `n 0` option
2018-02-01 06:41:44 -08:00
iceman1001 50e4d60853 chg: 'hf iclass lookup' adjusted helptext and parameters 2018-01-31 16:50:41 +01:00