Jean-Michel Picod
eb0d92ea98
Fix deleted line return
...
For some reason, `isprint()` claims that `0xff` is printable. But it's used by print functions as a magic value to suppress the line return.
So when viewing a dump where the last byte of a block/sector is `0xff`, it was suppressing the new line between blocks/sectors.
Signed-off-by: Jean-Michel Picod <jmichel.p@gmail.com >
2024-10-01 08:29:27 +02:00
iceman1001
50bdec092d
fix #2541 som more keys which will need to be verified one of these days. Thanks @TestowyTest456!
2024-09-30 17:58:17 +02:00
Anton Todorov
26fe583a80
hf mfu pwdgen with 4byte uid should adapt to 7 byte
...
Signed-off-by: Anton Todorov <ANTodorov@users.noreply.github.com >
2024-09-30 16:56:14 +03:00
Anton Todorov
0733754968
fix hf mfu pwdgen for 7 byte uid
...
The last 3 bytes of the 7 byte uid are zeroed out
Tested with the example from the forum http://www.proxmark.org/forum/viewtopic.php?pid=44238#p44238
Signed-off-by: Anton Todorov <ANTodorov@users.noreply.github.com >
2024-09-30 16:25:00 +03:00
iceman1001
71c86f4b21
style
2024-09-30 10:36:29 +02:00
Antiklesys
f5d8ba3225
Update ikeys.c
...
Fixed comments and removed commented lines
Signed-off-by: Antiklesys <syselkitna@gmail.com >
2024-09-30 15:08:58 +08:00
Antiklesys
946ae5d3d6
Update ikeys.c
...
Removed commented lines
2024-09-30 11:39:53 +08:00
Antiklesys
0ae7e2cd68
Completed hf iclass unhash pre-image generation
...
Finished the pre-image generation algorithm to take in account edge scenarios based on special values of z0..z7 that return the same modulo values even tho they have different original values.
This allows the generation of more than 8 pre-images when reversing hash0, showing the full set of valid pre-images per each diversified key.
2024-09-30 11:24:32 +08:00
Antiklesys
d5469d567f
Added hf iclass unhash
...
Added hf iclass unhash based on the document "Exposing iClass Key Diversification"
The command works but only handles the "main" scenarios, retrieving only 8/512 potential hash0 pre-images.
Handling of the additional pre-images is still work in progress.
2024-09-29 21:38:20 +08:00
Philippe Teuwen
2eac5419f0
Add crypto1 support to hf 14a raw
2024-09-26 23:47:09 +02:00
Sanduuz
4979bb2043
Fixed typo in standard name
2024-09-25 10:42:53 +03:00
douniwan5788
ef0bae7bc6
refactor: cleanup PacketResponseNG init
2024-09-24 21:06:42 +08:00
Iceman
350ed787e1
Merge pull request #2534 from evildaemond/master
...
Adding hf 14a simaid
2024-09-23 12:04:00 +03:00
Iceman
425c44ff5b
Merge pull request #2533 from ry4000/master
...
R&Y: Added UMO and MONECARTE AIDs to aid_desfire.json
2024-09-23 12:01:52 +03:00
Adam Jon Foster
92ce2cb780
Update cmdhf14a.h
...
Added HF 14a AID Sim
Signed-off-by: Adam Jon Foster <me@evildaemond.com >
2024-09-23 14:32:14 +08:00
Adam Jon Foster
4b4afc623f
Update cmdhf14a.c
...
Added HF 14a AID Sim
Signed-off-by: Adam Jon Foster <me@evildaemond.com >
2024-09-23 14:31:52 +08:00
ry4000
7ab9de3aab
R&Y: Added UMO and MONECARTE AIDs to aid_desfire.json
...
Added UMO Mobility transport AIDs.
Added European Student Card student AIDs.
Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com >
2024-09-23 14:11:22 +10:00
douniwan5788
f03eb1156a
refactor: process Hitag S common args
2024-09-22 20:16:49 +08:00
douniwan5788
8b7f34b4d9
refactor: Merge enum hitag_function. read/write has already been differentiated by command
2024-09-22 20:05:25 +08:00
Iceman
495759d6bd
Merge pull request #2530 from nemanjan00/avx512f
...
Patch for hardnested attack, for avx512f, by @xianglin1998
2024-09-22 10:33:20 +03:00
Iceman
0331b66e78
Merge pull request #2529 from douniwan5788/move_to_hts
...
Move to hts
2024-09-22 10:32:13 +03:00
Iceman
5f44f23b92
Merge pull request #2527 from douniwan5788/82xx_page
...
fix: bypass some limits for 82xx
2024-09-22 10:30:57 +03:00
Iceman
0476596524
Merge pull request #2526 from douniwan5788/lfsearch_hangs
...
fix: `lf search` hangs
2024-09-22 10:29:14 +03:00
Iceman
d68bddaf0e
Merge branch 'master' into dev
...
Signed-off-by: Iceman <iceman@iuse.se >
2024-09-22 10:28:04 +03:00
Nemanja Nedeljkovic
dd9d9d8f9e
Patch for hardnested attack, for avx512f, by @xianglin1998
2024-09-22 02:30:49 +02:00
douniwan5788
0ef374e06f
fix: lf search hangs
2024-09-21 23:37:55 +08:00
douniwan5788
eb3cd2a3eb
refactor: move lf hitag read/write --hts to lf hitag hts rdbl/wrbl
2024-09-21 23:36:31 +08:00
douniwan5788
0614251555
refactor: move lf hitag sim --hts to lf hitag hts
2024-09-21 23:36:31 +08:00
douniwan5788
a9cf1cc67b
fix: bypass some limits for 82xx
2024-09-21 23:34:38 +08:00
Jean-Michel Picod
2094f5f92b
Print LUA and Python interpreter versions
2024-09-20 17:44:09 +02:00
Jean-Michel Picod
59f9272993
Silly gitignore file
2024-09-20 17:39:30 +02:00
Jean-Michel Picod
8a4a6da287
Add missing file which was gitingore'd
2024-09-20 17:32:18 +02:00
Jean-Michel Picod
0c116f5517
Add the old bit32 LUA module as a compatiblity shim.
...
Many exisiting LUA scripts are using bit32 which has been removed
in LUA5.4 in favor of native language support of bitwise operations.
Yet, it's easier to backport this module rather than patching all the
existing LUA scripts because most of them can't be tested.
2024-09-20 17:21:17 +02:00
Jean-Michel Picod
22658097a7
Make the scripting code compatible with LUA 5.4
...
There's no unsigned anymore, just integers.
2024-09-20 17:21:17 +02:00
Jean-Michel Picod
ad65b41aa7
Update SWIG wrapper
2024-09-20 17:21:17 +02:00
Jean-Michel Picod
d616439618
Funtion unpack moved to table.unpack in LUA 5.3+
2024-09-20 17:21:17 +02:00
Jean-Michel Picod
0421f5fde5
Update dkjson to a more recent version supporting utf-8 too
2024-09-20 17:21:17 +02:00
Jean-Michel Picod
fa949538ce
Ansicolors was a LUA5.1 module. Move it to LUA5.2+ module style.
2024-09-20 17:21:17 +02:00
Jean-Michel Picod
18e3600d95
Update build and CI scripts to LUA 5.4
2024-09-20 17:21:17 +02:00
Jean-Michel Picod
0fcc3107b0
Bump LUA version from 5.2 to 5.4
2024-09-20 17:21:16 +02:00
Antiklesys
b92e357307
Update cmdhficlass.c
...
Signed-off-by: Antiklesys <syselkitna@gmail.com >
2024-09-18 23:18:30 +08:00
Antiklesys
47dc372ca7
Update cmdhficlass.c
2024-09-18 23:16:42 +08:00
Antiklesys
90b05106f8
Updates to iclass legrec and legbrute
...
Streamlined legbrute to remove then need for CSN and validate variables accuracy as per Iceman's suggestions.
Updated legrec (client side only) for the future arm side PR
Fixed variable overflow on the arm side for hex conversions
2024-09-18 18:10:53 +08:00
Antiklesys
43e6d42ce9
Update cmdhficlass.h
...
Signed-off-by: Antiklesys <syselkitna@gmail.com >
2024-09-17 17:18:23 +08:00
Antiklesys
ac0260570a
Update cmdhficlass.c
...
Signed-off-by: Antiklesys <syselkitna@gmail.com >
2024-09-17 16:35:52 +08:00
Antiklesys
f24b087c19
Update cmdhficlass.c
...
Signed-off-by: Antiklesys <syselkitna@gmail.com >
2024-09-17 15:46:33 +08:00
Antiklesys
3c258827e8
Removed unused multithreading functions and updated to uint64_t
2024-09-17 15:35:23 +08:00
Antiklesys
f70008bd0c
Optimized legbrute
...
Removed multithreading and bottlenecks in favor of sequentially generated keys.
Multithreading can/should be reimplemented but optimized for keyspaces
2024-09-17 15:08:15 +08:00
Antiklesys
5bbffafe65
Updated hf iclass legbrute
...
Update legbrute to perform a double check when finding a potentially valid raw key, to ensure that is indeed the raw key and works against multiple macs (for the same epurse values).
2024-09-17 13:01:39 +08:00
Iceman
f1d638c295
Merge pull request #2516 from Antiklesys/master
...
Update legbrute for even threads
2024-09-16 20:04:34 +02:00