Browse Source

add random ID0 number in Makefile

Pi3rrot 8 years ago
parent
commit
a300b62d74
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -2,6 +2,10 @@ restore_tag:
 	nfc-mfclassic f A dump/lim_10.mfd dump/lim_10.mfd f
 	nfc-mfclassic w a dump/lim_10.mfd f
 
+magic_card_10:
+	make restore_tag
+	openssl rand -hex 4 | nfc-mfsetuid 
+
 selecta_change_from_orig:
 	mfoc -O temp.mfd
 	nfc-mfclassic f B dump/lim_10.mfd temp.mfd f