iceman1001
aa05e2eeae
textual and cleanup
2023-03-21 20:55:57 +01:00
iceman1001
e1d90b3de2
annotate the GDM magic write
2023-03-21 19:58:31 +01:00
iceman1001
07f6162780
added support for the magic card called GDM.
2023-03-21 19:49:52 +01:00
Iceman
48d9503a5b
Merge pull request #1943 from 0xdeb/legic_info
...
Legic info command for other sources, out of bounds memory
2023-03-19 18:37:10 +01:00
iceman1001
9399d4e400
fix hex 2 binstring functions
2023-03-19 12:49:38 +01:00
iceman1001
23926a7a14
fix leading zero call
2023-03-19 12:48:47 +01:00
iceman1001
69e43b362e
fix asn1 parsing of dates
2023-03-19 12:47:24 +01:00
Fabian Schneebauer
fb46e8bae7
Merge functionality of view and dinfo.
2023-03-16 20:38:13 +01:00
Fabian Schneebauer
03f6ad02f3
legic: info command available for more sources, add memory check.
2023-03-16 17:01:57 +01:00
iceman1001
1cc19c3429
asn1 decoder now handles big integers
2023-03-13 22:09:30 +01:00
iceman1001
04173fc961
added bit string printing in ASN1 decoder
2023-03-13 21:36:59 +01:00
iceman1001
d11d1fbc33
data asn1 now decodes timestamp correct... Or I hope so. And strings values are now highlighted with GREEN
2023-03-12 19:18:55 +01:00
iceman1001
4a7713070b
fix object strings. Integers is now 64b which isnt enough. Will need to use big_num here
2023-03-12 18:59:53 +01:00
iceman1001
5938938226
print the string and hex
2023-03-12 18:54:53 +01:00
iceman1001
d02e8daba0
Changed CLI max string argument length limit from 512 to 4096. data asn1
now handles 2048 hex bytes input
2023-03-12 09:53:23 +01:00
Christian Herrmann
2e8bacb00f
Fixed data asn1
- now handles bad input better by doing correct root free of obj
2023-03-11 18:59:33 +01:00
iceman1001
906e3f4c32
added pk for signature verification
2023-03-11 12:07:31 +01:00
iceman1001
70f47aa93e
added a new public key found for MIFARE Plus troika cards
2023-03-11 12:02:51 +01:00
Iceman
1b9841cc6e
Merge branch 'master' into master
...
Signed-off-by: Iceman <iceman@iuse.se>
2023-03-11 07:53:52 +01:00
wh201906
adcfab2775
Fix hardnested.cmake
2023-03-11 00:47:24 +08:00
wh201906
0f206ccef4
Fix client build on Android
...
Tested with:
cmake 3.10.2.4988404/3.24.1
ndk 25.2.9519653
Build command:
cmake \
-DCMAKE_TOOLCHAIN_FILE=/home/gitpod/androidsdk/ndk/25.2.9519653/build/cmake/android.toolchain.cmake \
-DANDROID_ABI=armeabi-v7a \
-DANDROID_NATIVE_API_LEVEL=android-19 \
-DSKIPBT=1 -DSKIPPYTHON=1 -DSKIPPTHREAD=1
(armeabi-v7a, arm64-v8a, x86 and x86_64 are all tested)
2023-03-11 00:27:48 +08:00
GuruSteve
917b37178e
Updated verbiage WRT KeyAccess to make it clearer
2023-03-09 16:34:50 -07:00
astrid rowland
f56e066e50
accidentally a typo, thanks vim
2023-03-08 13:24:12 -06:00
astrid rowland
68c74fd3ae
removed unconfirmed unleashed keys
2023-03-08 13:14:20 -06:00
astrid rowland
adefd302f5
cleaned up original patch (same keys), added new keys from The Horde
2023-03-08 12:53:43 -06:00
Self Not Found
dba8d811fd
Link ws2_32
2023-03-06 22:05:41 +08:00
wh201906
0f70df5de3
Add TCP connection support on Windows
...
The Windows Sockets 2 API is similar to the BSD Sockets API,
so I can reuse a lot of code in uart_posix.c
2023-03-06 19:55:41 +08:00
iceman1001
7abfff4095
moved and unified some reverse array fct
2023-03-05 19:19:15 +01:00
Iceman
32a06758bb
Merge pull request #1931 from chl337/master
...
HF15: Write / Read when is UID is passed as argument
2023-03-05 08:38:30 +01:00
iceman1001
bd99523edc
style
2023-03-05 08:22:21 +01:00
iceman1001
7584a7a617
style
2023-03-05 08:22:01 +01:00
iceman1001
47908df32e
more text changes to hf tesla info
2023-03-05 08:21:09 +01:00
iceman1001
37ecae658f
added data num command. Takes dec or hex or binary and convert between them. Uses big_int so no issue with hex -> dec limits. It also does a Prime number check, where it will a line in the case of a number happens to be prime.
2023-03-05 08:20:10 +01:00
iceman1001
514626a0ab
init array
2023-03-04 21:26:12 +01:00
iceman1001
855f13d763
string formatter
2023-03-04 21:25:44 +01:00
iceman1001
c6a8f8cc89
fix test
2023-03-04 21:25:23 +01:00
iceman1001
aebbdaea2d
fix CID #405223 - use after free, all callers must handle bad returns properly
2023-03-04 20:36:28 +01:00
iceman1001
f9da8615e4
fix CID #405224
2023-03-04 20:32:34 +01:00
iceman1001
7504413f0b
fix CID #405225
2023-03-04 20:29:39 +01:00
iceman1001
b6be8d9532
fix CID # 405226
2023-03-04 20:24:20 +01:00
iceman1001
a0feb580c2
fix CID #405227 - wrong comparision for the first fix
2023-03-04 20:20:10 +01:00
iceman1001
95a19405d8
fix CID #405230 - array too small
2023-03-04 20:17:06 +01:00
iceman1001
173841b533
fix CID #405231 - resource leak
2023-03-04 20:14:09 +01:00
iceman1001
b3652c28be
fixc CID #405232 - init array
2023-03-04 20:12:00 +01:00
iceman1001
8f20eed914
fix CID #405232
2023-03-04 20:10:46 +01:00
iceman1001
060f452530
fix text
2023-03-04 20:03:53 +01:00
Iceman
5cf0bf7620
Merge pull request #1928 from cha0tic87/master
...
Adding bruteforcing functionality to HID facility code
2023-03-04 19:17:31 +01:00
Chris Smith
f424667d0c
Fix syntax
2023-03-04 10:40:19 -07:00
DidierA
d319b0dee3
hf mfdes: Use hex in error message, consistent with cmdline
2023-03-03 16:03:30 +01:00
DidierA
13e43b1eb5
hf mfdes: Examples where using -s instead of --schann
2023-03-03 15:57:35 +01:00
ch3lt
db7598ff6b
Merge remote-tracking branch 'origin'
2023-03-01 11:57:25 +01:00
weejhsteve
194895e9af
Update mfc_default_keys.dic
...
Tidying up. forgot leave a blank comment line.
Signed-off-by: weejhsteve <92703857+weejhsteve@users.noreply.github.com>
2023-03-01 15:48:22 +08:00
weejhsteve
b486f3bba4
Update mfc_default_keys.dic
...
# Food GEM
6686FADE5566
Signed-off-by: weejhsteve <92703857+weejhsteve@users.noreply.github.com>
2023-03-01 11:23:14 +08:00
Chris Smith
cd5fa61683
Update help text
2023-02-28 07:28:06 -07:00
Chris Smith
3bcac0cc64
Updated arguments and help text
2023-02-28 07:24:24 -07:00
Chris Smith
21a1defa88
Fix formatting
2023-02-27 13:06:38 -07:00
Chris Smith
702716b597
Fix formatting
2023-02-27 13:05:16 -07:00
Chris Smith
85ca342567
Add bruteforce functionality to HID facility code
2023-02-27 13:02:16 -07:00
Augusto Zanellato
7834db8be7
Add CHANGELOG.md entry, bump script version
2023-02-26 15:45:28 +01:00
Augusto Zanellato
b05a2d4525
Add mfc signature support to gen4 lua script
2023-02-26 15:45:28 +01:00
iceman1001
dd7c9daa8d
fix CID #405002 - invalid string formatter
2023-02-23 20:53:53 +01:00
Iceman
5689d95301
Merge pull request #1896 from GuruSteve/gProxII-XOR
...
Added XOR key extraction and flag to Guardall G-Prox II
2023-02-23 12:34:49 +01:00
Matthew Jackson
75fd0c2034
fixed another missing CLIParserFree(ctx);
...
Signed-off-by: Matthew Jackson <123390480+mjaksn@users.noreply.github.com>
2023-02-23 01:52:07 -06:00
Matthew Jackson
690eb0fc8a
add missing CLIParserFree(ctx) , init variable to zero, and small text change
2023-02-22 07:40:04 -06:00
Matthew Jackson
23e0268a1a
Merge branch 'master' into 213TT
2023-02-22 07:34:05 -06:00
ch3lt
a39b474884
Fixed CmdHF15Write/Readblock/Readmulti bug on sanity check when '-u <uid>' argument is passed in command. Formating.
2023-02-22 10:12:18 +01:00
iceman1001
b86e29fca1
init structure with zeros
2023-02-21 04:42:51 +01:00
iceman1001
4807fae885
in private case we calloc, need to free that memory
2023-02-21 04:42:24 +01:00
Iceman
0f4d6492f7
Merge pull request #1922 from DidierA/fix_cmdlist
...
bugfix: wrong text in hf mfdes list when no data exists in trace
2023-02-21 03:47:56 +01:00
DidierA
3e952b8036
bugfix: wrong text in hf mfdes list when no data exists in trace
2023-02-21 01:50:33 +01:00
Matthew Jackson
5f56ffcbf1
Merge branch 'master' into 213TT
2023-02-20 02:18:57 -06:00
Matthew Jackson
147475ab40
CHANGELOG.md and text changes
2023-02-20 02:07:07 -06:00
Iceman
9b331b37ae
Merge pull request #1919 from henrygab/no_buffer_overflow
...
Prevent buffer overflow in `AppendGraph()`
2023-02-19 10:58:57 +01:00
Matthew Jackson
3399cbd4f0
support for NTAG213TT tamper feature
2023-02-18 23:48:32 -06:00
iceman1001
029d5aa358
fix cid #404827 - resource leak
2023-02-18 22:51:44 +01:00
Henry Gabryjelski
28af1a870d
Prevent buffer overflow in AppendGraph()
2023-02-18 12:50:05 -08:00
Henry Gabryjelski
48ca513a96
updates from make style
2023-02-17 17:27:07 -08:00
iceman1001
944d6ee596
simpler
2023-02-17 17:51:59 +01:00
Boris Fersing
5d4fe5b8df
- Mark the credentials as decrypted when decrypting a dump
...
- In the view command, show the credentials if the input dump is decrypted
2023-02-17 10:18:00 -05:00
iceman1001
bfd2fc2a56
Merge branch 'master' of github.com:RfidResearchGroup/proxmark3
2023-02-14 21:17:36 +01:00
iceman1001
736d24cdab
increased the readline package to 8.2
2023-02-14 21:16:38 +01:00
Jean-Michel Picod
5a2c6406d8
Allow current directory to import python libraries
...
also fixed a bunch of wrong comments.
2023-02-13 21:58:34 +01:00
iceman1001
3ee7ac3254
style
2023-02-11 11:53:20 +01:00
iceman1001
08d2c2f1a5
style
2023-02-11 11:42:58 +01:00
Nate Sales
66f227df9f
Merge branch 'master' into hficlass-encode-verbose
...
Signed-off-by: Nate Sales <nate@natesales.net>
2023-02-09 17:18:31 -05:00
Nate Sales
5133d4a512
feat: add -v verbose flag to "hf iclass encode"
2023-02-08 20:49:49 -05:00
ah01
b0dcfdf2c5
Add new UID of Waveshare 1.54" NFC ePaper (probably new HW revision)
2023-02-09 01:22:04 +01:00
Self Not Found
a7bc082d2d
Add a option to clear the scrollback buffer
2023-02-05 17:37:13 +08:00
U-CHRIS-PC\Chris
3ec3730183
Added XOR extraction and flag to Guardall G-Prox II
2023-02-02 15:53:52 -07:00
iceman1001
23a3590bba
unify the text comments
2023-02-02 21:24:34 +01:00
adite
dfd8c8aefc
Merge branch 'master' of https://github.com/adite/proxmark3
2023-02-01 19:30:42 +01:00
adite
c7825a2adf
Fix bug in 'lf em 4x70 brute' command
2023-02-01 19:28:31 +01:00
Jean-Michel Picod
8be70ea560
Fix minor bugs in hf tesla info
2023-01-30 23:27:17 +01:00
Iceman
cf69893641
Merge branch 'master' into fix_lf_bps
...
Signed-off-by: Iceman <iceman@iuse.se>
2023-01-30 20:24:09 +01:00
Iceman
5a4338941d
Merge branch 'master' into master
...
Signed-off-by: Iceman <iceman@iuse.se>
2023-01-30 20:18:19 +01:00
Self Not Found
d81974e89c
Merge branch 'master' into fix_lf_bps
...
Signed-off-by: Self Not Found <wh201906@yandex.com>
2023-01-30 07:54:11 +08:00
iceman1001
2bd404b496
Revert "Release v4.16191 - Nitride"
...
This reverts commit bec61e9185
.
2023-01-29 20:35:17 +01:00
iceman1001
bec61e9185
Release v4.16191 - Nitride
2023-01-29 20:35:17 +01:00
iceman1001
715ae09e7e
fix coverity #404579
2023-01-29 18:37:28 +01:00
iceman1001
568e35ca84
style
2023-01-29 18:32:15 +01:00
iceman1001
b24d7736c5
fix coverity #322661
2023-01-29 18:14:49 +01:00
iceman1001
b217b4e39d
fix coverity #404576
2023-01-29 18:07:59 +01:00
iceman1001
30538c20ae
coverity fix #404575
2023-01-29 18:05:47 +01:00
iceman1001
db6a0ab5ef
coverity fix #40581 , #404580 , #40579...
2023-01-29 18:02:45 +01:00
iceman1001
cd96fbfcc9
text
2023-01-29 06:35:31 +01:00
iceman1001
09f2bf9f02
style
2023-01-29 04:59:50 +01:00
iceman1001
9bd7e41d39
add dummy length to pass savejson sanity check. Thanks @mwalker33
2023-01-29 04:58:29 +01:00
Iceman
1c9fc565cb
Merge branch 'master' into fix_lf_bps
...
Signed-off-by: Iceman <iceman@iuse.se>
2023-01-29 04:32:57 +01:00
Iceman
aa8d56cb14
Merge pull request #1881 from mjacksn/NxpInfoParse
...
Correct some parsing of the "get nxp system information" data from icode tags
2023-01-29 04:29:25 +01:00
Iceman
da8adace6b
Merge pull request #1885 from Alejandro12120/pm3generic-flash
...
Add a proper way to check if a FW is RDV4
2023-01-29 04:29:03 +01:00
Matthew Jackson
9041627ae5
Add hf 15
sub-commands for EAS, AFI, privacy mode, and passwords on SLIX tags
2023-01-28 13:37:20 -06:00
Adrian Teuscher
5d17177498
Merge branch 'master' of https://github.com/adite/proxmark3
2023-01-27 19:45:06 +01:00
Adrian Teuscher
71389e0b17
Add function to brute force partial key
2023-01-27 19:37:40 +01:00
Matthew Jackson
db01a3b360
Detect 50 pF version of NTAG 210u (micro)
2023-01-27 11:23:00 -06:00
Alejandro
63e54e94a8
Merge branch 'RfidResearchGroup:master' into pm3generic-flash
2023-01-27 15:02:19 +01:00
iceman1001
37d059d56f
style
2023-01-27 03:00:26 +01:00
iceman1001
da470c928c
data raw --fs -i, fix the accidental reverse of the invert param
2023-01-27 02:53:54 +01:00
Iceman
1ba0715320
Merge pull request #1887 from gtalusan/amiibo-sim
...
unconditionally recalculate pwd/pack for amiibo simulation
2023-01-27 02:50:26 +01:00
Jean-Michel Picod
86d26f9464
Fix uninitialised stack-based buffers
2023-01-26 01:13:27 +01:00
George Talusan
1c3a1a0660
unconditionally recalculate pwd/pack for amiibo simulation
2023-01-25 10:50:20 -05:00
Alejandro
c9fb1f2cc7
Merge branch 'RfidResearchGroup:master' into pm3generic-flash
2023-01-24 23:02:19 +01:00
Alejandro
474aaed4b7
Added a proper way to check if it is rdv4 fw
2023-01-24 23:01:28 +01:00
Philippe Teuwen
40f37c2c42
Missing cmdhftesla.c in client/experimental_lib/CMakeLists.txt
2023-01-24 15:41:40 +01:00
colonelborkmundus
9a123d943d
add extra keys from flipper unleashed dictionary
2023-01-24 00:46:04 -05:00
Self Not Found
7e8ffb46b7
Merge branch 'RfidResearchGroup:master' into fix_lf_bps
2023-01-24 11:12:38 +08:00
Alejandro
da84eb6206
proper way
2023-01-23 20:41:00 +01:00
mhjack
8bbc5934b5
Add detection and info command behavior for NTAG 5 devices, enable EAS status check in info command for SLI, SLIX, SLIX-L, and SLIX-S tags which all support EAS mode
...
(cherry picked from commit a430439f05654fe62c365f4c8f5ee13cb4103dfa)
2023-01-22 23:31:32 -06:00
mjacksn
37ec19fdbf
Correct some parsing of the "get nxp system information" data. I believe that these changes bring it in line with the SLIX "GET NXP SYSTEM INFOMATION" data format (as retrieved from SLIX2 datasheet page 33)
2023-01-22 23:27:09 -06:00
iceman1001
c364a6821c
hf tesla info - better textual output
2023-01-23 03:32:38 +01:00
iceman1001
6d12f0281a
hf telsa info - better text, also added detection of the gauss key applet
2023-01-23 03:26:51 +01:00
Iceman
bc576c9e6d
Merge pull request #1876 from colonelborkmundus/dictionaries
...
modified: client/dictionaries/mfc_default_keys.dic
2023-01-23 02:48:52 +01:00
colonelborkmundus
ad9771b4c0
removed modified files from pull request
2023-01-22 11:57:32 -05:00
Iceman
2d25d66f3b
Merge pull request #1871 from RouNNdeL/fix/mf-classic-sector-read
...
Fix mifare classic dump when block cannot be read
2023-01-22 17:14:22 +01:00
Iceman
0a2517feb6
Merge pull request #1873 from jmichelp/master
...
Fix python initialization to have SWIG work
2023-01-22 16:49:16 +01:00
Iceman
ed21af641a
Merge pull request #1872 from zebbe-94/master
...
Fix typo in smart info
2023-01-22 16:48:24 +01:00
wh201906
239a8646b2
Fix the wrong sample count when bps!=8
2023-01-22 15:38:09 +00:00
colonelborkmundus
af00fde250
additional 1k keys, fresh from the oven
2023-01-22 02:36:19 -05:00
Self Not Found
f05c6a1f72
Fix the types of parameters in BitstreamOut_t
...
BitstreamOut_t in client/src/loclass/cipherutils.h
is also used in client/src/cmddata.c for decimatioin,
but uint8_t is too small for such application
2023-01-22 07:15:47 +00:00
iceman1001
7c6aa66aa2
tesla auth challenge exchange
2023-01-21 21:20:22 +01:00
iceman1001
f9a65505de
added tesla info command, with some of the data that is available. Needed to fix the apdu chaining and a sneaky bug in get_sw since the apdu response was larger then 256
2023-01-21 20:04:27 +01:00
colonelborkmundus
cc0e5477dd
added more keys, removed accidental dupes
2023-01-18 15:25:25 -05:00
colonelborkmundus
de3514dc84
added more keys
2023-01-18 13:53:08 -05:00
colonelborkmundus
88d242d10a
yo dawg i heard you like keys so i added more keys
2023-01-18 13:36:50 -05:00
colonelborkmundus
dbe53506b5
added additional keys to graduate hotel card
2023-01-18 12:52:10 -05:00
colonelborkmundus
d96cef2b50
modified: client/dictionaries/mfc_default_keys.dic
2023-01-18 11:36:07 -05:00
Krzysztof Zdulski
e1c8c977c2
Check is sector is readable before attempting to read
2023-01-18 14:41:57 +01:00
iceman1001
e1902ffa96
The Hack ID by Unicorn Team EM4100 emulator uses a VD/ID format in decimal
2023-01-18 03:47:14 +01:00
Jean-Michel Picod
3a7af55724
Fix python initialization to have SWIG work
2023-01-16 19:57:42 +01:00
zebbe94
ee8759bc8b
fix typo
2023-01-16 01:06:12 +01:00
Krzysztof Zdulski
8f2362e7b0
Fix mifare classic dump when block cannot be read
2023-01-15 16:33:32 +01:00
iceman1001
875b1a0aed
annotate new magic command (WIP)
2023-01-15 12:27:34 +01:00
Philippe Teuwen
c2546d35f8
experimental_lib/CMakeLists missing files
2023-01-15 02:40:58 +01:00
Philippe Teuwen
30ae0bf521
make style
2023-01-15 02:24:46 +01:00
Philippe Teuwen
951d6cd218
cppcheck uninitialized vars
2023-01-15 02:23:19 +01:00
Philippe Teuwen
048291dcb3
cppcheck: can add const on some params
2023-01-15 02:23:19 +01:00
Philippe Teuwen
0a19c3e891
cppcheck remove redundant continue as last loop statement
2023-01-15 02:23:19 +01:00
Philippe Teuwen
eb23028514
cppcheck: add test to avoid dereferncing null pointer
2023-01-15 02:23:19 +01:00
Philippe Teuwen
c2eb6395e2
cppcheck clarify boolean result used in bitwise operation
2023-01-15 02:23:19 +01:00
Philippe Teuwen
127aebd8b0
cppcheck fix uninitialized variable
2023-01-15 02:23:19 +01:00
Philippe Teuwen
b8458322e1
cppcheck fix null pointer dereference
2023-01-15 02:23:19 +01:00
Philippe Teuwen
857f0c0d9b
cppcheck fix returnNonBoolInBooleanFunction
2023-01-15 02:23:19 +01:00
Philippe Teuwen
8ac8e3d7d0
reduce variable scopes
2023-01-15 02:23:19 +01:00
Philippe Teuwen
2d58c109ba
ksx6924: use ARRAYLEN
2023-01-14 23:39:07 +01:00
Philippe Teuwen
0e1ea167a4
vigik: use mfc_vigik_t in API and remove warning about increased alignment
2023-01-14 23:32:35 +01:00
Philippe Teuwen
46f8b522ca
t55: remove cast and warning about increase alignment requirement
2023-01-14 23:05:46 +01:00
Philippe Teuwen
04bab85557
fileutils: replace casts by union and remove warning about increase alignment requirement
2023-01-14 23:02:06 +01:00
Philippe Teuwen
6a576701c7
Topaz dump: remove unnecessary casts increasing required alignment and add dump size check
2023-01-14 22:40:05 +01:00
Philippe Teuwen
c9984985fd
make miscchecks
2023-01-14 22:23:40 +01:00
Philippe Teuwen
5d5d9d9be0
make style
2023-01-14 22:22:04 +01:00
iceman1001
35d1bebf08
changed the "path" param to "dir" and added some more help text samples, for binary files, we now check for lower case ".bin" too
2023-01-14 18:46:49 +01:00
Iceman
b86cc085ff
Merge pull request #1867 from RfidResearchGroup/Paradox_Clone_FC_CN
...
Add fc/cn to Paradox clone
2023-01-14 18:13:37 +01:00
iceman1001
67b340d838
swapped to ISO7816 defines
2023-01-14 12:26:30 +01:00
iceman1001
d3b78e0cf2
swapped to defines
2023-01-14 12:21:48 +01:00
iceman1001
6597d14e10
swapped to defines
2023-01-14 12:17:10 +01:00
iceman1001
e74a025a27
added some more ISO7816 error return codes, swapped to defines in 14a.c
2023-01-14 12:10:48 +01:00
iceman1001
8c315716d3
swapped to defines instead to see if older GCC supports it
2023-01-14 12:04:45 +01:00
mwalker33
224a83527f
Update cmdlfparadox.c
...
Add FC/CN to clone for paradox
2023-01-14 18:16:09 +11:00
iceman1001
73a80fb07d
hf mf wrbl, restore - changed the logic of --force param. It is now used to override warnings about BLOCK0 and bad ACL block data and allow the user to write it regardless of its consequences.\n You can easily brick sectors on genuine or Gen2 cards.\n Be aware, here be dragons!
2023-01-10 22:08:59 +01:00
George Talusan
90b1cb7954
fix off-by-1 when removing header in hf_mfu_amiibo_restore
2023-01-09 10:35:15 -05:00
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
iceman1001
d1aa57ac5d
update text
2023-01-08 19:31:22 +01:00
iceman1001
82d4b31942
renamed to follow name convention
2023-01-08 19:30:55 +01:00
iceman1001
2206271ba3
renamed script to follow name convention
2023-01-08 19:29:02 +01:00
iceman1001
ab3a8f4121
fix helptext
2023-01-08 19:27:41 +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
iceman1001
d998fabe2f
add aid to resource file
2022-12-23 20:01:04 +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
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