Makefile 478 B

12345678910111213141516171819202122
  1. restore_tag:
  2. nfc-mfclassic f A dump/lim_10.mfd dump/lim_10.mfd
  3. nfc-mfclassic w a dump/lim_10.mfd
  4. magic_card_10:
  5. make restore_tag
  6. openssl rand -hex 4 | nfc-mfsetuid
  7. selecta_change_from_orig:
  8. mfoc -O temp.mfd
  9. nfc-mfclassic f B dump/lim_10.mfd temp.mfd
  10. nfc-mfclassic w A dump/lim_10.mfd
  11. rm temp.mfd
  12. ./poolset --write 10 25/11/16 25/11/19
  13. #uid0:
  14. # nfc-mfsetuid $(openssl rand -hex 4)
  15. # Don't work in Makefile !
  16. all:
  17. gcc poolset.c -lusb -lnfc -lfreefare -o poolset