iceman1001
0740d14faa
chg: some unifiying return values
2019-05-15 10:24:06 +02:00
Philippe Teuwen
73b6fa7cbc
Simpler newfilenamemcopy
2019-04-29 22:40:10 +02:00
Philippe Teuwen
1dbcb712c3
safeFile*: accept when suffix is already provided
2019-04-28 20:42:57 +02:00
Philippe Teuwen
405f24522e
loadFile*: accept when suffix is already provided
2019-04-28 19:21:04 +02:00
Philippe Teuwen
c6172b4d9c
LoadEML: don't complain on the last \n
2019-04-28 16:47:50 +02:00
Iceman
f227041932
Merge pull request #172 from McEloff/hfmfu
...
UL/NTAG new dump file format. Added counters support, simulation
2019-04-25 16:10:03 +02:00
Philippe Teuwen
25048ccf2f
Fix segfault when loading a file
2019-04-24 00:53:25 +02:00
Eloff
66ee8dc09e
used predefined constants, common types moved to common header files
2019-04-23 21:14:20 +03:00
Eloff
a8c1fa7a3b
backward compatibility, on load converter for old mfu dump format
2019-04-23 17:07:20 +03:00
Eloff
4161779083
loops for counters output
2019-04-22 23:20:35 +03:00
Eloff
db3103b531
UL/NTAG new dump file format. Added counters support, simulation
2019-04-21 03:18:00 +03:00
Philippe Teuwen
97676d3210
comparison of integers of different signs [-Wsign-compare]
2019-04-13 23:38:34 +02:00
iceman1001
27003904ce
printandlogs..
2019-04-07 18:12:58 +02:00
iceman1001
0b455607a9
fsize can't be zero
2019-04-07 12:41:29 +02:00
iceman1001
34f4ee4902
whitespace
2019-03-26 20:22:12 +01:00
osboxes.org
9c2736d1eb
spaces
2019-03-14 12:30:32 +01:00
iceman1001
7d88c22aaf
chg: added limit check for loadfile
...
rename: 'lf hitag checkchallenges' -> 'lf hitag cc'
chg: 'lf hitag checkchallenges' - refactored, added helptext
2019-03-14 08:24:49 +01:00
iceman1001
e3afad8758
CHG: 'lf hitag sim' - now loads from BIN/EML/JSON. Also merged it with 'lf hitag simS', which is removed.
2019-03-13 20:16:11 +01:00
iceman1001
072e83bc49
chg: 'lf hitag reader' - now support json format
2019-03-13 17:50:10 +01:00
Philippe Teuwen
961d929f4d
changing {} style to match majority of previous style
2019-03-10 11:20:22 +01:00
Philippe Teuwen
da6cdf014b
Keep string syntax in color macros
2019-03-10 00:56:00 +01:00
Philippe Teuwen
0373696662
make style
2019-03-10 00:00:59 +01:00
Philippe Teuwen
0d9223a547
client: fix mix of spaces & tabs
2019-03-09 23:35:06 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
Philippe Teuwen
abddff513e
loadFile: fix double free
2019-03-08 19:49:12 +01:00
iceman1001
2b9eb401fa
fix: more checks
2019-02-24 23:54:36 +01:00
iceman1001
6d63b3fbed
fix: mem leaks.
2019-02-21 16:17:49 +01:00
iceman1001
58f35d50a6
chg: textual
2019-02-18 16:32:13 +01:00
iceman1001
1e98c4621d
chg: colors
2019-02-18 16:30:57 +01:00
iceman1001
20ccfb036c
chg: more colors
2019-02-18 13:12:25 +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
iceman1001
1ffddb2578
CHG: 'hf mfu dump' - simplify bin saving and added JSON dump format
2018-12-13 23:34:30 +01:00
iceman1001
259dbadbe9
chg: output unified
2018-12-02 10:05:31 +01:00
merlokk
9584074c00
fix memory error
2018-11-29 22:06:49 +02:00
merlokk
4dece3e30d
del line
2018-11-29 17:13:00 +02:00
merlokk
efabdde248
small fixes. done
2018-11-29 17:09:37 +02:00
merlokk
6baf579fe0
hf mf cload works
2018-11-29 16:56:57 +02:00
merlokk
955ced6c28
hf mf csave works
2018-11-29 16:05:57 +02:00
merlokk
0ffddd8470
raw load file
2018-11-29 13:21:38 +02:00
merlokk
04b436ce5e
del annoying comment
2018-11-27 19:44:03 +02:00
merlokk
cc6cd93ea7
save raw
2018-11-14 18:11:05 +02:00
Chris
25b07682dc
CHG: 'mem load' - adapted loading files to use new load function.
...
loading binary file can be called with NULL pointer, don't forget to free it.
2018-11-12 22:55:19 +01:00
Chris
6a21df3443
FIX: 'hf mf cload' - showing helptext instead of loading file.
...
Added support for easy loading of bin/eml files in this patch aswell.
2018-11-12 22:17:49 +01:00
Chris
5a95cee5ed
clean
2018-09-16 20:49:29 +02:00
iceman1001
0e7d8faf59
chg: 'hf mf csave'
...
chg: 'mem save'
chg: 'hf 15 dump' - no extra newline after last block in emlfile
2018-05-03 11:02:50 +02:00
iceman1001
b279d04c85
chg: moving around includes
2018-05-02 19:37:20 +02:00
iceman1001
b5545f4c35
chg: 'trace save' - now uses fileutils.c instead.
2018-03-20 08:23:54 +01:00
Brian Pow
a4fa0144eb
migrate PrintfAndLog() to PrintAndLogDevice()
2018-02-22 23:17:46 +08:00
Brian Pow
8f9c81ae81
Rename prnlog() to PrintfAndLog()
2018-02-13 00:12:50 +08:00
iceman1001
843f453491
fix: saveFileEML() does not follow blocksize. Thanks to @brainpow
...
ref
271dface40
2018-02-06 12:43:58 +01:00