save card dumps with .mfd extension
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 2 Feb 2011 11:29:37 +0000 (12:29 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 2 Feb 2011 11:29:37 +0000 (12:29 +0100)
nfc-card-dumper.pl

index b1e780a..d4a0e7f 100755 (executable)
@@ -96,7 +96,7 @@ if ($r->init()) {
        }
 
        my $md5 = md5_hex($card);
-       my $out_file = "cards/$uid.$md5";
+       my $out_file = "cards/$uid.$md5.mfd";
        if ( -e $out_file ) {
                warn "$out_file allready exists, not overwriting\n";
        } else {