-int usage_hf_mfu_info(void) {
- PrintAndLog("It gathers information about the tag and tries to detect what kind it is.");
- PrintAndLog("Sometimes the tags are locked down, and you may need a key to be able to read the information");
- PrintAndLog("The following tags can be identified:\n");
- PrintAndLog("Ultralight, Ultralight-C, Ultralight EV1, NTAG 203, NTAG 210,");
- PrintAndLog("NTAG 212, NTAG 213, NTAG 215, NTAG 216, NTAG I2C 1K & 2K");
- PrintAndLog("my-d, my-d NFC, my-d move, my-d move NFC\n");
- PrintAndLog("Usage: hf mfu info k <key> l");
- PrintAndLog(" Options : ");
- PrintAndLog(" k <key> : (optional) key for authentication [UL-C 16bytes, EV1/NTAG 4bytes]");
- PrintAndLog(" l : (optional) swap entered key's endianness");
- PrintAndLog("");
- PrintAndLog(" sample : hf mfu info");
- PrintAndLog(" : hf mfu info k 00112233445566778899AABBCCDDEEFF");
- PrintAndLog(" : hf mfu info k AABBCCDDD");
- return 0;
-}
-
-int usage_hf_mfu_dump(void) {
- PrintAndLog("Reads all pages from Ultralight, Ultralight-C, Ultralight EV1");
- PrintAndLog("NTAG 203, NTAG 210, NTAG 212, NTAG 213, NTAG 215, NTAG 216");
- PrintAndLog("and saves binary dump into the file `filename.bin` or `cardUID.bin`");
- PrintAndLog("It autodetects card type.\n");
- PrintAndLog("Usage: hf mfu dump k <key> l n <filename w/o .bin>");
- PrintAndLog(" Options : ");
- PrintAndLog(" k <key> : (optional) key for authentication [UL-C 16bytes, EV1/NTAG 4bytes]");
- PrintAndLog(" l : (optional) swap entered key's endianness");
- PrintAndLog(" n <FN > : filename w/o .bin to save the dump as");
- PrintAndLog(" p <Pg > : starting Page number to manually set a page to start the dump at");
- PrintAndLog(" q <qty> : number of Pages to manually set how many pages to dump");
-
- PrintAndLog("");
- PrintAndLog(" sample : hf mfu dump");
- PrintAndLog(" : hf mfu dump n myfile");
- PrintAndLog(" : hf mfu dump k 00112233445566778899AABBCCDDEEFF");
- PrintAndLog(" : hf mfu dump k AABBCCDDD\n");
- return 0;
-}
-
-int usage_hf_mfu_rdbl(void) {
- PrintAndLog("Read a block and print. It autodetects card type.\n");
- PrintAndLog("Usage: hf mfu rdbl b <block number> k <key> l\n");
- PrintAndLog(" Options:");
- PrintAndLog(" b <no> : block to read");
- PrintAndLog(" k <key> : (optional) key for authentication [UL-C 16bytes, EV1/NTAG 4bytes]");
- PrintAndLog(" l : (optional) swap entered key's endianness");
- PrintAndLog("");
- PrintAndLog(" sample : hf mfu rdbl b 0");
- PrintAndLog(" : hf mfu rdbl b 0 k 00112233445566778899AABBCCDDEEFF");
- PrintAndLog(" : hf mfu rdbl b 0 k AABBCCDDD\n");
- return 0;
-}
-
-int usage_hf_mfu_wrbl(void) {
- PrintAndLog("Write a block. It autodetects card type.\n");
- PrintAndLog("Usage: hf mfu wrbl b <block number> d <data> k <key> l\n");
- PrintAndLog(" Options:");
- PrintAndLog(" b <no> : block to write");
- PrintAndLog(" d <data> : block data - (8 hex symbols)");
- PrintAndLog(" k <key> : (optional) key for authentication [UL-C 16bytes, EV1/NTAG 4bytes]");
- PrintAndLog(" l : (optional) swap entered key's endianness");
- PrintAndLog("");
- PrintAndLog(" sample : hf mfu wrbl b 0 d 01234567");
- PrintAndLog(" : hf mfu wrbl b 0 d 01234567 k AABBCCDDD\n");
- return 0;
-}