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
Antiklesys
49524575be
Update legbrute for even threads
...
Updated legbrute to use an even number of threads and display the starting key of every key block. Useful in case the operation needs to be halted and resumed
2024-09-17 01:32:44 +08:00
douniwan5788
e5c0007f0b
refactor: move concatbits() to commonutil
2024-09-17 01:00:32 +08:00
iceman1001
805dc99b97
lf search - now tries to read out hitag2 data with the paxton key.
2024-09-15 18:19:28 +02:00
Iceman
c9531ae62b
Merge pull request #2510 from douniwan5788/fix_uid
...
Fix Hitag S get uid
2024-09-15 17:45:48 +02:00
iceman1001
32058894ea
style
2024-09-15 13:16:35 +02:00
iceman1001
3ea655c86d
text
2024-09-15 11:43:05 +02:00
douniwan5788
662b194e56
refactor: hitag S code sytle & cleanup
2024-09-15 12:56:51 +08:00
iceman1001
febaa64b4d
make all device side HTS messages DBGlevel extended
2024-09-14 22:00:52 +02:00
iceman1001
d715871df8
....fix type
2024-09-14 21:07:15 +02:00
iceman1001
d1029ce281
Merge branch 'master' of github.com:RfidResearchGroup/proxmark3
2024-09-14 21:05:19 +02:00
iceman1001
db1b28f327
rename hts read/write commands to rdbl/wrbl to match rest of the client. added a lf hitag hts reader comamnd, modified the lf search to identify hitag2/s/82xx in the chipset detection
2024-09-14 21:00:42 +02:00
Iceman
395d16c741
Merge pull request #2509 from douniwan5788/0em410
...
fix: all zeros is a valid Em410x too
2024-09-14 18:40:48 +02:00
iceman1001
dd32fceb54
support function
2024-09-14 18:38:28 +02:00
iceman1001
34e00146c6
change data available check in hf mf sim on device side.
2024-09-14 18:37:56 +02:00
douniwan5788
8609322871
fix: all zeros is a valid Em410x too
2024-09-14 23:49:46 +08:00
iceman1001
20a0bc3a81
style
2024-09-14 15:03:29 +02:00
iceman1001
9ebe5ae8dd
text
2024-09-14 14:55:23 +02:00
iceman1001
a636d97551
remove non informative message
2024-09-14 14:24:03 +02:00
iceman1001
fc17873e1d
fix xpression compared to zero
2024-09-14 14:22:25 +02:00
iceman1001
ec33873738
fix wrong type
2024-09-14 14:20:34 +02:00
iceman1001
8f9ca98f6c
fix narrow type ..
2024-09-14 14:19:20 +02:00
iceman1001
4af367f66f
fix ats
2024-09-14 14:16:36 +02:00
iceman1001
0fe568970b
style
2024-09-13 13:44:16 +02:00
iceman1001
77e94c8047
use DEFINES instead
2024-09-13 13:43:32 +02:00
iceman1001
65cf65dc96
ATS printing can be an issue since some magic cards doesnt treat ATS properly. This will lessen the garbage output
2024-09-13 13:42:34 +02:00
Iceman
c6f98036d5
Merge pull request #2508 from douniwan5788/cmdread
...
fix: `lf cmdread` silent lost CRC
2024-09-13 13:28:23 +02:00
Iceman
1853d557ed
Merge pull request #2507 from douniwan5788/hitag_names
...
style: Hitag names
2024-09-13 13:26:13 +02:00
douniwan5788
424a467132
fix: lf cmdread silent lost CRC
2024-09-13 19:15:11 +08:00
douniwan5788
375eb612e8
style: Hitag names
2024-09-13 17:15:37 +08:00
douniwan5788
0c7964084c
feat: Added lf em 410x clone --hts clone EM410x ID to 8268/8310
2024-09-13 17:06:15 +08:00
douniwan5788
3860942e55
feat: Added support for 8268/8310
2024-09-13 17:06:15 +08:00