Commit graph

195 commits

Author SHA1 Message Date
Markus Walter
69100e0e04 Use printf options to output variable width segments. 2022-09-06 11:00:47 +02:00
Markus Walter
b49201ea6e Use pm3_save_dump() for storing to disk. 2022-09-06 10:00:43 +02:00
Markus Walter
f511333b4d Fix linter complaint. 2022-09-05 11:13:18 +02:00
Markus Walter
42eafc5e93 Merge branch 'master' into iso15693-improvements 2022-09-05 10:56:32 +02:00
Markus Walter
de99fee83c Add commands hf 15 eview and hf 15 esave. 2022-09-05 10:36:31 +02:00
Markus Walter
7cc47eebba Accept eml and json files for hf 15 eload. 2022-09-05 10:36:02 +02:00
iceman1001
1a3aa7eb02 missing var 2022-09-03 11:23:01 +02:00
iceman1001
41f36199aa format string 2022-09-02 05:34:47 +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
c27264e4c4 text 2022-08-22 05:49:47 +02:00
Doridian
fbed379691 snprintf in some commands 2022-06-10 13:02:23 -07:00
iceman1001
b4255eea77 simplify save files 2022-06-06 13:20:39 +02:00
Philippe Teuwen
cb5aacd33a make style 2022-04-29 16:44:38 +02:00
iceman1001
7aeb462e18 convert 15readercommand to use NG frames. Removing the confusing of status and length of received package in same return param. Now returns proper status and length is a ref param 2022-03-23 17:37:40 +01:00
Philippe Teuwen
7c240753a2 14a, 15, hf: Fix codeql warnings 2022-02-27 14:22:38 +01:00
Christine Barron
e2f12b1020 Style 2022-02-15 10:17:31 -08:00
Christine Barron
22ea1b864f Refactored to cleaner version using bit mask 2022-02-14 23:39:32 -08:00
Christine Barron
61ece3a2a1 Sketchy way to check if card is SLIX2, will revise with bitwise operators 2022-02-14 23:29:46 -08:00
Christine Barron
365ffc5f69 Bugfix updating NXP GET_SYSTEM_INFO command to 0xAB instead of 0x2B (as per section 9.5.3.18 in technical docs: https://www.nxp.com/docs/en/data-sheet/SL2S2602.pdf) 2022-02-13 13:27:31 -08:00
Philippe Teuwen
30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen
7a5786b9e4 fix a number of strx usages 2022-01-01 02:39:10 +01:00
iceman1001
0d38da5de2 make style 2021-12-27 19:36:42 +01:00
iceman1001
1b00c89115 fixing hf 15 dump 2021-12-25 18:51:23 +01:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
3e39689b6e Fix #1499 hf 15 restore and fix trace list -t 15 writeblock 2021-09-07 10:04:01 +02:00
Philippe Teuwen
d88c98a786 Reduce scope of a number of globals:
APDUInFramingEnable atsFSC uid_label_map apdu_in_framing_enable uidmapping KENC_type KMAC_type jpeg_header jpeg2k_header *card_types card_app2_limit iclass_config_types jooks jooks_figures nfc_secret desdefaultkeys aesdefaultkeys k3kdefaultkeys CardAddresses default_3des_keys default_pwd_pack UL_TYPES_ARRAY UL_MEMORY_ARRAY fdxbCountryMapping translateTable invTranslateTable preamble paradox_lut pcf7931_config config DiArray FiArray FArray crc64_table signalprop
2021-08-21 19:56:07 +02:00
Philippe Teuwen
ce57637c80 rename globals GraphTraceLen OddByteParity pm3_capabilities 2021-08-21 17:53:54 +02:00
Philippe Teuwen
f1f2389fb4 rename globals GraphBuffer 2021-08-21 17:39:17 +02:00
Philippe Teuwen
20738a57a8 fix hf 15 samples cliparser 2021-07-27 19:02:05 +02:00
iceman1001
e4f55556ba style 2021-05-05 21:04:48 +02:00
iceman1001
6d71b9327e ISO15693 SLIX modifications found in @g3gg0 's offical pm3 fork, looks like WIP, with more focus on a standalone mode. I took the base fcts 2021-05-04 09:40:30 +02:00
iceman1001
305903c513 rework ISO15693 defines, removing duplicates 2021-05-03 09:35:38 +02:00
iceman1001
8243ac9749 fix a sanity memory leak with reserving memory used only for json file loading.. 2021-04-30 11:16:57 +02:00
Philippe Teuwen
dc54dd305b Use CmdTraceListAlias everywhere 2021-04-19 21:43:32 +02:00
iceman1001
d2646122e7 style 2021-04-16 17:10:08 +02:00
iceman1001
dff76e81ca fix coverity CID 226452, 319217 2021-04-16 08:43:20 +02:00
Philippe Teuwen
f63125386b typos 2021-04-16 00:13:36 +02:00
iceman1001
786858aa6c fix ´hf search' / ´hf 15 reader´ looping gave false result 2021-04-15 21:51:47 +02:00
iceman1001
46bf529763 change 'hf 15 restore' now supports EML/JSON 2021-04-15 18:27:24 +02:00
iceman1001
f5147cb5cf hf 15 raw - now uses cliparser 2021-04-15 18:11:22 +02:00
iceman1001
7a04b06f52 hf 15 restore - now uses cliparser 2021-04-15 17:37:35 +02:00
iceman1001
49630f0a7f hf 15 dump - now uses cliparser 2021-04-15 12:52:47 +02:00
iceman1001
d33ba25d3f hf 15 wrbl - now uses cliparser 2021-04-15 12:31:16 +02:00
iceman1001
3e1a1abbbb hf 15 info - now uses cliparser 2021-04-15 12:15:44 +02:00
iceman1001
0f9365d2dd hf 15 rdmulti - now colors lockbyte if set 2021-04-15 11:16:23 +02:00
iceman1001
9347426456 hf 15 rdmulti - now uses cliparser 2021-04-15 11:05:57 +02:00
iceman1001
f76f98b318 hf 15 rdbl - now uses cliparser 2021-04-15 10:54:40 +02:00
iceman1001
d5aee1bd00 text 2021-04-15 10:42:47 +02:00