Jean-Michel Picod
16410b064d
Fix format string to please CodeQL
2023-01-06 22:06:07 +01:00
Jean-Michel Picod
a7980d8e8a
Use a typed constant and see if that makes CodeQL happy :)
2023-01-06 21:52:26 +01:00
Jean-Michel Picod
15b541c2ea
Add command piv authsign
2023-01-06 21:36:08 +01:00
Jean-Michel Picod
efc685864a
Add PIV command to scan all data containers on a PIV card.
2023-01-06 21:23:22 +01:00
Jean-Michel Picod
663fd4efc9
Remove unused error code.
...
Will be added back for the PIN check command
2023-01-06 18:28:53 +01:00
Jean-Michel Picod
6e084d82d5
First two PIV commands
2023-01-06 18:19:31 +01:00
Jean-Michel Picod
80a4698a7f
Initial rework on TLV to avoid mem leaks
2023-01-06 13:03:10 +01:00
nvx
4180635218
Add --shallow option to hf iclass reader commands to do shallow (ASK) reader modulation instead of OOK.
2023-01-04 23:59:03 +10:00
iceman1001
53808f2c7f
sanity checks and style
2022-12-31 23:07:54 +01:00
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