495 Commits

Author SHA1 Message Date
iceman1001
cef07dedf6 code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits 2025-02-21 15:38:33 +01:00
Donny
7923d07ed0 Add hid preamble handle function for standalone 2025-02-20 21:49:15 -08:00
Philippe Teuwen
1acc030fd4 rework simaid & rename few vars 2025-02-12 08:44:42 +01:00
Shawn Hoffman
aa286b4a16 fix bigbuf allocators (tracing + malloc) overwriting each other
* BigBuf.c: use s_ prefix for statics
* BigBuf_Clear_ext already calls clear_trace, so remove extra calls
* add some sanity checking of allocator args
* dont compare PDC_RNCR to false
2025-01-24 15:56:45 -08:00
iceman1001
ab676287d2 fix breaking builds 2024-11-20 23:48:14 +01:00
iceman1001
d398576fc7 the 14a sim had a wrong size check of the irats pointer instead of actual size. Only way around it was to add the length at function call 2024-11-15 13:27:39 +01:00
pingu2211
514fe677d6 rename all mifarehost functions to match style guide 2024-11-14 09:33:57 +11:00
nvx
ef0cf93a5d fix typos and regenerate command list 2024-11-02 23:34:38 +10:00
nvx
6d7fcc642a add gdm flag to hf mf c* commands
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
2024-11-02 22:22:13 +10:00
nvx
df5e2ce05b improve cardhopper to improve reliability when parts of the packet are buffered 2024-11-02 19:53:23 +10:00
jakkpotts
0cd6e950b0 Fixed syntax error in flags declaration in hf_young.c 2024-10-20 02:47:55 -07:00
Philippe Teuwen
838e0adfa7 rework Mifare simulation flags 2024-10-19 20:34:40 +02:00
Philippe Teuwen
a11ba61b01 hf mf ecfill: add support for quick dump via backdoor auth 2024-10-13 22:55:41 +02:00
Sebastian Meyer-Bohr
6da624c580 Fix SimulateIso14443aInit usage
Added NULL as `uint8_t *iRats` to all invokations in armsrc/Standalone.

Not sure if that is the right thing to do: The actual code checks for the presence of a special flag, but does not contain a check for NULL.
IMHO adding a NULL check in `iso14443a.c` line 1259 wouldn't hurt, and could catch programming errors (flag set by accident, but NULL passed).

Maybe @evildaemond wants to verify whether my fix does the right thing or if I missed something (they added the iRATs to `iso14443a.h` with 56324b16b2).
2024-10-07 11:44:27 +02:00
Philippe Teuwen
05ec053a38 Quick fix on standalone modes using SimulateIso14443aTag. Still need to fix those with SimulateIso14443aInit 2024-10-07 11:15:43 +02:00
jakkpotts
e32ab8d1d0 Fix incorrect number of arguments for SimulateIso14443aTag() in hf_young.c 2024-09-25 01:28:39 -07:00
iceman1001
7a4bd03cc0 added bounds checking for when the proxmark3 is simulating a ISO14443a tag 2024-09-05 18:38:17 +02:00
iceman1001
9c181dd83d step one of bounds checking all responses when receiving ISO14443A frames... because @doegox find a missbehaving IC clone..... 2024-09-05 17:52:10 +02:00
Philippe Teuwen
dc91a6d1da hf_mattyrun: fix compilation error on recent gcc 2024-08-31 10:11:09 +02:00
Philippe Teuwen
ee8b9ca74b make style 2024-08-03 21:21:11 +02:00
Michael Roland
eeb1441b75 Merge remote-tracking branch 'remotes/origin/master' into standalone-mfc-rewrite 2024-07-25 12:50:34 +02:00
Michael Roland
0503d140f3 Move dictionary definition (MATTYRUN_MFC_DEFAULT_KEYS) into separate header file and prune keyset 2024-07-25 12:38:12 +02:00
iceman1001
4de7b7d6b9 style 2024-07-21 16:19:21 +02:00
Dani
a8ac0f3053
Update lf_em4100emul.c
Rename fucntions (to avoid conflictinf with other standalone modes), print what ID is emulating and allow exit emulation with button long-press 

Signed-off-by: Dani <danidrach@gmail.com>
2024-06-23 17:14:59 +02:00
Michael Roland
bf86f3a84a Merge remote-tracking branch 'remotes/origin/master' into standalone-mfc-rewrite 2024-05-15 16:16:31 +02:00
Michael Roland
9d65fa6aee fix incorrect display of partial emulation state 2024-05-15 15:34:08 +02:00
iceman1001
b696c498b7 scope, const 2024-05-14 14:37:08 +02:00
Michael Roland
7d49b168c8 fix LED signalling 2024-05-05 01:52:16 +02:00
Michael Roland
63b9c91fcc Rewrite documentation and and improve/cleanup coding style 2024-05-05 01:36:20 +02:00
Michael Roland
83a4f7476f load additional user-defined keys from emulator memory 2024-05-04 23:43:39 +02:00
Michael Roland
ff997bed26 rewrite of HF MattyRun standalone mode 2024-05-02 09:49:47 +02:00
iceman1001
94c3bdd91c style 2024-03-14 11:26:06 +01:00
iceman1001
4774bb20ef text 2024-03-08 11:59:50 +01:00
iceman1001
94aab17705 text 2024-03-07 21:08:54 +01:00
iceman1001
9de6f59136 modified standalone mode hf_unisniff. It now also sniffs iclass. Another option added was for hw standalone -b, which allows you to trigger a particular sniff from client. Good for debugging w/o need to recompile or upload a config file. 2024-03-06 21:07:42 +01:00
iceman1001
9f4be280e0 style 2024-02-18 20:14:32 +01:00
iceman1001
452981faa4 fix breaking compilation 2024-02-17 12:50:05 +01:00
iceman1001
f5e976afa6 style 2024-02-16 21:59:45 +01:00
iceman1001
c544d67d2b Thanks to the user jareckib for his solution of adding two extra blocks to t5577 in order to clone a more modern Electra tag. Find it under the extra param lf em 410x clone --electra 2024-02-16 21:21:02 +01:00
iceman1001
414275802d style 2024-01-25 01:55:07 +01:00
iceman1001
ba578ee139 hf 15 sim, reverse uid and a shorter read from emul to get uid if none is user given 2024-01-25 00:34:05 +01:00
iceman1001
2d9c1a941c style 2024-01-24 18:18:13 +01:00
Yann GASCUEL
05912ff130 iso15sim: rename, move and PACK iso15_tag struct to be usable in client 2024-01-24 13:59:13 +01:00
Yann GASCUEL
548b804650 standalone: hf_15sim: fix typo 2024-01-24 13:59:13 +01:00
Yann GASCUEL
4a45aaf065 standalone: hf_15sim: adapt instruction depending on flash presence 2024-01-24 13:59:13 +01:00
Yann GASCUEL
d73576ecf5 standalone: hf_15sim: text/debug fix 2024-01-24 13:59:13 +01:00
Yann GASCUEL
a72e72a0f7 standalone: hf_15sim: reduce debug 2024-01-24 13:59:12 +01:00
Yann GASCUEL
90c6dcd355 HF_15SIM: fix & add debug info 2024-01-24 13:59:12 +01:00
Yann GASCUEL
f8514f48d7 standalone: add HF_15SIM Standalone mode code source
Also add it into documentation and build_all_firmwares.sh
(standalone mode was added in Standalone Makefiles in a previous commit)
2024-01-24 13:59:12 +01:00
Yann GASCUEL
2a73285573 iso15sim rework: add support for lot of commands 2024-01-24 13:59:12 +01:00