diff --git a/client/luascripts/hf_mf_format.lua b/client/luascripts/hf_mf_format.lua index 0bde3c2d1..7aed6b757 100644 --- a/client/luascripts/hf_mf_format.lua +++ b/client/luascripts/hf_mf_format.lua @@ -14,7 +14,7 @@ This script will generate 'hf mf wrbl' commands for each block to format a Mifar Alla datablocks gets 0x00 As default the script sets the keys A/B to 0xFFFFFFFFFFFF and the access bytes will become 0x78,0x77,0x88 -The GDB will become 0x00 +The GPB will become 0x00 The script will skip the manufactoring block 0. ]] @@ -169,7 +169,7 @@ local function main(args) GetCardInfo() -- Show info - print( string.format('Estimating number of blocks: %d', numBlocks)) + print( string.format('Estimating number of blocks: %d', numBlocks + 1)) print( string.format('Old key: %s', OldKey)) print( string.format('New key: %s', NewKey)) print( string.format('New Access: %s', Accessbytes))