]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: call the wrong usage_hf_mfu method.
authoriceman1001 <iceman@iuse.se>
Wed, 20 May 2015 21:52:56 +0000 (23:52 +0200)
committericeman1001 <iceman@iuse.se>
Wed, 20 May 2015 21:52:56 +0000 (23:52 +0200)
CHG: minor help text changes.

client/cmdhfmfu.c

index 9b954e68b7b467bb7f2d6cfc58e2f8b9037d106c..147bbb926944e32b9e0521fc2c90ff20ee63d1aa 100644 (file)
@@ -928,7 +928,7 @@ int CmdHF14AMfUWrBl(const char *Cmd){
                if(errors) return usage_hf_mfu_wrbl();
        }
 
                if(errors) return usage_hf_mfu_wrbl();
        }
 
-       if ( blockNo == -1 ) return usage_hf_mfu_rdbl();
+       if ( blockNo == -1 ) return usage_hf_mfu_wrbl();
        
        // Swap endianness 
        if (swapEndian && hasAuthKey) keyPtr = SwapEndian64(authenticationkey, 16, 8);
        
        // Swap endianness 
        if (swapEndian && hasAuthKey) keyPtr = SwapEndian64(authenticationkey, 16, 8);
@@ -1134,7 +1134,8 @@ int usage_hf_mfu_rdbl(void) {
 }
 
 int usage_hf_mfu_wrbl(void) {
 }
 
 int usage_hf_mfu_wrbl(void) {
-       PrintAndLog("Usage:  hf mfu wrbl <block number> <block data (8 hex symbols)> [w]");
+       PrintAndLog("Write a block. It autodetects card type.\n");              
+       PrintAndLog("Usage:  hf mfu wrbl b <block number> d <data> k <key> l\n");
        PrintAndLog("  Options:");
        PrintAndLog("  h        : this help");
        PrintAndLog("  b <no>   : block to write");
        PrintAndLog("  Options:");
        PrintAndLog("  h        : this help");
        PrintAndLog("  b <no>   : block to write");
Impressum, Datenschutz