mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
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
This commit is contained in:
parent
75d0b0b06f
commit
0fb0c35308
9 changed files with 276 additions and 65 deletions
|
@ -1285,10 +1285,20 @@ void UsbPacketReceived(uint8_t *packet, int len) {
|
|||
if (!FlashInit()) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Flash_CheckBusy(BUSY_TIMEOUT);
|
||||
Flash_WriteEnable();
|
||||
|
||||
if ( startidx == DEFAULT_T55XX_KEYS_OFFSET )
|
||||
Flash_Erase4k(3, 0xC);
|
||||
else if (startidx == DEFAULT_MF_KEYS_OFFSET )
|
||||
Flash_Erase4k(3, 0xB);
|
||||
else if (startidx == DEFAULT_ICLASS_KEYS_OFFSET)
|
||||
Flash_Erase4k(3, 0xA);
|
||||
|
||||
Flash_CheckBusy(BUSY_TIMEOUT);
|
||||
Flash_WriteEnable();
|
||||
|
||||
// inside 256b page?
|
||||
if ( (tmp & 0xFF) != 0) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue