- PrintAndLog("Dumping tag memory...");
- /*
- if ( tagtype & UL ) {
- Pages = 16;
- PrintAndLog(str,"", (tagtype & MAGIC)?" (magic)":"" );
- }
- else if ( tagtype & UL_C ) {
- Pages = 44;
- PrintAndLog(str,"-C", (tagtype & MAGIC)?" (magic)":"" );
- }
- else if ( tagtype & UL_EV1_48 ) {
- Pages = 18;
- PrintAndLog(str," EV1_48","");
- }
- else if ( tagtype & UL_EV1_128 ) {
- Pages = 32;
- PrintAndLog(str," EV1_128","");
- } else {
- Pages = 16;
- PrintAndLog("Dumping unknown Ultralight, using default values.");
- }
- */
- UsbCommand c = {CMD_MIFAREUC_READCARD, {0,Pages}};
+ PrintAndLog("Reading tag memory...");
+
+ UsbCommand c = {CMD_MIFAREUC_READCARD, {startPage,Pages}};