Antiklesys
f8fbcc2754
Bugfixes and code improvements for hf iclass legrec
...
1- Inlined functions related to hf iclass legrec within util.c for marginal performance gains.
2- Fixed bug preventing errors to be displayed properly and the process from interrupting on an error or on completion.
3- Fixed code indentation of the while loop in iclass.c
4- Fixed bug in the while cycle (was missing index++)
5- Improved ways to display hex results by using dbhexdump
2024-07-21 13:55:17 +08:00
Antiklesys
ef2c372380
Update cmdhficlass.c
2024-07-20 01:35:03 +08:00
Antiklesys
1347dd9e74
Update cmdhficlass.c
...
Removed timeout as we'll definitely go above the timeout timer
2024-07-20 01:26:52 +08:00
Antiklesys
ed8a2d330e
Update cmdhficlass.c
2024-07-19 18:46:27 +08:00
Antiklesys
a127a38cb6
Updated some as per iceman's comments
...
Made multiple changes as per iceman's comments.
Removed redundant/unused function i forgot into cmdhficlass.c
Moved conversion functions in util.c for now but haven't yet check if it's possible to reuse the current fuctions already there. Will do that in a moment.
2024-07-19 18:27:36 +08:00
Antiklesys
1832997ccb
Iclass Legacy Raw Key Recovery Function
...
Based on the work described in Dismantling iClass whitepaper.
hf iclass legbrute is tested working
hf iclass legrec is partially working: logic of operations and sequence seems to be in order and was tested on simulated data to be effective. The privilege escalation part is still not successful, but the logic should be correct.
2024-07-19 14:47:13 +08:00
iceman1001
3461b6f803
fixed type confusing error when trying to load none supported .picopass files. Thanks to Jump for the suggested fixes
2024-07-12 15:06:08 +02:00
Antiklesys
fbacd60e41
Implemented VB6 rng for iclass chk elite key search
...
Implemented VB6 rng for iclass chk elite key search based on @bettse implementation on Flipper Zero Picopass app
2024-07-12 14:46:23 +08:00
Antiklesys
96e3e07faa
Implemented VB6 rng for iclass lookup elite key search
...
Ported @bettse work from the Flipper Zero Picopass repository to use the lookup function with the VB6 rng
2024-07-12 11:18:17 +08:00
iceman1001
2a86a86a06
updated format
2024-07-10 11:04:23 +02:00
Jean-Michel Picod
06203a8c5f
Fix invalid Wiegand format flags.
...
Some formats were declared with not adequate flags resulting in
the format being filtered out for encoding/decoding unless explictly
setting it.
2024-07-09 14:02:20 +02:00
Jean-Michel Picod
4124dcdce9
Fix a few mistaked in Wiegand encodings
2024-07-04 12:02:32 +02:00
@tweathers-sec
f80e8d0f85
Updated clone and sim handling for 48-Bit HID (C1k48s)
2024-06-19 13:41:37 -04:00
iceman1001
283a3e44ed
remove missing usage of define
2024-06-12 12:28:02 +02:00
iceman1001
3e1bd8f50a
the BT serial port setup on Windows didnt work properly. By adding the baud rate in the new termios settings the issue seem to be fixed. Also added some extra flushing calls and some more configuration settings for chars.
2024-06-11 14:32:35 +02:00
iceman1001
7329dcd3bf
Revert "Release v4.18589 - Aurora"
...
This reverts commit aceed281e8 .
2024-05-28 10:36:32 +02:00
iceman1001
aceed281e8
Release v4.18589 - Aurora
2024-05-28 10:36:32 +02:00
iceman1001
adfbcbc193
miscchecks white space
2024-05-28 10:14:02 +02:00
iceman1001
6bdfe11c1a
minor fixes
2024-05-28 10:00:11 +02:00
iceman1001
369db7c9d7
style
2024-05-27 20:29:02 +02:00
iceman1001
1b387ae90e
some simple identification tests, will need to expand on the idea later
2024-05-20 21:26:12 +02:00
iceman1001
968bfcd591
added "lf hitag reader" command
2024-05-20 17:47:44 +02:00
iceman1001
d9ec99f903
found the bug in a call to hex2binarray() fct which overwrote first 16 bytes of keystream. Fixed loops. Crack2 now generates same data as RFIDLer impl.
2024-05-16 22:49:24 +02:00
Iceman
184393ee41
Merge branch 'master' into loud-nightingale
...
Signed-off-by: Iceman <iceman@iuse.se >
2024-05-15 09:41:50 +02:00
Iceman
2b276cae1a
Merge pull request #2385 from henrygab/em4x70_add_tests
...
add `lf em 4x70 calc` and self-tests
2024-05-15 09:19:41 +02:00
Henry Gabryjelski
f58992922d
limit freen color to calculated values
2024-05-14 20:35:27 -07:00
Henry Gabryjelski
2757881945
functions should be static where possible
2024-05-14 20:22:30 -07:00
Henry Gabryjelski
2952d55904
Add lf em 4x70 calc
2024-05-14 20:21:42 -07:00
iceman1001
cd1f935846
fix missing
2024-05-14 15:20:01 +02:00
iceman1001
5fd4d7e774
fix const param, bitwiseboolean
2024-05-14 14:29:30 +02:00
iceman1001
4bbfc944f3
fix const params, logic, casting
2024-05-14 14:13:13 +02:00
iceman1001
2d3e71d556
fix fct names, const params
2024-05-14 12:52:44 +02:00
iceman1001
5107b7ce04
fix fct names mismatch, const params,
2024-05-14 12:29:33 +02:00
iceman1001
2e2fa850bb
const params, vars, scope, bad if statements
2024-05-14 12:25:00 +02:00
iceman1001
f3f647e6af
fix const params, unused set vars
2024-05-14 12:04:03 +02:00
iceman1001
4aa8645a33
fixed order of checking
2024-05-14 12:00:19 +02:00
iceman1001
a9a3c0bea9
const params
2024-05-14 11:45:36 +02:00
iceman1001
480d5a3241
array init
2024-05-14 11:26:16 +02:00
iceman1001
bf24c2b01f
const params and init arrays
2024-05-14 11:23:33 +02:00
iceman1001
2c1f45f3aa
fix const params and if statements
2024-05-14 11:20:36 +02:00
iceman1001
5ee9014e02
const
2024-05-14 11:10:50 +02:00
iceman1001
e3ceb2ffe4
const param
2024-05-14 10:10:44 +02:00
iceman1001
42f0699c78
style
2024-05-14 10:04:28 +02:00
iceman1001
dd94207ee8
fix bad compare
2024-05-14 10:02:10 +02:00
iceman1001
77db65a590
there were several memory leaks in hf 15 dump. Fixed by @jlitewski
2024-05-13 14:29:27 +02:00
iceman1001
11a298dc42
changed hf search to look for topaz first and commented out ICT code path
2024-05-13 11:12:27 +02:00
iceman1001
bbbe985111
when changing to 50 loops on device side, the felica reader code on client side timedout and it wasnt handled good enough so the return code was PM3_SUCCESS giving a false positive. Increase timeout, decrease loops to 25, and better loop handling of return value
2024-05-12 20:17:50 +02:00
Iceman
d714902fc0
Merge pull request #2373 from jlitewski/marker-oob-fix
...
Fix OOB segfault with markers
2024-05-12 17:15:29 +02:00
Henry Gabryjelski
b0b9f4fa42
Add key that tests autorecovery more quickly
...
This autorecovery test key also has three potential matches
for the last phase, thus ensuring authentication test is
required to determine which of those keys was actually used.
2024-05-05 15:57:26 -07:00
Henry Gabryjelski
569d57719d
Fix firmware return value for em4x70 to always be of type PM3_*
2024-05-05 15:54:00 -07:00