linux下使用nfclib写卡操作。

原文:http://www.backtrack-linux.org/wiki/index.php/RFID_Cooking_with_Mifare_Classic

root@bt:~# nfc-mfclassic --help 
Usage: nfc-mfclassic r|w a|b <dump.mfd> [<keys.mfd>]
r|w	- Perform read from (r) or write to (w) card 
a|b	- Use A or B keys for action 
<dump.mfd>	- MiFare Dump (MFD) used to write (card to MFD) or (MFD to card)
<keys.mfd>	- MiFare Dump (MFD) that contain the keys (optional)
Or: nfc-mfclassic x <dump.mfd> <payload.bin> 
 x	- Extract payload (data blocks) from MFD 
 <dump.mfd>	- MiFare Dump (MFD) that contains wanted payload 
 <payload.bin> - Binary file where payload will be extracted
posted @ 2013-10-07 10:41  test.cfs  阅读(696)  评论(0编辑  收藏  举报