Unknown
3f4b7a037a
add rewrite support for gen2 tags with W command
...
add rewrite support for gen2 tags with W command
2020-06-25 23:10:06 +02:00
Unknown
dd96571f88
no need to loop, only one block
2020-06-25 19:49:04 +02:00
Unknown
5a87f1f3db
Splitting block 0 writing and other block writing, not needed anymore
2020-06-25 19:29:38 +02:00
Adam Laurie
7b6ff73c4b
only test DirectWrite write if we need to. only write block 0 if specifically requested to.
2020-06-25 17:45:20 +02:00
Adam Laurie
e560689f60
restore original block count logic and add debuggers for block0
2020-06-25 17:44:20 +02:00
Adam Laurie
a28a537610
partial fix of nfc-mfclassic which only writes first sector of each block and not sector 1,2,3 unles 'unlocked' write - debuggers still in!
2020-06-25 17:43:19 +02:00
Ludovic Rousseau
c8692aa239
Fix compiler warning: no previous prototype
...
nfc-mfclassic.c:623:6: warning: no previous prototype for ‘is_directwrite’ [-Wmissing-prototypes]
bool is_directwrite(void)
^~~~~~~~~~~~~~
2020-05-22 09:51:14 +02:00
Ludovic Rousseau
91d7c5d32f
Fix compiler warning: old-style function definition
...
nfc-mfclassic.c:623:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
bool is_directwrite()
^~~~~~~~~~~~~~
nfc-mfclassic.c: In function ‘is_directwrite’:
nfc-mfclassic.c:623:6: warning: old-style function definition [-Wold-style-definition]
2020-05-22 09:50:26 +02:00
Philippe Teuwen
4525cd1c32
make style
2020-05-21 15:06:17 +02:00
Philippe Teuwen
5a059db901
remove warnings
2020-05-21 14:50:30 +02:00
hongbin@ftsafe.com
8352c80679
Modify pcsc.c to have support for Mifare classic and Ultralight card
...
Modify pcsc.c and mifare.c files.
1. add code into pcsc.c to have support Mifare classic card.
2. The PCSC reader has SW value, add response data length for PCSC
reader
2020-05-13 12:15:28 +08:00
Adam Laurie
66176016ed
bring nfc-list man page up to date
2020-05-12 16:52:47 +01:00
Philippe Teuwen
10f880374c
nfc-list bitfield
2020-05-11 19:55:44 +02:00
Adam Laurie
19a51dc2bd
first cut iClass support - get nfc-list to see UID
2020-05-11 11:45:28 +01:00
Adam Laurie
ff4e1efa7b
Merge branch 'master' into patch-2
2020-04-04 18:24:40 +01:00
Adam Laurie
54ba7359ce
Merge branch 'master' into master
2020-04-04 18:15:56 +01:00
Adam Laurie
a85f003d91
Merge pull request #451 from hph86/3_verbose_rats_cmd
...
Add RATS support indicator to nfc-mfclassic
2020-04-04 17:39:46 +01:00
quantum-x
fbdbe6eff3
Update nfc-mfclassic.c
...
Adding support for extended Magic cards:
- DirectWrite cards
- One Time Write cards
Direct Write cards support modification of B0 directly, without any unlock codes. When we are attempting to detect if a card is 'magic', we will attempt to modify B0 directly as an initial check.
One Time Write cards support modification of B0 directly, one time only. They do not respond to magic commands, but have a fixed UID coming out of the factory. We now detect this UID, and if so, deem the card 'magic'.
2019-08-19 19:07:18 +02:00
quantum-x
c109d37783
Update nfc-mfultralight.c
...
Adding support for "DirectWrite" Ultralight tags.
- The latest generation of "Magic" Ultralight tags support DirectWrite to B0.
- Several versions of these cards are bricked if the older 'unlock' command is issued to the card.
- To avoid this, when detecting if a card is magic, we attempt to modify B0 directly. If this fails, we proceed with an unlock command.
2019-08-19 19:04:52 +02:00
rstular
ebb13d8965
Updated function declaration in utils/nfc-mfultralight.c
...
Updated a function declaration in utils/nfc-mfultralight.c to match the new style of C function declarations.
2019-04-29 09:49:09 +02:00
Mikolaj Stawiski
793d5adde6
Fixed format warnings.
2018-11-25 13:48:04 +11:00
Stean
f93169feb4
Add undocumented option -s to nfc-relay-picc man page
2018-11-04 21:30:35 +01:00
Stean
c52cdb10c8
Add undocumented option -s to usage listing
2018-11-04 21:22:46 +01:00
Markus Werle
4ae4cc86f8
Merge pull request #450 from hph86/2_fix_typo
...
Fix typo in nfc-mfclassic
2018-10-02 12:32:45 +02:00
Adam Laurie
25ee3a2f76
Add OTP/Capability Bytes handling to NTAG
2018-09-18 11:14:08 +01:00
Adam Laurie
3ba065f00b
Remove redundant EV1 types and rely on NTAG types instead
2018-09-17 21:40:48 +01:00
Adam Laurie
40b54a10d7
Fix NTAG OTP and LOCK BYTES (Dynamic LOCK also applies to MF0UL21). Fix MF0UL21 sizing issue.
2018-09-17 16:58:49 +01:00
Adam Laurie
4c914e67e5
Fix handling of NTAG OTP and LOCK bytes
2018-09-17 14:37:09 +01:00
Adam Laurie
62f27c1c58
Add support for Ultralight NTAG213/215/216
2018-09-15 16:19:35 +01:00
Hanno Heinrichs
7a0a469c8a
add more verbosity to RATS handling
2017-09-17 21:04:33 +02:00
Hanno Heinrichs
df4f9c0fbd
fix typo
2017-09-17 21:02:50 +02:00
Hanno Heinrichs
e4ca7f45d2
remove redundant blanks
2017-09-17 21:01:12 +02:00
Philippe Teuwen
00700bc66d
Make Travis happy
2017-05-17 15:56:41 +02:00
Philippe Teuwen
dcdbff0705
New NFC modulation type NMT_BARCODE
2017-05-17 13:58:16 +02:00
Philippe Teuwen
e41a42cf96
nfc-mfultralight: avoid compilation warning
2017-04-01 01:03:41 +02:00
Philippe Teuwen
024fca9cb7
make style
2017-04-01 00:46:12 +02:00
Philippe Teuwen
3ec9ecf800
nfc-mfultralight: fix support for MF0UL21
2017-04-01 00:25:14 +02:00
Philippe Teuwen
560f6a6413
nfc-mfultralight: better parameters checks
2017-03-31 23:21:17 +02:00
Adam Laurie
a9f3e3a2ac
allow partial writes. tidy up usage.
2017-03-23 18:19:59 +00:00
Adam Laurie
963eb074ec
vary expected dump size based on tag type
2017-03-23 16:42:10 +00:00
Adam Laurie
c04dd91e98
read extra mf-ul EV1 blocks
2017-03-23 16:04:02 +00:00
Adam Laurie
fe04b85678
show EV1 auth PACK (tag/reader trust secret)
2017-03-23 12:03:34 +00:00
Adam Laurie
3f8bb59f1e
show EV1 storage size
2017-03-23 11:05:00 +00:00
Adam Laurie
ca96e50e9b
add EV1 password auth to nfc-mfultralight
2017-03-22 23:05:48 +00:00
Simon Yorkston
6c44c20ffc
Adding support for 4K magic cards
2017-03-01 18:41:16 +01:00
Philippe Teuwen
c51caf424a
nfc-mfultralight: fix failed read reporting and add failed pages count
2017-02-27 17:22:42 +01:00
Philippe Teuwen
04ef5ca902
Reduce variables scopes
2017-02-18 22:20:15 +01:00
Philippe Teuwen
c815c7a059
nfc-mfultralight: remove dead assignment
...
nfc-mfultralight.c:274:7: warning: Value stored to 'bFailure' is never read
bFailure = false;
^ ~~~~~
2017-02-18 17:17:53 +01:00
Philippe Teuwen
e4df2f3334
astyle
2017-02-18 13:05:59 +01:00
Philippe Teuwen
c5e8adc169
mfclassic: avoid hardcoded offsets & sizes
2017-02-17 11:31:13 +01:00