Proxmark3 developers 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.

#1 2018-09-25 21:15:40

whitefire
Contributor
Registered: 2018-06-10
Posts: 7

Change the PUPI random value

Hi guys,

I want to know if there is a possibility to change the PUPI code generated when you launch "hf 14b sim". I don't know if I have to change this in the code or there is a parameter in the command. I'm new to proxmark RDV III so bear with me. If you know the code that generate that PUPI code, would please send the part in the code ?

Thanks in advance

Offline

#2 2018-09-26 16:41:10

piwi
Contributor
Registered: 2013-06-04
Posts: 704

Re: Change the PUPI random value

The relevant code is in iso14443b.c:

	// ... and we always respond with ATQB, PUPI = 820de174, Application Data = 0x20381922,
	// supports only 106kBit/s in both directions, max frame size = 32Bytes,
	// supports ISO14443-4, FWI=8 (77ms), NAD supported, CID not supported:
	static const uint8_t response1[] = {
		0x50, 0x82, 0x0d, 0xe1, 0x74, 0x20, 0x38, 0x19, 0x22,
		0x00, 0x21, 0x85, 0x5e, 0xd7
	};

Offline

Board footer

Powered by FluxBB