Merge pull request #2198 from datatags/interactive-mfc-sim-return

Fix Mifare Classic sim with interactive and reader attack mode never returning console
This commit is contained in:
Iceman 2023-12-06 21:42:26 +01:00 committed by GitHub
commit 88e84f57bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
- Fixed `hf iclass dump` truncating AA2 blocks and improve reliability (@nvx)
- Added some info about UMC in "doc/magic_cards_notes.md" (@temskiy)
- Added standalone mode `hf_unisniff` combining 14a/14b/15 sniffing with extra flash save options (@hazardousvoltage)
- Fixed `hf mf sim -ix` never returning console (@datatags)
## [Faraday.4.17511][2023-11-13]
- Fixed Python support of `experimental_client_with_swig` (@doegox)

View file

@ -3890,6 +3890,7 @@ static int CmdHF14AMfSim(const char *Cmd) {
nonces_t data[1];
memcpy(data, resp.data.asBytes, sizeof(data));
readerAttack(k_sector, k_sectors_cnt, data[0], setEmulatorMem, verbose);
break;
}
//iceman: readerAttack call frees k_sector. this call below is useless.
showSectorTable(k_sector, k_sectors_cnt);