Commit graph

3256 commits

Author SHA1 Message Date
DidierA
9a0427d4d2 Add Magic Gen4 GTU detection and symbols for Gen4 GTU protocol. 2022-11-25 10:13:33 +01:00
Jean-Michel Picod
1adec4dfb2 Fix overflow in SPI memory when writing default key dictionnaries.
Boundaries were defined in the memory layout but weren't enforced
by the client, causing an overflow when trying to load a
dictionnary that was too big.
It's too hard to enforce it on the ARM side as the command is a
generic write.
Now that limits are defined, also outputs them as part of the
`hw status` command.
2022-11-24 03:16:58 +01:00
iceman1001
317ddf42bc style 2022-11-20 16:47:49 +01:00
iceman1001
6c163fa262 added a check for static encrypted nonces when collecting encrypted nonces for hardnested to run. Will abort the collection if detected. 2022-11-15 07:07:26 +01:00
DidierA
fa95119171 style: extract flags 2022-11-14 09:44:02 +01:00
DidierA
ee3e4968d3 remove MifareG4ReadWrite() 2022-11-13 02:08:23 +01:00
DidierA
885911c469 Rewrite of magic Gen4 GTU commands : refactor and speed 2022-11-09 15:49:07 +01:00
DidierA
876abf2818 Add hf mf gload, ggetblk, gsetblk 2022-11-05 19:40:38 +01:00
iceman1001
fede61296b fix return types to follow our style better. 14a/mf needs more love 2022-11-02 14:34:07 +01:00
iceman1001
063e2da49d Revert "Release v4.15864 - Radium"
This reverts commit 93ca7b4f6e.
2022-10-29 01:34:05 +02:00
iceman1001
93ca7b4f6e Release v4.15864 - Radium 2022-10-29 01:34:05 +02:00
iceman1001
3f92d5ee67 style 2022-10-29 01:26:12 +02:00
iceman1001
ba225905d3 changed "mf eload" / "iclass eload" to be able to transfer a file from SPIFFS to EMULATOR memory. Original idea from @natesales 2022-10-26 06:57:21 +02:00
iceman1001
5b90ea8117 skeleton code found at https://github.com/ZRD-Saar/proxmark3 2022-10-25 07:56:57 +02:00
iceman1001
71f96ba1e7 make style 2022-10-16 17:56:12 +02:00
Markus Walter
42eafc5e93 Merge branch 'master' into iso15693-improvements 2022-09-05 10:56:32 +02:00
Markus Walter
84b58129dd Fix API breakage. 2022-09-05 10:46:06 +02:00
Markus Walter
42d0c6d8c1 Use memset to zero memory for better code style. 2022-09-05 10:37:01 +02:00
Markus Walter
f6096367b3 Add ISO15693 write commands to simulation. 2022-09-05 10:36:02 +02:00
Markus Walter
2d7e1d30b9 Refactor ISO 15693 READ commands to handle addressed flag. 2022-09-05 10:36:02 +02:00
Markus Walter
c062c44230 Refactor emulator accessor helpers for ISO15693. 2022-09-05 10:24:52 +02:00
iceman1001
d76284aa8d style 2022-09-04 13:58:49 +02:00
iceman1001
1525a0059a fix #1771 - no default block size in call 2022-09-03 11:14:33 +02:00
Builderhummel
de40ae1f05
Fix Typo
"form" to "from" 

Signed-off-by: Builderhummel <max.kretschmann@tuhh.de>
2022-09-02 14:47:12 +02:00
Iceman
b82feee002
Merge pull request #1766 from markus-oehme-pg40/iso15693-emulation
ISO15693 emulation
2022-09-02 05:29:16 +02:00
Markus Walter
d79bd5b6b8 Switch hf 15 sim to use image in emulator memory. 2022-09-01 18:53:31 +02:00
Markus Walter
03fa757395 Implement hf 15 eload command to move image dump to emulator. 2022-09-01 18:52:57 +02:00
mwalker33
9406ef9fd3 spiffs prep
added define for chuck size
update changelog
2022-09-01 08:15:30 +10:00
Markus Walter
62b577d170 Remove unused definition. 2022-08-31 12:26:51 +02:00
Markus Walter
eef1ce9c33 Enhance simulation of ISO15693 devices.
This adds the following things:
- support for reading multiple blocks,
- configurable block size,
- ability to provide a memory image.
2022-08-31 12:25:22 +02:00
mwalker33
96876c0111 Update spiffs.c
patch type size comparison
2022-08-31 19:10:15 +10:00
mwalker33
d8c18e6db8 Prep spiffs for bigger data files
- added spiffs check after flase wipe to force it to update its status
- added spiffs write and append to write in 8192 byte chunks to allow spiffs space to be freed in time.
- fixed spiffs dump to correctly handle issues if it could not allocate bugbuff space.
2022-08-31 18:51:39 +10:00
iceman1001
79cfa1d8fa adapt SPIFFS from 128kb -> 192kb. Increased GC to fit sector size 4kb. (thanks @mwalker33) 2022-08-28 12:21:21 +02:00
Markus Walter
745928e609 Fix comments. 2022-08-26 09:28:04 +02:00
iceman1001
e18194028b style 2022-08-24 07:25:10 +02:00
iceman1001
0968b39243 fix #1694 - take in consideration pointer could be called with NULL 2022-08-16 04:18:27 +02:00
iceman1001
834023b132 add a pwd to ntag215 sim if empty 2022-07-30 10:03:51 +02:00
iceman1001
6290d50564 make style 2022-07-25 08:00:30 +02:00
iceman1001
5a8d9b7954 prep mac 2022-07-23 17:39:40 +02:00
iceman1001
0554ec220f hf plot - now uses NG 2022-07-17 19:29:47 +02:00
merlokk
fb3990086e fix 2022-07-10 00:54:29 +03:00
merlokk
374f1907bb fix max|min 2022-07-10 00:47:40 +03:00
merlokk
e7edefe24e fix avg 2022-07-10 00:29:25 +03:00
merlokk
903af4412a fix accum clear 2022-07-09 17:36:53 +03:00
merlokk
0b95c519ff sh sniff skip some bytes from data - arm side 2022-07-09 16:45:08 +03:00
iceman1001
11e097c1bb fixing hf search loop and lessing the debug statements 2022-07-07 23:43:45 +02:00
merlokk
5f1c41503b texkom simulation timeout and verbose fixes 2022-07-08 00:15:10 +03:00
merlokk
1a620c5563 add timeout and some debug messages 2022-07-06 19:41:08 +03:00
merlokk
7c2379ac9f rename and read parameters via struct 2022-07-06 19:03:17 +03:00
iceman1001
edffa21598 fix cid 395490, and 14a simulation 2022-07-06 14:00:19 +02:00