Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2014-11-13 22:32:28

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Minor issue in "Hf mf esave" - always saves 4k

MINOR BUG:
--------------
The "hf mf esave"  always saves as 4k    ( 32*4 + 8*16)
Which could cause some confusion


cmdhfmf.c  
in  iCmdHF14AMfESave(const char *Cmd)

	// put hex
	for (i = 0; i < 32*4 + 8*16; i++) {
		if (mfEmlGetMem(buf, i, 1)) {
			PrintAndLog("Cant get block: %d", i);
			break;
		}
		for (j = 0; j < 16; j++)
			fprintf(f, "%02x", buf[j]); 
		fprintf(f,"\n");
	}

Offline

#2 2014-11-16 11:18:47

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Minor issue in "Hf mf esave" - always saves 4k

I pushed a solution into my fork.  It now handles 0,1,2,4 in card-memory like other functions.

Offline

Board footer

Powered by FluxBB