Proxmark / proxmark3

Proxmark 3
http://www.proxmark.org/
GNU General Public License v2.0
3.15k stars 906 forks source link

Add time foк simulation #1013

Open alansbor opened 1 year ago

alansbor commented 1 year ago

Hi!

If it is impossible to programmatically interrupt pressing the stop button, then Is it possible to add the time allotted for the simulation for this function:

Added please

usage: hf mfu sim [-hv] -t <1..10> [-u ] [-n ] [-ts ]

options: -h, --help This help -t, --type <1..10> Simulation type to use -u, --uid <4|7|10> hex bytes UID -n, --num Exit simulation after blocks. 0 = infinite -v, --verbose Verbose output Added here : -ts --timesim Time simulation, ms. if 0 - non stop, 10 - 10 ms simulation and stop simulation

examples/notes: hf mfu sim -t 2 --uid 11223344556677 -> MIFARE Ultralight hf mfu sim -t 7 --uid 11223344556677 -n 5 -> MFU EV1 / NTAG 215 Amiibo hf mfu sim -t 7 -> MFU EV1 / NTAG 215 Amiibo hf mfu sim -t 2 --uid 11223344556677 -ts 100 -> MIFARE Ultralight time simulation 100 ms and stop simulation