Commit graph

3885 commits

Author SHA1 Message Date
Piotr Rzeszut
d1db0aa799 Extending SPIFFS into last page of the SPI FLASH 2024-12-26 15:04:05 +01:00
Piotr Rzeszut
0e0dcf4f4e Fix memory erase before writing keys dictionaries for SPI flash with different page number than 4 - always erase on the last page. 2024-12-07 16:48:59 +01:00
Piotr Rzeszut
88d9345bc7 Correct list of flash pages to be erased after extenging Mifare flash dictionary area 2024-12-07 13:12:01 +01:00
Lucifer Voeltner
e416080ae8
make the help message even clearer, and fix a bug featuring me being unable to count 2024-12-03 10:23:41 +07:00
Lucifer Voeltner
4adf663300
Fix Gen 3 APDU block 0 SAK not being written correctly 2024-12-01 16:27:35 +07:00
Philippe Teuwen
830549b474 hf mf isen: add collect_fm11rf08s_without_backdoor option 2024-11-25 00:53:57 +01:00
Philippe Teuwen
c4b8569d87 fix CmdHF14AMfISEN error handling 2024-11-24 12:26:07 +01:00
iceman1001
daff8228a2 Revert "Release v4.19552 - Orca"
This reverts commit a039ac18cc.
2024-11-22 12:15:19 +01:00
iceman1001
a039ac18cc Release v4.19552 - Orca 2024-11-22 12:15:19 +01:00
Iceman
f66d5970be
Merge branch 'master' into fix_spiffs_tree_linkname
Signed-off-by: Iceman <iceman@iuse.se>
2024-11-21 18:48:58 +01:00
ANTodorov
99d5a72879
fixed symlink name in mem spiffs tree
the used strtok(...,".")` is cutting the name to the first dot
linkname.txt.lnk -> linkname

with the fix it is
linkname.txt.lnk -> linkname.txt
2024-11-21 14:28:39 +02:00
ANTodorov
7b99bfa3d6
fix reported file/link names when mem spiffs wipe 2024-11-21 12:31:48 +02:00
iceman1001
ab676287d2 fix breaking builds 2024-11-20 23:48:14 +01:00
iceman1001
2ad635ce57 style 2024-11-20 23:32:02 +01:00
ANTodorov
76aaef96cc
rework addressing the review comments
Reverted 'mfr_id' to 'manufacturer_id'
Moved devices table definition to flashmem.h
Single global variable 'spi_flash_pages64k'
The local structure holding the actual device data is used in firmware.c only

difference in code:
```
   text    data     bss     dec     hex filename
 223189  138560    6067  367816   59cc8 ./armsrc/obj/fullimage.elf <-- c9e751d darkside: fix backdoor support

 223437  138624    6075  368136   59e08 ./armsrc/obj/fullimage.elf <-- this commit
 ======================================
   +248     +64      +8    +320
