Commit Graph

4817 Commits

Author SHA1 Message Date
iceman1001
9c1644cd73 support loading of flipper zero .picopass files. Also adapted to naive detect if PACS w variable length encoded is present 2023-11-05 01:50:32 +01:00
iceman1001
4df28b88d3 fix 2023-11-03 15:47:45 +01:00
iceman1001
83b9057473 fix 2023-11-03 15:44:28 +01:00
iceman1001
f58b4603ba fix 2023-11-03 15:42:13 +01:00
iceman1001
dfdaa41987 wrong string formatter 2023-11-03 15:41:07 +01:00
iceman1001
b09c3ac67c default type of ENUM in C is INT. the tagtype enum broke it. Converted to DEFINES since you cant change type of an ENUM 2023-11-03 15:39:28 +01:00
iceman1001
b7028bb798 init fixes 2023-11-03 12:55:23 +01:00
iceman1001
c793363b4f pedantic fixes 2023-11-03 12:52:01 +01:00
iceman1001
ea249d7b17 fixes 2023-11-03 12:20:30 +01:00
Iceman
b405706fb8 Merge pull request #2153 from Antiklesys/master
Update cmdhficlass.c
2023-11-03 11:39:08 +01:00
iceman1001
4708940c69 wrong struct when pasting 2023-11-03 01:46:42 +01:00
iceman1001
5471d326b7 macOS complains about memory alignment when type casting. memcpy should sort it 2023-11-03 01:41:22 +01:00
iceman1001
85fafb5906 type confusing 2023-11-02 17:19:42 +01:00
iceman1001
bae03ec792 type confusing 2023-11-02 17:14:37 +01:00
iceman1001
3d91806b5b use correct define 2023-11-01 23:40:33 +01:00
iceman1001
e5d2fc3fa7 some color to MFU dump output 2023-11-01 23:40:10 +01:00
iceman1001
b17f5ef45c fix nfc MFC dump file loading 2023-11-01 23:39:42 +01:00
Jean-Michel Picod
c08e26ca26 Add alternative chip ID 2023-11-01 10:40:53 +01:00
iceman1001
6423a0ec76 file extension needed? 2023-11-01 07:57:45 +01:00
iceman1001
9f439fde4e fix some ndef decoding 2023-11-01 07:57:13 +01:00
iceman1001
98b7bd75d6 seems nfc mifare classic dumps used "blocks" instead... 2023-11-01 03:17:48 +01:00
iceman1001
a92e712cfe fix bad comparisions 2023-11-01 03:06:10 +01:00
iceman1001
ae6ba395b4 added support for loading flipper MFC/MFU dump files.\nFixed NFC DECODE to identify and handle MFU dump files properly 2023-11-01 02:43:10 +01:00
Daniel Karling
5a750da4ef Removed wrapper for desfire_print_signature
Not needed now when the unused parameter is gone.
2023-10-31 08:19:17 +01:00
Daniel Karling
ee3a223e37 Implemented 'info' command for NTAG424 2023-10-31 08:16:07 +01:00
Henry Gabryjelski
939d3d4a93 Remove incorrect message (my own regression) 2023-10-30 17:26:07 -07:00
iceman1001
17844afe9d more verbose output for failues when loading json files 2023-10-31 01:07:19 +01:00
iceman1001
c48f305483 more verbose output for failues when loading json files 2023-10-31 00:58:50 +01:00
iceman1001
f523d2917b fix string formatters 2023-10-31 00:43:44 +01:00
iceman1001
9835543a2f apply fix for v3 2023-10-31 00:03:53 +01:00
Iceman
b50b405128 Merge pull request #2155 from henrygab/mf_dump_fix
Fix mf file loading error
2023-10-30 23:59:17 +01:00
Henry Gabryjelski
f2ed7d1299 Fix mf file loading error
Code was incorrectly checking if loop variable
`i` was greater than maximum data length,
rather than checking current buffer pointer.
2023-10-30 15:46:37 -07:00
iceman1001
5b7486553f remove unused param in desfire_print_signature 2023-10-30 22:53:41 +01:00
iceman1001
75a70cbf53 updating json format for mfc 2023-10-30 22:22:22 +01:00
iceman1001
5ca29246e9 fix GH code alert 2023-10-30 16:08:42 +01:00
iceman1001
f47fb2f74d adapt data bmap to handle calls without -m. 2023-10-30 16:07:13 +01:00
iceman1001
b9dcd143d5 style 2023-10-30 13:11:52 +01:00
iceman1001
2763ead13b fix the free ctx calls 2023-10-30 13:05:46 +01:00
iceman1001
b0ee6ae67b fixes ntag424 2023-10-30 12:55:23 +01:00
Antiklesys
7cbadad163 Update cmdhficlass.c
Updated to use arraylen as suggested by iceman, but to do so without facing other issues /buggy behaviors I had to perform additional code changes.
2023-10-30 18:34:11 +08:00
Antiklesys
9fb17c78c3 Update cmdhficlass.c
Fixed ranges for configcards generation
2023-10-30 11:32:36 +08:00
Iceman
c3abea803b Merge branch 'master' into master
Signed-off-by: Iceman <iceman@iuse.se>
2023-10-29 21:13:08 +01:00
Daniel Karling
d4f8c42d3c Added additional command examples 2023-10-29 17:13:27 +01:00
Daniel Karling
912c126266 Added encrypted comms to ReadData and WriteData commands
This allows reading and writing to the "proprietary" file (number 3),
or file 2 if it's set to "full" communications mode.
2023-10-29 16:49:11 +01:00
Daniel Karling
6d290f1bae Less magic numbers, more refactoring 2023-10-29 13:50:31 +01:00
Daniel Karling
1eaf8d0e80 Fixed incorrect order of sdm access rights in command help 2023-10-28 10:33:30 +02:00
Daniel Karling
05a2302466 Implemented style 2023-10-27 18:09:38 +02:00
Daniel Karling
ad875a8c01 Refactored communication encryption 2023-10-27 17:25:48 +02:00
Daniel Karling
eb29e1a17e Cleanup
* Added some comments
 * Changed name of offsets to sdm_data since this is more apt. Not all
   of them are describing offsets
 * Fixed dumb bug in MAC refactor
2023-10-27 07:45:40 +02:00
Antiklesys
81b116c23f Fixed keyroll mode for hf ic configcard
Was able to compare the output of nfc-iclass and I identified two bugs in the generation of blocks 0x0D (was being overwritten with FF, it seems this was an original bug in the original pm3 code?)
Fixed the porting for block 15 generation.
2023-10-27 13:21:49 +08:00