mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-09-21 15:26:35 +08:00
f9c1dcd9f6
This makes the PM3 generate pseudo-random nonces rather than sequential nonces, to make it act a bit more like a "real" MFC card. A reader would otherwise be able to detect the PM3 probing based on the predictable nonces and throw different authentication challenges (or refuse to authenticate at all). The code includes an implementation of a rand-like function (prand), similar to the one from libc, which is seeded automatically based on the time it takes between the PM3 starting up and the first call to the RNG. This isn't cryptographically random, but should be "good enough" to be able to evade basic detection. |
||
---|---|---|
.. | ||
at91sam7s512.h | ||
common.h | ||
config_gpio.h | ||
hitag2.h | ||
hitagS.h | ||
legic_prng.h | ||
mifare.h | ||
proxmark3.h | ||
usb_cmd.h |