Explorar o código

add random ID0 number in Makefile

Pi3rrot %!s(int64=8) %!d(string=hai) anos
pai
achega
a300b62d74
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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