英文:
NTAG215 AUTHLIM BRUTE FORCE LIMIT
问题
I need to protect my NTAG215 from bad password after ten incorrect attempts.
First protected page 04 to 81:
RAW COMMAND: A2 83 04 00 00 04
After to enable brute force protection:
RAW COMMAND: A2 84 82 00 00 00
HEX 82 = BIN 10000010
- PROT = 1
- CFGLCK = 0
- RFUI = 0
- NFC_CNT_EN = 0
- NFC_CNT_PWD_PROT = 0
- AUTHLIM = 010 (10 attempts)
But after 3 incorrect attempts my NTAG215 seems dead.
NTAG213-216 data sheet:
https://www.nxp.com/docs/en/data-sheet/NTAG213_215_216.pdf
I'm doing something incorrectly?
Thanks for help.
#SOLVED (Thanks to @nanofarad)
英文:
I need to protect my NTAG215 from bad password after ten incorrect attempts.
First protected page 04 to 81:
RAW COMMAND: A2 83 04 00 00 04
After to enable brute force protection:
RAW COMMAND: A2 84 82 00 00 00
HEX 82 = BIN 10000010
- PROT = 1
- CFGLCK = 0
- RFUI = 0
- NFC_CNT_EN = 0
- NFC_CNT_PWD_PROT = 0
- AUTHLIM = 010 ( 10 attempts )
But after 3 incorrect attempts my NTAG215 seems dead.
NTAG213-216 data sheet:
https://www.nxp.com/docs/en/data-sheet/NTAG213_215_216.pdf
I'm doing something incorrectly?
Thanks for help.
答案1
得分: 0
authlim 是一个三位数字 - 010 不是十次尝试,它是 二进制 10 次尝试(表示 2 次尝试),所以很可能在第三次尝试时会锁定自己。
如果 AUTHLIM 只能表示从零(二进制 000)到七(二进制 111)的数字,那么就无法设置 10 次尝试。
英文:
authlim is a three-bit number - 010 is not ten attempts, it's binary 10 attempts (meaning 2 attempts), so presumably on the third it locks itself.
You cannot set 10 attempts using AUTHLIM if AUTHLIM can only represent numbers from zero (binary 000) to seven (binary 111).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论