```
2024-11-20 14:10:02 +02:00
ANTodorov
f3fa732062
refactor spi flash detection 2024-11-19 09:35:26 +02:00
ANTodorov
861c7efd26
fix missing offsets
the data was written, but it should be readable too...
2024-11-17 22:16:35 +02:00
ANTodorov
48ec109a1e
use all spi flash v0.1
* introduced a new communication command CMD_FLASHMEM_PAGES64K to get the number of 64k pages
* "the last page" is a special, holding the dicts and some other stuff, relocated to there
* raised timeout when wiping a mem page (W25Q16 looks a bit slower than W25X20BV)
* loop all pages in Flash_WipeMemory()
2024-11-17 19:03:15 +02:00
iceman1001
3a3ea75d12 style 2024-11-15 14:28:14 +01:00
iceman1001
d398576fc7 the 14a sim had a wrong size check of the irats pointer instead of actual size. Only way around it was to add the length at function call 2024-11-15 13:27:39 +01:00
Piotr Rzeszut
a9c10c872e Changed max sector for AUTH to be executed only once and result cached in local variable 2024-11-15 13:13:48 +01:00
Piotr Rzeszut
18db45b00e mifare simulation: do not respond for authentication attempts for sectors out of range for selected mifare type
Resolves #2635
2024-11-15 02:32:20 +01:00
iceman1001
133fe505f6 remove debug 2024-11-14 22:14:41 +01:00
pingu2211
514fe677d6 rename all mifarehost functions to match style guide 2024-11-14 09:33:57 +11:00
Antiklesys
0b7d76d7cd Fixed keygen bug in legrec
Fixed legrec bug that was generating blank keys after misalignment in commit: 110dfab668
2024-11-07 19:20:50 +08:00
Antiklesys
110dfab668 Improved algorithm for hf iclass legrec
Improved algorithm for hf iclass legrec by taking in account the hash0 limitations for the ending bits distributions of each key bite, thus reducing the key entropy and number of required tries from 2^24 to almost 2^19
2024-11-06 16:52:48 +08:00
Philippe Teuwen
46813e0e50 hf mf isen: rewrite counters, add specific NONCE_SUPERSTATIC case (when first nt == nested nt) 2024-11-05 17:07:54 +01:00
Philippe Teuwen
6706bdb13f hf mf isen: detect special static nonce nt_first==nt_nested 2024-11-05 09:30:22 +01:00
iceman1001
b3285cce8a style 2024-11-02 15:13:40 +01:00
iceman1001
9ddd833cba fix string handling and styles 2024-11-02 14:50:31 +01:00
nvx
ef0cf93a5d fix typos and regenerate command list 2024-11-02 23:34:38 +10:00
nvx
6d7fcc642a add gdm flag to hf mf c* commands
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
2024-11-02 22:22:13 +10:00
nvx
df5e2ce05b improve cardhopper to improve reliability when parts of the packet are buffered 2024-11-02 19:53:23 +10:00
Iceman
7c4fd9a46a
Merge pull request #2595 from n0emis/hitags-sim-timing
hitagS sim: fix timing of receive
2024-10-28 01:26:02 +01:00
Iceman
1229d7fd93
Merge pull request #2580 from n0emis/hitags-byteorder
lf hitag hts: use correct byteorder for authentication
2024-10-28 01:25:32 +01:00
Ember 'n0emis' Keske
843bb46705 hitagS sim: fix timing of receive
probably a regression from timer changes in 911766b
2024-10-27 13:17:42 +01:00
Ember 'n0emis' Keske
612aae8658 lf hitag hts: correct byteorder for authentication 2024-10-26 22:55:02 +02:00
Iceman
57d3de2af6
Merge pull request #2589 from douniwan5788/style
style
2024-10-24 13:25:02 +02:00
Simone Spadino
a1ca2fefa2
Merge branch 'RfidResearchGroup:master' into feature/staticnested 2024-10-23 18:18:31 +02:00
Iceman
49ac2339b5
Merge branch 'master' into master
Signed-off-by: Iceman <iceman@iuse.se>
2024-10-23 17:59:52 +02:00
Iceman
6de21ed0c3
Merge pull request #2588 from douniwan5788/hts_read_page
fix: Hitag S Read page failed
2024-10-23 17:58:40 +02:00
Simone Spadino
f1614b4c77
Merge branch 'RfidResearchGroup:master' into feature/staticnested 2024-10-23 17:57:52 +02:00
Iceman
a2b18ddd22
Merge branch 'master' into hts_resp_protocol
Signed-off-by: Iceman <iceman@iuse.se>
2024-10-23 17:44:07 +02:00
Iceman
3aeefde14d
Merge pull request #2582 from jakkpotts/fix-hf_young_syntax
Fixed syntax error in flags declaration in hf_young.c
2024-10-23 17:36:24 +02:00
douniwan5788
f049b568c5 style 2024-10-23 22:25:30 +08:00
douniwan5788
046488664b fix: Hitag S Read page failed 2024-10-23 22:24:53 +08:00
douniwan5788
911766b212 add: support for all Hitag S response protocol mode 2024-10-23 22:08:52 +08:00
Simone Spadino
212f108a91 Auto distance measurement 2024-10-23 11:53:49 +02:00
Simone Spadino
846937a684 Support for static nonces card with offset 0 2024-10-23 00:24:07 +02:00
jakkpotts
0cd6e950b0 Fixed syntax error in flags declaration in hf_young.c 2024-10-20 02:47:55 -07:00