iceman1001
f2185b3933
use strcat instead of strncat, we are adding same as we removed
2023-01-09 00:48:42 +01:00
iceman1001
5289308545
missing a bracket
2023-01-09 00:03:46 +01:00
iceman1001
df05e28923
added a fingerprint test for OTP algos
2023-01-08 21:54:46 +01:00
iceman1001
19dd580b3b
adapt file path checks
2023-01-08 21:52:30 +01:00
Iceman
171f9d4fcd
Merge pull request #1847 from wh201906/fix-flash-suggest
...
Fix the steps when updating from old version
2023-01-08 13:27:04 +01:00
iceman1001
fd39493cac
cppcheck fixes
2023-01-06 23:57:02 +01:00
iceman1001
9888eef8dc
changed hf mf wrbl and view command to look for strict readonly ACL in the data.
2023-01-06 23:53:25 +01:00
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
Self Not Found
b2d03e8c30
Merge branch 'RfidResearchGroup:master' into fix-flash-suggest
2023-01-06 14:20:48 +08: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
Self Not Found
1f7d3d85a7
Fix the steps when updating from old version
...
When updating from a old version on Windows, the `pm3-flash-all` always
fails even after updating the bootloader. This is because it detects
the hardware by the serial number "ICEMAN", which only appears after
flashing the fullimage.
2022-12-22 12:24:20 +08: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
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
83e6b223c4
Adapt ARM code to comply with SIM module firmware 4.12
2022-12-05 19:35:11 +01:00
iceman1001
38cb327991
fix #1829 Py_SetProgramName is deprecated, but was optional in our code.
2022-12-05 19:28:42 +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
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
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
Iceman
f9aa183382
Merge pull request #1821 from DidierA/gen4_ident
...
Add Magic Gen4 GTU detection
2022-11-25 17:23:19 +01:00