Commit graph

18109 commits

Author SHA1 Message Date
iceman1001
6b9dde1ff7 text 2024-01-26 14:11:20 +01:00
iceman1001
837a36f4eb text 2024-01-26 13:16:44 +01:00
iceman1001
79d143c970 fix json loading for lf em 4x05 2024-01-26 13:14:34 +01:00
iceman1001
d215f18fdb reworked the tag memory printing for HF 15* 2024-01-26 12:50:09 +01:00
iceman1001
303c6b6067 style 2024-01-26 12:45:23 +01:00
Iceman
148984aeee
Merge pull request #2277 from nvx/gdmcfg_magic_wakeup
Add support for magic wakeups in GDM/USCUID config commands
2024-01-26 12:27:39 +01:00
nvx
e22776a7e0 style 2024-01-26 20:20:25 +10:00
nvx
49f7ae57dc Changed hf mf gdmcfg/gdmsetcfg commands to support Gen1a and GDM Alt magic wakeups
This was implemented with a new pair of RPCs CMD_HF_MIFARE_READBL_EX and CMD_HF_MIFARE_WRITEBL_EX
these RPCs support all combinations of read/write commands, wakeup, and auth options so
in time can replace the other MFC read/write commands too reduce armsrc code size
and complexity.

Also added config parsing for the gdm cfg block when reading with hf mf gdmcfg and
explicitly with hf mf gdmparsecfg.
2024-01-26 20:09:08 +10:00
nvx
b4ae4c429f Fix some low hanging differences when running make style on Windows vs Linux 2024-01-26 20:08:36 +10:00
iceman1001
41d545f5b8 text 2024-01-25 16:35:20 +01:00
iceman1001
596b0b6405 style 2024-01-25 16:25:03 +01:00
iceman1001
2288c7e72b less memory footprint 2024-01-25 16:23:00 +01:00
iceman1001
acdda19316 style 2024-01-25 16:21:41 +01:00
iceman1001
282ae9308d fix some semicolons 2024-01-25 16:20:40 +01:00
Iceman
680f63ed64
Merge pull request #2274 from lnv42/pr1
iso15: fix "restore" and "view" cmd for the new dump format
2024-01-25 15:04:09 +01:00
Iceman
3d0d77b12b
Merge pull request #2273 from lnv42/master
iso15: provide support to load old JSON dump format into iso15_tag_t
2024-01-25 15:02:41 +01:00
Yann GASCUEL
9ace97aabc iso15 fix view with new dump format 2024-01-25 14:11:13 +01:00
Yann GASCUEL
169780fec0 iso15: fix restore with new dump format 2024-01-25 14:11:08 +01:00
Yann GASCUEL
6d931778a4 iso15 json parsing fix codeQL issue (hope it's the last...) 2024-01-25 14:08:40 +01:00
Yann GASCUEL
c97b3b7b63 iso15: fix formater issue codeQL reported 2024-01-25 13:40:36 +01:00
iceman1001
649e8f581a fixed hf 15 writedsfid, it was missing the longer wait for writes. Also made the command honor the -o flag instead of enforing it. I tested with and without on a card and both works 2024-01-25 12:11:44 +01:00
Yann GASCUEL
f91e65dce5 iso15: try to fix codeQL errors 2024-01-25 12:10:13 +01:00
Yann GASCUEL
fdb9bbd714 iso15 dump file handling: support loading old JSON in iso15_tag_t 2024-01-25 11:37:37 +01:00
Yann GASCUEL
7e3112242e iso15 dump file handling: set old format as obsolete in saver 2024-01-25 11:37:37 +01:00
iceman1001
b7928eb85e text 2024-01-25 11:22:55 +01:00
iceman1001
efc8c0b8ab added a interactive flag for hf14asniff, and unified text across the project 2024-01-25 10:21:36 +01:00
Iceman
c3be58229d
Merge pull request #2272 from lnv42/master
iso15: few fix
2024-01-25 09:03:40 +01:00
Yann GASCUEL
63afe5e97a iso15: add more sanity check in eload 2024-01-25 08:56:47 +01:00
Yann GASCUEL
f4d4e975ee iso15sim: init earlier to prevent other FPGA loading issue 2024-01-25 08:54:10 +01:00
Yann GASCUEL
fbbfa0c356 iso15 JSON dump loading: fix loaded size 2024-01-25 08:38:35 +01:00
iceman1001
414275802d style 2024-01-25 01:55:07 +01:00
iceman1001
9f015ad964 hf mfu amii, which is a in client version of the amiitool by @socram8888. Have not decided how this command should work. It would be nice to have a decoder for Amiibo tags. Right now we do decrypt / encrypt for dump files and card memory. 2024-01-25 01:53:11 +01:00
iceman1001
28b887aedb text 2024-01-25 01:45:18 +01:00
iceman1001
9b3a088f58 macOS doesnt pragm 2024-01-25 01:02:20 +01:00
iceman1001
8456e41b02 forgot the reverse part 2024-01-25 00:37:15 +01:00
iceman1001
f7e4b4e2eb fix some style and it now also copy right string length 2024-01-25 00:36:35 +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
6c1ebc3398 cleaning up redundant functions. the extra checks in bigbuff might affect simulation 2024-01-24 23:41:48 +01:00
iceman1001
3f82965fa8 style 2024-01-24 23:37:27 +01:00
iceman1001
a6fa662d3c increase upload block size for 15 eload, was 64 now 256 2024-01-24 23:37:13 +01:00
iceman1001
2972ff9694 json is case sensitive 2024-01-24 23:35:16 +01:00
iceman1001
2d9c1a941c style 2024-01-24 18:18:13 +01:00
Iceman
7afe2dab8c
Merge pull request #2271 from lnv42/master
cmdhf15: fix sanity checks (uidlen alone is > 1 when -u is set)
2024-01-24 18:05:08 +01:00
Yann GASCUEL
472b6a8c64 cmdhf15: fix sanity check (uidlen alone is > 1 when -u is set) 2024-01-24 17:33:18 +01:00
iceman1001
db616ce7bf style 2024-01-24 17:12:56 +01:00
Iceman
769a0aa26b
Merge pull request #2270 from martian/rename-cmdreadmem-flag
Rename CMD_READ_MEM_DOWNLOAD flag.
2024-01-24 17:11:15 +01:00
iceman1001
e4835e69a3 recompiled the fpga images 2024-01-24 17:06:41 +01:00
Martijn Plak
6202da367f coding style 2024-01-24 17:05:37 +01:00
Iceman
52bacab60c
Merge pull request #2269 from lnv42/master
iso15 sim & sniff improvments & HF_15SIM standalone
2024-01-24 16:56:35 +01:00
Martijn Plak
1d14bc38c5 Rename CMD_READ_MEM_DOWNLOAD flag.
It got included in pm3_cmd.lua but shouldn't be because it's not a command.
Also, the bitshift in the value upsets some versions of lua.
2024-01-24 16:36:52 +01:00