update mifare nested

This commit is contained in:
MX 2023-07-10 16:48:18 +03:00
parent 27259c0cff
commit e56b970eb4
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83
3 changed files with 8 additions and 4 deletions

View File

@ -21,5 +21,5 @@ App(
fap_author="AloneLiberty",
fap_description="Recover Mifare Classic keys",
fap_weburl="https://github.com/AloneLiberty/FlipperNested",
fap_version="1.5.0"
fap_version="1.5.1"
)

View File

@ -21,7 +21,7 @@
#include <gui/modules/variable_item_list.h>
#include "mifare_nested_icons.h"
#define NESTED_VERSION_APP "1.5.0"
#define NESTED_VERSION_APP "1.5.1"
#define NESTED_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNested"
#define NESTED_RECOVER_KEYS_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNestedRecovery"
#define NESTED_NONCE_FORMAT_VERSION "3"

View File

@ -478,9 +478,13 @@ SaveNoncesResult_t* mifare_nested_worker_write_nonces(
for(uint8_t sector = 0; sector < sector_count; sector++) {
for(uint8_t key_type = 0; key_type < 2; key_type++) {
if(nonces->nonces[sector][key_type][tries]->invalid) {
result->invalid++;
if (tries == 0) {
result->invalid++;
}
} else if(nonces->nonces[sector][key_type][tries]->skipped) {
result->skipped++;
if (tries == 0) {
result->skipped++;
}
} else if(nonces->nonces[sector][key_type][tries]->collected) {
if(nonces->nonces[sector][key_type][tries]->hardnested) {
FuriString* hardnested_path = furi_string_alloc();