Commit Graph
77 Commits
Author SHA1 Message Date
Philippe Teuwen c183894cb4 fix doc and add similar to 2024-03-27 16:41:44 +01:00
iceman1001 c03e15b553 unify texts 2024-02-03 11:14:51 +01:00
iceman1001 efc8c0b8ab added a interactive flag for hf14asniff, and unified text across the project 2024-01-25 10:21:36 +01:00
iceman1001 fdc1c9d864 text 2023-12-06 22:16:53 +01:00
wh201906 e82fb8b67f Use calloc() instead of malloc()
Suggested by @iceman1001
Mainly for 8b6a274e28
Replaced the malloc() in getSamplesFromBufEx()
Added memory allocation result check for getSamplesFromBufEx(),
lf_read_internal(), and lf_sniff()
2023-11-17 12:38:20 +08:00
wh201906 3ee13c9ba6 Apply suggestions from @henrygab
Check if memory allocation fails
Fix memory leak
Initialize struct in declaration
Add/Fix some notes
Remove unlikely() in favor of readability
Remove a hard-coded magic number
2023-11-15 18:04:52 +08:00
wh201906 8b6a274e28 Bigger graph buffer
1280000 samples -> 10.24s for 125kHz 8bit sampling

Allocate graph related memory on heap
2023-11-14 10:05:13 +08:00
iceman1001 8a9c043aa6 fixing "lf hid clone --bin" param to correctly handle sentinel bit 2023-10-15 15:23:14 +02:00
Philippe Teuwen c5cfe593f5 fix exec mode on source file 2023-07-20 21:04:00 +02:00
iceman1001 8f20eed914 fix CID #405232 2023-03-04 20:10:46 +01:00
iceman1001 060f452530 fix text 2023-03-04 20:03:53 +01:00
Chris Smith f424667d0c Fix syntax 2023-03-04 10:40:19 -07:00
Chris Smith cd5fa61683 Update help text 2023-02-28 07:28:06 -07:00
Chris Smith 3bcac0cc64 Updated arguments and help text 2023-02-28 07:24:24 -07:00
Chris Smith 21a1defa88 Fix formatting 2023-02-27 13:06:38 -07:00
Chris Smith 702716b597 Fix formatting 2023-02-27 13:05:16 -07:00
Chris Smith 85ca342567 Add bruteforce functionality to HID facility code 2023-02-27 13:02:16 -07:00
iceman1001 b86e29fca1 init structure with zeros 2023-02-21 04:42:51 +01:00
iceman1001 a89983d1b3 text 2022-10-30 08:54:33 +01:00
iceman1001 7a831fc94e CID 398738, missing init 2022-09-03 11:23:44 +02:00
Philippe Teuwen c1c093af62 Fixed support to clone Pyramic, Paradox and Awid on EM4x05 2022-04-30 00:04:49 +02:00
Philippe Teuwen f25c7b1179 text 2022-04-29 15:45:45 +02:00
iceman1001 caf9f07c7a fix lf hid brute param for format 2022-01-10 22:41:02 +01:00
iceman1001 221a06321b cppcheck fix - array out of bounds. last item is null reduce 1 from arr len, zero based index reduce -1 to get index....\n also made the compare caseinsensitive 2022-01-10 22:29:57 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen 7a5786b9e4 fix a number of strx usages 2022-01-01 02:39:10 +01:00
Philippe Teuwen dd3b63ae32 rename global session 2021-08-21 20:31:05 +02:00
Philippe Teuwen ce57637c80 rename globals GraphTraceLen OddByteParity pm3_capabilities 2021-08-21 17:53:54 +02:00
Philippe Teuwen e4fbfe0f40 rename globals DemodBuffer and DemodBufferLen 2021-08-21 17:12:50 +02:00
iceman1001 80817cea00 hf iclass chk - rework OLD -> NG. And textual 2021-05-03 09:31:51 +02:00
iceman1001 82e71d7815 lf hid clone - only print the selected format 2021-04-27 19:16:06 +02:00
iceman1001 10c9ea5f84 more wiegand formats, and if binary is user supplied use that length, and ignore parity faults is removed since we wanna see all decodings anyway 2021-04-27 15:19:34 +02:00
iceman1001 6961611474 unified text and loading file now follow new pattern 2021-04-18 19:57:50 +02:00
iceman1001 007b916643 style 2021-04-08 11:08:39 +02:00
iceman1001 e129244a66 ..types 2021-02-17 10:46:58 +01:00
iceman1001 563f703d6a lf hid clone - hooked up the binary input 2021-02-17 08:56:42 +01:00
iceman1001 92b1ccc935 wiegand encode - now has option to add hid preamble or not 2021-02-03 00:14:40 +01:00
iceman1001 47c27d751c lf awid/hid/io/410x watch - now works with user side abort 2021-02-02 17:55:54 +01:00
iceman1001 72a837d813 text, more cliparser, hid/awid sim can use keypress too 2021-02-02 16:33:43 +01:00
iceman1001 93c99e9f7a lf hid clone - wip take binary string as input 2021-01-09 22:47:04 +01:00
Philippe Teuwen 7cd80611d3 #makestyleday 2020-12-12 14:46:40 +01:00
iceman1001 c25eb722dc lf hid brute - set fmtlen.. 2020-12-04 23:16:15 +01:00
iceman1001 80fd00c104 text 2020-12-04 22:59:57 +01:00
iceman1001 2dc27cf2b7 fix double.. 2020-12-04 22:42:52 +01:00
iceman1001 4830bf7fec lf hid brute - fix param 2020-12-04 22:41:24 +01:00
iceman1001 7fc852be12 text 2020-12-04 22:30:15 +01:00
iceman1001 584e1faba5 lf io - now uses cliparser, support continuous mode, EM (untested) 2020-12-01 11:47:03 +01:00
iceman1001 ae853ede79 reader - textual 2020-12-01 11:26:54 +01:00
iceman1001 51e27d1a48 adapt the brute 2020-12-01 10:42:55 +01:00
iceman1001 1bccb77654 lf hid clone - prepped for EM. Disabled it for viking / hid clone until further testing 2020-11-30 21:06:37 +01:00