Commit Graph

11624 Commits

Author SHA1 Message Date
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
iceman1001 3502da17df assert its smaller than 5 2024-05-12 19:36:28 +02:00
iceman1001 c50f109f05 the failed compiling on MINGW/proxspace warns over a overflow in buffer[5], the return value in utf8_check_first() can be 0 - 4, which used later in loop as index with 1 as start offset. a 4 will overflow the buffer[5]. Increased buffer with to just in case to support the zero terminator. Another option where this code will bail out is, 0 is goto out, 1 will trigger the assert and break client. A bit ruff I say. 2024-05-12 19:14:17 +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
Iceman a627e6cc82 Merge branch 'master' into em4x70_parity_break
Signed-off-by: Iceman <iceman@iuse.se>
2024-05-12 17:13:24 +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
RunTheBot f1adb30a9c Added Presto Transit Card to aid_desfire.json
Signed-off-by: RunTheBot <58890327+RunTheBot@users.noreply.github.com>
2024-05-02 18:40:13 -04:00
jlitewski b20d3f44ad Fix OOB segfault with markers 2024-04-27 09:06:40 -04:00
iceman1001 dee84b5b6f added "lf hitag crack2" to support the second attack vector against Hitag2, based on all work from @kevsecurity Kev Sheldrake in the RFIDler repo. This is WIP, not working at the moment 2024-04-26 15:38:06 +02:00
jlitewski 8789991f9a Fixed compile issues I missed 2024-04-26 08:29:17 -04:00
jlitewski d820153a61 Fix the issue of SKIPQT builds not working 2024-04-26 07:23:38 -04:00
iceman1001 5396524dc4 the change to download the anticollision signal trace to "hf 14b reader" made it slow. Making it optional instead improves performance in "hf search" 2024-04-25 08:02:11 +02:00
Iceman 6e6fa4270b Merge pull request #2367 from kitsunehunter/update_elite_helptext
update iclass elite key chk helptext
2024-04-25 07:42:21 +02:00
iceman1001 36603818d1 fixed a valgrind memory usage of uninitialised array 2024-04-25 07:29:22 +02:00
Xavier 99a2a37e82 update iclass elite key chk helptext
Signed-off-by: Xavier <90627943+kitsunehunter@users.noreply.github.com>
2024-04-24 21:55:24 -04:00
iceman1001 d635f39048 fix when length is not even dividable with four. 2024-04-24 21:33:56 +02:00
iceman1001 b754f09d24 fix valgrind memory bug 2024-04-24 21:24:52 +02:00
iceman1001 f6e0b8c330 style 2024-04-24 09:13:32 +02:00
Iceman 8f73520173 Merge pull request #2365 from gentilkiwi/patch-1
Update intertic.py to support Saint-Malo (MAT / RATP)
2024-04-24 00:24:32 +02:00
iceman1001 59c07f911a - now are able to verify signature. Thanks @doegox! 2024-04-24 00:23:16 +02:00
Benjamin DELPY c3ad45d84c Update intertic.py to support Saint-Malo (MAT / RATP)
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2024-04-24 00:15:54 +02:00
iceman1001 b84fa69f39 ... checks 2024-04-23 23:13:22 +02:00
iceman1001 6aded8a3b5 textual 2024-04-23 19:57:32 +02:00
iceman1001 1a3613901e since I messed up the calypso and mobib lua script, I made a native implentatin instead. I leave the decoding of the extracted data for people to come to have some sort of challenge 2024-04-23 10:09:46 +02:00
iceman1001 2d36efe821 updated type identifications. Will need a better way to detect size of those 15693 ones 2024-04-23 08:43:55 +02:00
iceman1001 3ef3e3a63d update signature data 2024-04-23 02:16:01 +02:00
iceman1001 934a969d41 adapt some detection of fudan 2024-04-22 19:52:24 +02:00