查看NFC Research的源代码
←
NFC Research
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
=== 再读 === 扫描到所有区的 key 后,再读的话,可以在 mfterm 中直接加载 dump.card.file 这个文件,mfterm 会自动取出所有 key,再行读写就快很多 带 NFC 功能的手机,可以使用 MifareClassicTool 这个工具,移动读写,方便很多 <source lang=bash> comcat@jackslab:~$ mfterm $ read No key argument (A|B) given. Defaulting to A error libnfc.driver.acr122_usb Unable to claim USB interface (Operation not permitted) Could not connect to any NFC device comcat@jackslab:~$ sudo mfterm $ help quit Exit the program. load Load tag data from a file. save Save tag data to a file. clear Clear the current tag data. read A|B : Read tag data from a physical tag. read unlocked On pirate cards, read card without keys. write A|B : Write tag data to a physical tag. write unlocked On pirate cards, write 1k tag with block 0. print 1k|4k : Print tag data. print keys 1k|4k : Print tag's keys. print ac Print access conditions. set #block #offset = xx xx xx : Set tag data. keys load Load keys from a file. keys save Save keys to a file. keys clear Clear the keys. keys set A|B #S key : Set a key value. keys import Import keys from the current tag. keys test Try to authenticate with the keys. keys 1k|4k : Print the keys. dict load Load a dictionary key file. dict clear Clear the key dictionary. dict attack Find keys of a physical tag. dict Print the key dictionary. spec load Load a specification file. spec clear Unload the specification. spec Print the specification. mac key <k0..k7> : Get or set MAC key. mac compute #block : Compute block MAC. mac update #block : Compute block MAC. mac validate 1k|4k : Validates block MAC of the whole tag. $ read No key argument (A|B) given. Defaulting to A Connected to device, but no tag found. $ keys load dump.card.file # 直接解析 dump 出的整个卡数据,加载 keys Successfully loaded keys from: dump.card.file $ keys xS xB KeyA KeyB ---------------------------------- 00 03 c0c1c2c3c4c5 a1475c9ee325 01 07 2c5c3710d3c5 b40b2c0d47f1 02 0b c1f4ff83b109 dc0fc2d4d8cc 03 0f 3c34515b11d4 b42fc69d3ccf 04 13 0725c08f31e6 f8cf2c85e843 05 17 5601f83644bb c9398274cc1d 06 1b 20f2bf55cc1c 8f5cd31b4f53 07 1f dd77fb8c3736 e95fc402e7b6 08 23 c2180972c580 d43ec542967d 09 27 742c582e8c04 d43ec542967d 0a 2b db338f92bb98 e92d77b9c1f2 0b 2f 15559907e873 4f94956dfce7 0c 33 c8313c454d2c 25860937cf4d 0d 37 c896c22e5b3e 717b5b4b67d2 0e 3b 72558e3fe66c cded278592c2 0f 3f cec383ce3c12 f1475c9ee325 $ keys test 4k A # key 验证 $ keys save /tmp/a Successfully wrote keys to: /tmp/a $ keys load /tmp/a Successfully loaded keys from: /tmp/a $ read # 读取卡上所有数据 No key argument (A|B) given. Defaulting to A Reading: [.........0x13.0x12.0x11.0x10................] Auth errors in indicated sectors. Read MIFARE Classic 4k (SAK: 18, ATQA: 00 02) $ quit comcat@jackslab:~$ </source> <br><br>
返回到
NFC Research
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面