Willy-JL
6d8ef70f28
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev --nobuild
2023-09-02 16:55:24 +02:00
MX
15c480b68a
Merge branch 'ofw-dev' into dev
2023-09-02 13:33:32 +03:00
suaveolent
d8d2b360cb
Add support for Mifare Classic 4k SAK 0x38 ATQA 0x02, 0x04, 0x08 ( #3009 )
...
Co-authored-by: suaveolent <suaveolent@users.noreply.github.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-09-01 11:22:29 +09:00
Willy-JL
1c00a0d119
Revert NFC FeliCa WIP PR (breaks more than adds)
2023-07-18 20:52:56 +01:00
Willy-JL
9d1987e661
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-07-13 20:08:56 +02:00
MX
c4b04a06bb
Merge branch 'ofw-dev' into dev
2023-07-12 21:19:16 +03:00
AloneLiberty
bf15d3ce74
NFC: Improved MFC emulation on some readers ( #2825 )
...
* NFC: Improved MFC emulation on some readers
* NFC: Improved emulation on some readers (part 2): Some Android devices don't like this
* NFC: Improved emulation on some readers (part 3): I knew that during the emulation timings are critical, but one log breaks all...
* NFC: Improved emulation on some readers (part 4): Add fixes to Detect reader and refactor code
* NFC: Improved emulation on some readers (part 5)
* NFC: Improved emulation on some readers (part 6): GUI doesn't update without delay
* NFC: Improved emulation on some readers (part 7): Reworked emulation flow, some bug fixes and improvements
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: gornekich <n.gorbadey@gmail.com >
2023-07-12 13:14:11 +04:00
MX
a6978bfd2d
WIP OFW PR 2825: NFC: Improved MFC emulation on some readers
...
Not finished yet, added in current condition for more tests
by AloneLiberty
2023-07-06 02:44:28 +03:00
Willy-JL
ebb8387545
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-06-09 16:16:33 +01:00
MX
de626626de
Merge branch 'ofw-dev' into dev
2023-06-09 16:02:32 +03:00
Astra
4900e8b7a2
[FL-3284] Fix reading Mifare Classic cards with unusual access conditions and fix emulation of unknown keys ( #2620 )
...
* I was outplayed by the C programming language
* Fix emulating empty keys as 0s
* Add exceptions for Detect Reader
* Sync api_symbols.csv for F18
* Outplayed by the C language [X2]
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-06-09 21:41:40 +09:00
Willy-JL
9ddff2a259
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-05-20 01:20:34 +01:00
MX
2b01766460
Mifare mini with sak 89 support
2023-05-18 02:38:45 +03:00
Willy-JL
58af523332
Merge branch 'ul-dev' into xfw-dev
2023-05-02 04:44:43 +01:00
MX
fe6bf3c7d6
Revert some changes
2023-05-02 02:25:52 +03:00
Willy-JL
bbddb2ac8e
Merge branch 'ul-dev' into xfw-dev
2023-04-28 21:43:56 +01:00
Astra
102dd690b7
Fix emulating empty keys as 0s
2023-04-27 00:28:21 +03:00
nullableVoidPtr
c1cb656be3
Merge branch 'dev' into nfcf
2023-03-24 18:55:58 +11:00
Astra
e90042368f
[FL-3156] Mark keys as not found when they couldn't auth successfully ( #2476 )
...
* Mark keys as not found when they couldn't auth successfully
* Improve logging and fix the reading bug
Co-authored-by: あく <alleteam@gmail.com >
2023-03-16 17:58:07 +09:00
AloneLiberty
0190a161ba
NFC: Fix 0 block write possibility in Mifare Classic emulation ( #2474 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-03-10 02:50:25 +09:00
AloneLiberty
eb5dae1cda
NFC: Support reading Mifare Classic key B from sector trailer, reading sector with B key where A key can't read block, Nfc Magic app not using NFC folder by default (in file select) ( #2437 )
...
* NFC: Support reading Mifare Classic key B from sector trailer and reusing it for other sectors
* NFC: Fix my pointer typo
* NFC: Fix reading sector with B key where A key can't read block (fixes #2413 ) and fix Nfc Magic app not using NFC folder by default (in file select)
* NFC: Fix strange bug
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-03-08 03:33:59 +09:00
あく
1eda913367
[FL-3075] Pin Reset ( #2367 )
...
* Nfc: fix PVS warnings
* Factory reset combo, initial version
* Recovery screen and correct input pin initialization
* Better pin and factory reset message
* Down to cancel factory reset
2023-02-08 01:35:49 +10:00
Krzysztof Zdulski
d035872cf6
nfc: Add mifare classic value block commands ( #2317 )
...
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-02-07 12:21:25 +09:00
nullableVoidPtr
b521761990
Merge branch 'dev' into nfcf
2023-02-05 03:24:24 +08:00
Giacomo Ferretti
126a9efd09
NFC: change from int8_t to uint8_t ( #2302 )
...
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-01-27 15:21:52 +07:00
Giacomo Ferretti
eee5c35400
NFC: add MIFARE MINI support ( #2307 )
...
* NFC: add MIFARE MINI support
* Move new value to end of enum
* nfc: added missing unit test
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-01-27 12:51:47 +07:00
Krzysztof Zdulski
8fc834090d
nfc: Fix sector reads when one block is unreadable for MIFARE Classic ( #2296 )
...
* Fix sector reads when one block is unreadable
* Auth on the correct block instead of first
* Fix in sector reader as well
* Apply patch by @gornekich
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-01-27 12:00:25 +07:00
nullableVoidPtr
d0e3bfd2e5
Merge branch 'dev' into nfcf
2022-12-29 16:15:33 +08:00
Thomas Roth
26e5527a93
Mifare dictionary attack performance improvements. ( #2173 )
...
* NFC dictionary attack performance improvements.
* Remove unnecessary assignment
2022-12-29 14:20:01 +09:00
nullableVoidPtr
94558df627
Merge branch 'dev' into nfcf
2022-12-28 17:23:43 +08:00
Georgii Surkov
8582670a34
[FL-2811] Fix PVS-Studio warnings ( #2142 )
...
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: gornekich <n.gorbadey@gmail.com >
2022-12-26 21:13:30 +09:00
nullableVoidPtr
c41ce0b782
Merge branch 'nfcf' of github.com:erakem/flipperzero-firmware into erakem-nfcf
2022-12-10 12:32:17 +11:00
Mekare
2871759877
use FuriHalNfcADevData instead of using each of its fields in function calls
2022-12-07 22:24:44 +01:00
Mekare
72d9ad83dc
mf_classic_get_classic_type: ATQA1 is used
2022-12-07 21:31:55 +01:00
Mekare
c7d60e5f11
mf_classic_check_card_type: ATQA1 is used
2022-12-07 21:19:35 +01:00
gornekich
9a21dae29c
[FL-3008], [FL-2734], [FL-2766], [FL-2898] NFC bug fixes ( #2098 )
...
* nfc: rework mf classic update
* nfc: rename cache folder to .cache
* nfc: fix ATQA order bytes in nfc files
* file browser: add hide dot files option
* nfc: fix iso-14443-4 uid cards emulation
* nfc: fix unit tests
Co-authored-by: あく <alleteam@gmail.com >
2022-12-07 19:52:44 +09:00
Astra
820afd2aec
NFC Unit tests part 1.1 ( #1927 )
...
* Mifare Classic 1/4K, 4/7b uid, NFC-A: NFC-A is not complete yet, as there are no 4b uid tests. Also, Mifare Classic tests don't cover the key cache yet.
* NFC unit tests require access to the NFC app
* Made nfc_device_save accept full path as an argument
* Move from cstrs to furi strings and fix logic
* nfc tests: fix memory leak
* nfc: add mf_classic_get_total_blocks() to API
* nfc tests: simplify nfc tests
* nfc: fix memory leak in shadow file saving
* nfc: fix set uid scene
* nfc: fix saving files
* nfc: fix preload nfc file path
* nfc: remove comments
Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com >
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: あく <alleteam@gmail.com >
2022-11-11 01:20:35 +09:00
gornekich
93a6e17ce5
[FL-2933] Mf Classic initial write, update, detect reader ( #1941 )
...
* nfc: introduce nfc write
* nfc: add write logic
* nfc worker: add write state
* nfc: add mfc update logic
* nfc: add update success logic
* nfc: add custom card for detect reader
* nfc: update write logic
* nfc: add halt command, add notifications
* nfc: add write fail scene
* nfc: fixes and clean up
* nfc: fix navigation ad notifications
* nfc: fix detect reader nfc data setter
Co-authored-by: あく <alleteam@gmail.com >
2022-10-29 01:10:16 +09:00
Astra
55f8beef9f
[FL-2876] MFC Improvements Part 2/2 ( #1868 )
...
* Remove keys incorrectly added by the key cache
* Improve responsiveness while checking for re-used keys and fix skipping keys when card is removed
* Actually check if the card is completely read
* Discard incorrect keys on a lower level
* nfc: clean up
Co-authored-by: gornekich <n.gorbadey@gmail.com >
2022-10-14 01:23:29 +09:00
Sergey Gavrilov
4000f0cac5
[FL-2870] Printf function attributes ( #1841 )
...
* Furi strings: printf attribute
* Logs: printf attribute
* Plugins: adapt
* Plugins: accommodate
* Unit tests: accommodate
Co-authored-by: あく <alleteam@gmail.com >
2022-10-07 22:35:15 +09:00
Astra
01eb92db06
Mifare Classic emulation fixes ( #1566 )
...
* Add fix for field
* More small bugfixes
* Clean up
2022-08-10 01:45:52 +10:00
gornekich
173c94156d
NFC: Add Skylanders support ( #1553 )
...
* nfc: add skylanders support
* nfc: format sources
Co-authored-by: あく <alleteam@gmail.com >
2022-08-08 00:33:14 +09:00
gornekich
9c59bcd776
[FL-2605] NFC new design ( #1364 )
...
* nfc: add new read scene
* lib: refactore nfc library
* mifare desfire: add read card fuction
* lib nfc: add auto read worker
* nfc: add supported cards
* nfc: add mifare classic read success scene
* nfc: add troyka support
* submodule: update protobuf
* nfc: mifare classic keys cache
* nfc: rework mifare classic key cache
* Correct spelling
* nfc: add user dictionary
* nfc: introduce block read map in fff
* nfc: rework dict attack
* nfc: improve dict attack
* nfc: rework mifare classic format
* nfc: rework MFC read with Reader
* nfc: add gui for MFC read success scene
* nfc: fix dict attack view gui
* nfc: add retry and exit confirm scenes
* nfc: add retry and exit scenes navigation
* nfc: check user dictionary
* nfc: remove unused scenes
* nfc: rename functions in nfc worker
* nfc: rename mf_classic_dict_attack -> dict_attack
* nfc: change scenes names
* nfc: remove scene tick events
* nfc: rework dict calls with buffer streams
* nfc: fix notifications
* nfc: fix mf desfire navigation
* nfc: remove notification from mf classic read success
* nfc: fix read sectors calculation
* nfc: add fallback for unknown card
* nfc: show file name while emulating
* nfc: fix build
* nfc: fix memory leak
* nfc: fix desfire read
* nfc: add no dict found navigation
* nfc: add read views
* nfc: update card fix
* nfc: fix access bytes save
* nfc: add exit and retry confirm to mf ultralight read success
* nfc: introduce detect reader
* nfc: change record open arg to macros
* nfc: fix start from archive
Co-authored-by: Astra <astra@astrra.space >
Co-authored-by: あく <alleteam@gmail.com >
2022-07-27 00:30:49 +09:00