]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14b.c
FIX: more minor issues with block Numbers.
[proxmark3-svn] / client / cmdhf14b.c
index 4582de88cf64128ce77af5a8449d4e187a582c06..03152cddb7bc0516f475b5dd2d20557d2ab53de6 100644 (file)
@@ -403,10 +403,10 @@ int CmdHF14BWrite( const char *Cmd){
        bool isSrix4k = true;
        char str[20];   
 
-       if (cmdp == 'h' || cmdp == 'H') {
+       if (strlen(Cmd) < 1 || cmdp == 'h' || cmdp == 'H') {
                PrintAndLog("Usage:  hf 14b write <1|2> <BLOCK> <DATA>");
                PrintAndLog("    [1 = SRIX4K]");
-               PrintAndLog("    [2 = SRIX4K]");
+               PrintAndLog("    [2 = SRI512]");
                PrintAndLog("    [BLOCK number depends on which tag, special block == 255]");
                PrintAndLog("     sample: hf 14b write 1 127 11223344");
                PrintAndLog("           : hf 14b write 1 255 11223344");
Impressum, Datenschutz