nvx
49f7ae57dc
Changed hf mf gdmcfg/gdmsetcfg commands to support Gen1a and GDM Alt magic wakeups
...
This was implemented with a new pair of RPCs CMD_HF_MIFARE_READBL_EX and CMD_HF_MIFARE_WRITEBL_EX
these RPCs support all combinations of read/write commands, wakeup, and auth options so
in time can replace the other MFC read/write commands too reduce armsrc code size
and complexity.
Also added config parsing for the gdm cfg block when reading with hf mf gdmcfg and
explicitly with hf mf gdmparsecfg.
2024-01-26 20:09:08 +10:00
Henry Gabryjelski
efce76db53
more const for iso14443a
2023-08-14 22:07:04 -07:00
iceman1001
5faf625032
adapt name to match code style
2023-07-27 18:02:53 +02:00
kormax
a9cba02514
Move custom polling frame generation logic to client
2023-07-16 17:39:32 +03:00
kormax
45ca9ab4d6
Reduce struct memory footprint by reducing array sizes
2023-07-16 16:56:07 +03:00
kormax
c4f1b0768d
Pass polling config via pointer instead of by-value, thus saving RAM
2023-07-16 16:49:31 +03:00
iceman1001
8fc05ad2a5
style
2023-07-16 15:30:43 +02:00
kormax
0094318515
Make ISO14443-A polling method more flexible
2023-07-16 14:46:30 +03:00
iceman1001
a63257799a
test of faster pack response for "hf mfu sim -t 7"
2022-12-13 21:47:25 +01:00
Philippe Teuwen
9849156f37
arm 14a/mifare: Fix codeql warnings
2022-02-27 14:54:11 +01:00
iceman1001
98d291f5b1
fix hf 14a sim, on device side a sneaky detection if data started with zero, it would treat it as uid is in emulator memory. Also fixed a size issue on flag
2022-01-22 18:29:11 +01:00
iceman1001
e550f8ccc8
cppcheck fixes for const
2022-01-06 15:40:11 +01:00
Philippe Teuwen
b703bb746b
Adapting license headers, WIP
2022-01-06 02:20:38 +01:00
iceman1001
0e5e9163a1
added apple magsafe polling, thanks to @tcprst
2021-10-23 18:54:44 +02:00
iceman1001
37b89c7b11
add ehanced contactless polling to 14a reader/raw commands
2021-10-17 11:38:37 +02:00
iceman1001
7910464a85
cppchecker
2021-02-28 19:01:38 +01:00
cyberpunk-re
5486bdd18c
Added 'mf mfu sim t 7 n <numreads>' - MFU emulation now supports automatic exit after <num> blocks read.
2020-11-30 20:07:51 +00:00
Philippe Teuwen
a8b92f48a7
reorganize few global vars & fcts
2020-11-05 23:05:52 +01:00
Philippe Teuwen
f9452ee19a
Group 14a sim response indexes in header
2020-11-03 02:32:41 +01:00
Philippe Teuwen
b751354ea2
hf 14a: add config loopholes to deal with badly configured cards: invalid ATQA, invalid BCC, invalid SAK
2020-09-07 00:50:27 +02:00
Salvador Mendoza
d98897c3d5
Update iso14443a.h
2020-04-24 16:42:40 +02:00
Salvador Mendoza
ae1cb436ae
Update iso14443a.h
2020-04-24 16:42:40 +02:00
iceman1001
0c8ead0bd6
fix: forgot some changes
2019-12-30 13:11:44 +01:00
Philippe Teuwen
763c94334b
add missing includes and fix mf1ksim usage in hf_colin standalone mode
2019-08-13 17:39:48 +02:00
Philippe Teuwen
d19754567d
summer restructuring:
...
* .h include only the strict minimum for their own parsing
* this forces all files to include explicitment their needs and not count on far streched dependencies
* this helps Makefile to rebuild only the minimum
* according to this rule, most standalone .h are now gone
* big app.h is gone
* remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
* bring zlib to common/
* bring stuff not really/not yet used in common back to armsrc/ or client/
* bring liblua into client/
* bring uart into client/
* move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
* treat deps in armsrc/ as in client/
* client: stop on warning (-Werror), same as for armsrc/
Tested on:
* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen
25f358955b
make hf search robust to various HF configurations
2019-08-03 22:14:12 +02:00
iceman1001
fbff51c88d
Add: hf thinfilm info - support to read and decode Kovio Thinfilm NCT tags
2019-08-01 09:39:33 -04:00
Philippe Teuwen
c0eb19acb1
remove tabs
2019-07-24 00:52:24 +02:00
iceman1001
b05796c7c4
chg: hf mf dbg\nchg: hf mf sim\nchg: hf 14a sim - uses NG
2019-05-26 13:42:27 -04:00
Philippe Teuwen
27f7057961
Rename few USB -> PM3 to avoid misleading interpretations
2019-04-30 21:10:11 +02:00
Philippe Teuwen
482db05741
Rename few stuff for consistency
2019-04-18 12:49:51 +02:00
Philippe Teuwen
be15ad7fec
Viva la revolucion
2019-04-17 21:30:01 +02:00
Eloff
249352a1e7
'hf mf sim' + 'hf 14a sim' now back to stable
2019-04-09 23:57:10 +03:00
iceman1001
ac88c435f6
remove old iso14443crc.c, fully replaced by crc16.c functions.
2019-04-09 10:12:15 +02:00
Eloff
f13f7f4cbb
Pull request #145 . Next part of changes
2019-04-08 19:15:15 +03:00
Philippe Teuwen
9c3a520300
iso14443a_select_card resp_data -> p_card
2019-04-07 12:18:20 +02:00
iceman1001
c9b3dd32d1
remove random
2019-04-07 11:00:28 +02:00
Philippe Teuwen
a52a0bf537
args names
2019-04-06 20:21:03 +02:00
Philippe Teuwen
41f36ca20b
make style
2019-04-06 19:09:01 +02:00
Philippe Teuwen
b666c27f3c
Merge branch 'master' into hf_mf_sim
2019-04-06 01:22:15 +02:00
Philippe Teuwen
26eb54b965
style
2019-04-06 01:00:54 +02:00
vratiskol
0578e19fba
Merge remote-tracking branch 'upstream/master' into hf_mf_sim
2019-04-05 03:48:25 +02:00
Eloff
19cf50a6ff
Mifare Ultralight/NTAG simulation. Add WRITE and COMPATIBLE_WRITE support
2019-04-03 22:26:18 +03:00
vratiskol
64c3ae8b34
hf mf sim
2019-03-15 21:04:25 +01:00
Philippe Teuwen
0373696662
make style
2019-03-10 00:00:59 +01:00
Philippe Teuwen
8a7c6825b5
armsrc: fix mix of spaces & tabs
2019-03-09 20:34:41 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
merlokk
cf21f046d8
arm side
2019-01-30 18:15:47 +02:00
iceman1001
3ae871f534
CHG: 'hf 14a antifuzz' - original implementation by @asfabw, reworked a bit - WORK IN PROGRESS -
2019-01-07 09:32:16 +01:00
merlokk
0cfa47e628
merged iso14 arm side
2018-11-08 20:29:08 +02:00