Commit graph

709 commits

Author SHA1 Message Date
Alejandro
474aaed4b7
Added a proper way to check if it is rdv4 fw 2023-01-24 23:01:28 +01:00
iceman1001
875b1a0aed annotate new magic command (WIP) 2023-01-15 12:27:34 +01:00
Philippe Teuwen
c9984985fd make miscchecks 2023-01-14 22:23:40 +01:00
Philippe Teuwen
5d5d9d9be0 make style 2023-01-14 22:22:04 +01:00
iceman1001
e74a025a27 added some more ISO7816 error return codes, swapped to defines in 14a.c 2023-01-14 12:10:48 +01:00
iceman1001
fe63c503fd added some ISO7816 error code defines 2023-01-14 12:04:09 +01:00
iceman1001
6cbebb29dc mingw seems to doesnt like backslashes 2023-01-08 21:56:38 +01:00
nvx
4180635218 Add --shallow option to hf iclass reader commands to do shallow (ASK) reader modulation instead of OOK. 2023-01-04 23:59:03 +10:00
iceman1001
d6af860136 adapt path separator to handle WIN32 backslash. 2022-12-31 22:30:07 +01:00
iceman1001
e3a6f8fe27 look up vigik service code 2022-12-03 21:11:29 +01:00
iceman1001
4f70f777de typedef file for vigik annotater 2022-12-03 20:37:53 +01:00
Iceman
f9aa183382
Merge pull request #1821 from DidierA/gen4_ident
Add Magic Gen4 GTU detection
2022-11-25 17:23:19 +01:00
DidierA
9a0427d4d2 Add Magic Gen4 GTU detection and symbols for Gen4 GTU protocol. 2022-11-25 10:13:33 +01:00
Jean-Michel Picod
8da4da6aa5 Also update comment about total size for Mifare keys storage. 2022-11-24 09:40:34 +01:00
Jean-Michel Picod
ba83c26c1e Add one more sector for Mifare keys on SPI flash.
This is a breaking change and after firmware upgrade, dictionnaries
should be loaded into flash again to ensure they're valid.
2022-11-24 09:35:22 +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
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
876abf2818 Add hf mf gload, ggetblk, gsetblk 2022-11-05 19:40:38 +01: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
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
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
iceman1001
5a8d9b7954 prep mac 2022-07-23 17:39:40 +02:00
Oleg Moiseenko
56eaf34315
Merge pull request #1706 from merlokk/texkom_sim
Texkom simulation
2022-07-04 00:36:05 +03:00
iceman1001
7b732e152e added hf 14b view and modified dump command to be prepared to handle the different tags 2022-07-03 20:06:11 +02:00
merlokk
1e91895b90 simulate sketch 2022-07-02 22:45:32 +03:00
iceman1001
6d699d66bc adding support to read fuji/xerox tags, thanks to user Horror 2022-06-30 22:50:52 +02:00
merlokk
541c060a5d hf read adc low level command 2022-06-25 00:36:42 +03:00
kormax
b11b4e66af Change 'hf 14a list' to annotate more ECP frame formats 2022-06-14 21:42:50 +03:00
iceman1001
c5d12bba0f adapt hw dbg to query device before setting log level 2022-06-06 18:21:28 +02:00
mwalker33
f5170f1d18 Mifare Classic Value operations
Added increment value, decrement value via the supplied commands and set value via the normal write command.  Also added "get" to read a value block and decode/display.
2022-06-05 16:58:53 +10:00
Philippe Teuwen
185a45e749 Add support for cloning Viking and EM410x on EM4x05 2022-04-29 17:32:52 +02:00
Philippe Teuwen
4d264fa63c Preparing EM4100 clone to EM4305 2022-04-29 16:44:38 +02:00
Iceman
1c6abece54
Merge branch 'master' into sha 2022-02-25 11:42:20 +01:00
iceman1001
7310834b69 added a compact tlv decoder for ATR historical bytes in 14a info 2022-02-19 00:15:34 +01:00
iceman1001
638e892088 added device side option to disable EAS/AFI password. Sets to all ZEROS 2022-02-18 18:23:53 +01:00
Philippe Teuwen
bbf49ab560 Add a fingerprint of the ARM OS source files to detect when a client expects another ARM image 2022-02-17 01:43:39 +01:00
iceman1001
63bc9b5eb2 added legic view command, and converted OLD -> NG comms 2022-02-14 09:19:35 +01:00
Philippe Teuwen
cbb976e320 No error code on regular exit 2022-01-16 19:57:12 +01:00
iceman1001
c9a1ff6e60 skeleton for seos annotations 2022-01-16 19:03:17 +01:00
Philippe Teuwen
b15f7c4789 Inject readline markers only if using readline 2022-01-11 14:27:07 +01:00
iceman1001
3bcef75da6 coverity fix for the return type 2022-01-08 13:30:24 +01:00
Philippe Teuwen
30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen
5561466fe8 make style 2022-01-05 18:56:56 +01:00
iceman1001
0d41c2ef09 style 2022-01-03 22:15:01 +01:00
iceman1001
9c6baffc00 note to self 2022-01-03 22:11:52 +01:00
iceman1001
0a4c9f83ac fixes to hf iclass configcard mem setup, textual output, MIX->NG convertion 2022-01-03 22:08:55 +01:00
iceman1001
9c2b5118df hf mf gview now support user supplied password 2021-12-31 09:24:10 +01:00
iceman1001
0d38da5de2 make style 2021-12-27 19:36:42 +01:00
iceman1001
6653bdc2be zx adaptations 2021-12-27 17:42:33 +01:00
iceman1001
7e43d6b8f4 wrong spelling 2021-12-24 15:12:19 +01:00
iceman1001
af93809d07 zx structs 2021-12-24 14:55:41 +01:00
iceman1001
376fabd8a1 zx defines 2021-12-24 14:42:55 +01:00
iceman1001
69ea599fee skeleton for ZX8211 2021-12-24 13:32:28 +01:00
iceman1001
b888bba70d textual 2021-11-08 10:56:19 +01:00
iceman1001
6924a42bf0 note about EV2, that LRP uses same commands 2021-11-03 22:01:11 +01:00
iceman1001
982e669a77 magsafe iterates 7a/7b/7c/7d for wupa 2021-10-23 20:45:46 +02:00
iceman1001
bff057d977 style 2021-10-23 18:57:50 +02:00
iceman1001
0e5e9163a1 added apple magsafe polling, thanks to @tcprst 2021-10-23 18:54:44 +02:00
iceman1001
37b89c7b11 add ehanced contactless polling to 14a reader/raw commands 2021-10-17 11:38:37 +02:00
Philippe Teuwen
232843477c typos 2021-10-16 23:44:53 +02:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
1850e9fa40 Fix hf mf dump/auto/csave MFC JSON dumps - save real ATQA/SAK 2021-09-25 01:48:52 +02:00
merlokk
d46d23d079 make style 2021-08-25 14:44:06 +03:00
iceman1001
e811b35a6f ntag i2c 2k - fast write 2021-08-22 21:32:14 +02:00
iceman1001
edc300ea97 ntag i2c 2k - select sector annotation 2021-08-22 21:02:11 +02:00
Philippe Teuwen
4b88c71e39 Forgot new file... 2021-08-22 14:05:15 +02:00
Philippe Teuwen
e79fb92074 Add fpga-xc3s100e and icopyx support 2021-08-21 23:45:46 +02:00
Philippe Teuwen
d56d8f0f65 rename common_area typedef and global 2021-08-21 23:29:56 +02:00
Philippe Teuwen
5b54385347 rename globals 2021-08-21 23:08:26 +02:00
Philippe Teuwen
8280fc3c07 rename global version_information and its struct type 2021-08-21 20:11:22 +02:00
Philippe Teuwen
ce57637c80 rename globals GraphTraceLen OddByteParity pm3_capabilities 2021-08-21 17:53:54 +02:00
merlokk
dbe85e731f add record manipulation commands 2021-07-27 19:13:15 +03:00
merlokk
618bdd4bc7 read and write commands 2021-07-27 16:54:03 +03:00
merlokk
46a294d585 core works 2021-07-15 20:14:02 +03:00
merlokk
f606cc5fb5 added check channel 2021-07-09 18:03:34 +03:00
merlokk
2fa6c4643e desfire channel sketch 2021-07-01 19:53:57 +03:00
iceman1001
c522de5b79 added "hf mf gview" to view contents of a magic gen3 gtu card 2021-06-24 14:59:33 +02:00
iceman1001
88d9942d3f fix little endian vs big endian in the macros 2021-06-22 07:49:17 +02:00
iceman1001
0e7e13db7d fix for client crash in lf hitag eload. Hitag simulation still now working (wip) 2021-06-20 23:02:18 +02:00
iceman1001
6a444eb208 style clean 2021-05-20 10:07:51 +02:00
iceman1001
16783000f0 rework some defines 2021-05-16 23:03:13 +02:00
iceman1001
451de246b7 if client wants to know how much SPIFFS 2021-05-16 23:01:37 +02:00
iceman1001
228668e7a3 mark as unsigned 2021-05-15 15:20:10 +02:00
Tim Mudford
4fd4256acd Added standalone mode for ISO15693 cards. 2021-05-05 19:55:58 +12:00
iceman1001
3a35cb8324 structs to be used with device must be PACKED 2021-05-03 21:29:06 +02:00
iceman1001
cd9090b6c8 hf iclass chk - now uses NG 2021-05-03 20:01:12 +02:00
iceman1001
788876538d convert from OLD to NG 2021-05-01 19:01:15 +02:00
iceman1001
3c072721bf trace list -t mfdes - updated EV2, EV3 annotations 2021-04-30 08:14:11 +02:00
iceman1001
2119c4e7bd hf 14b got some love 2021-04-23 22:25:58 +02:00
iceman1001
b267ee8ef5 convert 14b raw to use NG 2021-04-21 18:36:21 +02:00
Philippe Teuwen
e62dfa3bcd typos 2021-04-16 01:53:07 +02:00
iceman1001
62697ca460 text 2021-04-15 22:41:47 +02:00
iceman1001
8a05a4d1d7 smart raw - now use NG.\nhf iclass config - added more support for keyrollning (WIP)\n 2021-04-08 09:34:11 +02:00
iceman1001
ce9a6930c9 lets increase it... 2021-04-04 11:20:44 +02:00
iceman1001
ad2b0879fc added: mem spiffs view - to view a file on SPIFFS\n mem spiffs dump - now uses cliparser and NG 2021-03-09 14:38:31 +01:00
Philippe Teuwen
e5c5629cf2 Some tunings of otptear:
- make tearoff_delay_us and tearoff_enabled globals
- use tearoff_hook and remove Dbprintf in critical tearoff timing
- move initial write from MifareU_Otp_Tearoff to CmdHF14AMfuOtpTearoff and make it optional (old behavior was writing initial 00000000 when -d was not provided)
- tearoff: compare with initial write, not with previous tearoff outcome
- rephrase some messages
- track all begin and end of erase and write phases, with quite complex logic to cover multiple cases (starting in middle of erased phase, starting with write 0, ...) and report them
- check against initial write error
- repeat same timing (up to 10x) in case of write/read errors then quit
- typos
2021-03-07 23:48:55 +01:00
iceman1001
f61d19276b cppchecker 2021-03-05 10:22:12 +01:00
iceman1001
cb97b67cc5 spelling 2021-02-28 10:29:40 +01:00