iceman1001
d6af860136
adapt path separator to handle WIN32 backslash.
2022-12-31 22:30:07 +01:00
iceman1001
e77781e621
only mark CRC bytes if we have 3 or more bytes, and increase the line buffer since ansi colors eats chars
2022-12-31 10:04:30 +01:00
Iceman
259ad97004
Merge branch 'master' into feature/better_nxp_15693_identification
...
Signed-off-by: Iceman <iceman@iuse.se>
2022-12-30 09:52:15 +01:00
Hanno Heinrichs
9e0fe3ca36
Fix stack-based buffer overflow in "lf em 4x05 sniff" command
2022-12-29 13:55:24 +01:00
nvx
e44f847474
Improved NXP SLI/SLIX series tag identification
2022-12-29 22:37:50 +10:00
iceman1001
08930766cb
fix potential NULL array printing
2022-12-23 20:05:45 +01:00
iceman1001
d998fabe2f
add aid to resource file
2022-12-23 20:01:04 +01:00
Jean-Michel Picod
4375f5b91e
Avoid memory leaks with Python <3.10
2022-12-20 15:32:38 +01:00
Nitraiolo
96d8528a0a
Inverted condition in python check so it defaults to new code now.
2022-12-18 09:45:46 +01:00
Nitraiolo
997e5aac3e
Fix py_args[] population
2022-12-17 21:49:04 +01:00
Nitraiolo
912d9be2d1
Added major version into compile condition of cmdscript
2022-12-17 20:12:12 +01:00
Nitraiolo
0d2e86f99c
Conditional build of cmdscript to allow compilation with old python
...
versions (<3.10.x)
2022-12-17 15:26:36 +01:00
iceman1001
b14730d57c
fix codeql #155 - narrow type with wide type comparison in loop
2022-12-10 03:32:18 +01:00
Jean-Michel Picod
0083e0ae13
Fix embedded python not working with Proxspace.
2022-12-09 21:58:28 +01:00
iceman1001
15a848f9bb
remove old file
2022-12-09 07:46:41 +01:00
iceman1001
e364d7e03d
add updated sim module firmware v4.13, this is breaking change for smart
category commands
2022-12-09 07:36:02 +01:00
Jean-Michel Picod
b487961cbd
Moved to non-deprecated API to init Python intepreter
2022-12-06 18:07:10 +01:00
iceman1001
53b2909f04
prepping for sim module firmware upgrade file
2022-12-05 22:32:40 +01:00
Jean-Michel Picod
5bd6379b5b
Move message to debug
2022-12-05 22:05:23 +01:00
Iceman
9f589fed9a
Merge pull request #1830 from jmichelp/master
...
Smartcard module firmware 4.12
2022-12-05 20:28:25 +01:00
Jean-Michel Picod
c23c2b2aef
Rollback the firmware part
2022-12-05 20:05:28 +01:00
Jean-Michel Picod
83e6b223c4
Adapt ARM code to comply with SIM module firmware 4.12
2022-12-05 19:35:11 +01:00
Jean-Michel Picod
89702a4e6e
Add SIM module firmware 4.12 from Sentinel
2022-12-05 19:33:41 +01:00
iceman1001
38cb327991
fix #1829 Py_SetProgramName is deprecated, but was optional in our code.
2022-12-05 19:28:42 +01:00
Iceman
8502736e2c
Merge pull request #1828 from jmichelp/master
...
Fixing some ISO7816-4 logic.
2022-12-05 19:26:55 +01:00
Iceman
989b830ae3
Merge pull request #1827 from DidierA/magic_32
...
Consider different behavior of some Gen4 cards. Should fix #1822
2022-12-05 19:25:59 +01:00
Jean-Michel Picod
b70320d47d
Fixing some ISO7816-4 logic.
...
- Fixing overflow in BigBuffer if requesting to much data
- Fixing integer wrapping with the SIM module by capping APDU data
length
- Fixing chaining logic which was loosing previously received data
2022-12-05 10:54:38 +01:00
DidierA
2f4167ee74
Consider different behavior of some Gen4 cards. Should fix #1822
2022-12-05 01:02:36 +01:00
iceman1001
b557291a00
print sectors for mifare
2022-12-04 19:28:22 +01:00
iceman1001
d170f68a00
fix compilation error, and more debug statements
2022-12-04 15:34:35 +01:00
iceman1001
37100a8a18
fix compilation error
2022-12-04 15:15:24 +01:00
Iceman
ce3ca0e7d1
Merge pull request #1825 from natmchugh/master
...
Get the hitag2 dump command working as per docs
2022-12-04 13:45:57 +01:00
iceman1001
9af951c22b
fix compiling
2022-12-04 09:27:13 +01:00
iceman1001
e3a6f8fe27
look up vigik service code
2022-12-03 21:11:29 +01:00
iceman1001
e4339bd846
wip - testing of a vigik annotater
2022-12-03 20:30:13 +01:00
iceman1001
80505ca268
vigik has some more 491x
2022-12-03 20:12:58 +01:00
iceman1001
a6c09505ce
change token for !crc -> !! and added colors to it
2022-12-03 12:35:22 +01:00
nvx
4962752472
Fix trace list -r
(relative times) not working unless the -u
(microseconds) flag was also provided.
...
Also makes the `--frame` option respect microseconds and relative times as well.
2022-12-02 20:13:13 +10:00
Nat McHugh
cfc72fb5f1
Fix the dump command hitag2
2022-11-30 15:49:39 +00:00
E.Nigma
417a6076cb
Add keys
2022-11-29 09:34:32 +01:00
iceman1001
c88c3bc4f2
maur keys
2022-11-25 17:30:05 +01:00
Iceman
f9aa183382
Merge pull request #1821 from DidierA/gen4_ident
...
Add Magic Gen4 GTU detection
2022-11-25 17:23:19 +01:00
DidierA
c54db094cd
hf_mf_ultimatecard: '-w 0' now formats whole Mifare classic 4k
2022-11-25 10:16:24 +01:00
DidierA
9a0427d4d2
Add Magic Gen4 GTU detection and symbols for Gen4 GTU protocol.
2022-11-25 10:13:33 +01:00
Iceman
2453d9bc81
Merge pull request #1820 from jmichelp/master
...
Fix overflow in SPI memory when writing default key dictionnaries.
2022-11-25 07:21:09 +01:00
Iceman
f3642c1a6e
Merge pull request #1819 from toucan12/ksx6924
...
Add initialization command response interpretation on the ksx6924 (Tmoney) card
2022-11-24 03:52:43 +01:00
Iceman
bad56a74ff
Merge pull request #1818 from DidierA/hf_mfu_esave
...
use calloc(), not malloc()
2022-11-24 03:48:08 +01:00
Jean-Michel Picod
1adec4dfb2
Fix overflow in SPI memory when writing default key dictionnaries.
...
Boundaries were defined in the memory layout but weren't enforced
by the client, causing an overflow when trying to load a
dictionnary that was too big.
It's too hard to enforce it on the ARM side as the command is a
generic write.
Now that limits are defined, also outputs them as part of the
`hw status` command.
2022-11-24 03:16:58 +01:00
Geonyeob Kim
878d123a78
parse the hf ksx6924 init
response
2022-11-24 00:59:42 +09:00
Geonyeob Kim
0890884cd5
textual
2022-11-24 00:57:13 +09:00