Commit Graph
5369 Commits
Author SHA1 Message Date
Philippe Teuwen 02af12723c hf mf isen: forgot some checks 2024-08-02 23:21:14 +02:00
Philippe Teuwen f8ed473aec words 2024-08-02 21:04:23 +02:00
Philippe Teuwen c47578c048 sort mfc tools 2024-08-02 00:10:23 +02:00
Philippe Teuwen 18a3d04de1 hf mf isen incblk2 increment to the next sector 2024-08-01 14:28:00 +02:00
Philippe Teuwen 34bfaa7d32 saving files: do not prepend with default path if given path is an absolute path 2024-07-31 15:49:09 +02:00
Philippe Teuwen 3ef3c98a1d cosmetic 2024-07-31 00:49:13 +02:00
Philippe Teuwen fb0b448c4f hf mf isen: add nt indexes 2024-07-31 00:41:50 +02:00
Philippe Teuwen 153064ddfa Fix a bunch of potential buffer overruns with CLIGetStrWithReturn :
Most prominent one was "lf pac clone --cn 123456789" causing garbage on the terminal
Some changed code was valid before but as ppl tend to copy-paste to new code,
better to uniformize and document usages of CLIGetStrWithReturn.

Exceptions left are when filling real buffers (bin, raw,...), not strings.
2024-07-30 22:23:04 +02:00
Philippe Teuwen 036fa47703 trace list -t mf: some info about nt 2024-07-29 23:59:20 +02:00
Philippe Teuwen e7c4ae2b1e hf mf isen for analyzing some static encrypted nonces MFC 2024-07-29 23:19:18 +02:00
Philippe Teuwen de326fc772 hf mf rdbl/wrbl/rdsc/nested: support extended AUTH 2024-07-29 22:38:30 +02:00
Philippe Teuwen 98273d00ae hf mf fchk: allow to crack a single key and show progress info 2024-07-29 22:24:46 +02:00
Philippe Teuwen 29c180285e trace list -t mf: add support for extended auths 2024-07-29 22:24:30 +02:00
Nathan N 8b2040ec5e Allow static encrypted nonces to be collected via trace
Signed-off-by: Nathan N <noproto@users.noreply.github.com>
2024-07-22 17:45:07 -04:00
iceman1001 f8db7b185d added support for --ns the nosave flag in hf iclass dump 2024-07-21 16:24:18 +02:00
iceman1001 4de7b7d6b9 style 2024-07-21 16:19:21 +02:00
iceman1001 2887cb5211 text 2024-07-21 16:13:00 +02:00
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