Commit Graph
198 Commits
Author SHA1 Message Date
iceman1001 b910d7ea94 make miscchecks 2024-02-17 14:47:49 +01:00
iceman1001 f5e976afa6 style 2024-02-16 21:59:45 +01:00
iceman1001 63360b034d style 2024-02-15 18:11:46 +01:00
iceman1001 d58a9ad84e text 2024-02-10 19:07:13 +01:00
iceman1001 5a828bd6a8 data diff now handles file sizes up to 4096 bytes 2024-01-29 18:57:19 +01:00
iceman1001 081ff216eb style 2024-01-23 15:28:50 +01:00
team-orangeBlue 5243377d57 MacOS compilation fix
So for macOS, "NONE" isn't an option for PrintAndLogEx.
Info it is I guess. Padding fix applied by removing the 4 chars extra.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-20 00:11:03 +03:00
team-orangeBlue ae0efe32f9 Add libpcrypto
I'm doing this at 0:03, this is my excuse.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-20 00:03:20 +03:00
team-orangeBlue cd783fa2f0 Add data crypto
Command to cipher data.
Checked with premade datasets for all algorithms (AES CMAC too!)
One sample provided.

Now with make style!

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-19 23:41:29 +03:00
iceman1001 bc219ab619 fix string formatter 2024-01-18 13:44:33 +01:00
iceman1001 9c7890e50c in data manrawdemode the em410xdecode resets the size if it fails to decode, render the setdemodbuf useless afterwards. 2024-01-16 08:59:08 +01:00
iceman1001 4df743c2a0 style 2024-01-15 13:08:55 +01:00
iceman1001 a79b2bb725 fix the too long filename bug when using a smaller width param. also added some extra text for output length of binary strings in decode. One tend to not see if its 25 or 26 bits sometimes :) 2024-01-15 12:58:23 +01:00
iceman1001 78174588dd modified hw tune output layout 2024-01-04 22:11:48 +01:00
iceman1001 238572c337 style 2024-01-01 21:52:05 +01:00
iceman1001 08f3a105c8 fix string formatter warning 2023-12-31 10:44:57 +01:00
iceman1001 2c20c0c647 more debug messages 2023-12-18 22:16:51 +01:00
iceman1001 2bfc31a7b6 changed "data dectectclock" to try all clocks when not called with any params. Adapted the "lf search -1u" - with text and it should be more intuitive 2023-12-18 22:12:26 +01:00
iceman1001 7fa09a556a improved the autocorreleate detection. lf search -1uc got some more textual improvements 2023-12-18 10:04:19 +01:00
iceman1001 586acf0933 modified the autocorrelate part in lf search -1u command. It should be a more informative output and better bytes length reporting 2023-12-17 21:42:54 +01:00
merlokk 2517e8b345 make style 2023-12-12 01:11:10 +02:00
iceman1001 8419b9c690 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2023-12-08 19:34:14 +01:00
iceman1001 bf1160988c style 2023-12-08 19:34:06 +01:00
iceman1001 62c926e0dd style 2023-12-08 19:29:55 +01:00
iceman1001 97e2d7f026 changed "data num" to accept -r -i parameters where it will reverse or inverse the values.\nrenamed some util functions 2023-12-07 16:44:31 +01:00
iceman1001 bcbe76064d Changed modulation max bit length from 512 to 4096, since we now can get much longer traces 2023-12-01 10:58:33 +01:00
wh201906 45df618b7c Fix segmentation fault 2023-11-30 18:42:30 +08: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
wh201906 42ab3ee1e6 Receive raw LF samples on the client 2023-11-14 09:42:44 +08:00
iceman1001 f47fb2f74d adapt data bmap to handle calls without -m. 2023-10-30 16:07:13 +01:00
iceman1001 a2fdab98b5 style 2023-10-22 14:20:20 +02:00
iceman1001 b857369f7a fix some warnings 2023-10-22 14:19:01 +02:00
iceman1001 9a9d2cf621 added a new command -data bmap- it breaks down a hex value in rows of bits according to a supplied template 2023-10-22 14:08:18 +02:00
iceman1001 026cd7d53d style 2023-10-15 13:21:16 +02:00
iceman1001 0442e04e05 text 2023-10-15 13:19:33 +02:00
Philippe Teuwen 3aeb5c493f fix a few cppcheck warnings 2023-09-07 22:28:37 +02:00
DidierA 22bc398b48 Bugfix: data atr -t was reading uninitialized data 2023-08-03 14:44:27 +02:00
iceman1001 5b58e438b1 style 2023-08-02 22:41:35 +02:00
iceman1001 d6a0f8edac use string instead 2023-08-02 19:56:29 +02:00
iceman1001 1e26d79ddd added a new command to lookup ATR arrays 2023-08-02 19:50:47 +02:00
iceman1001 602daa7fdd missing inits 2023-08-02 17:40:55 +02:00
iceman1001 d19c9a262a style, same name everywhere in project 2023-07-24 00:53:35 +02:00
iceman1001 4b64a45899 make style 2023-07-23 11:15:52 +02:00
iceman1001 c6b720fdcd make data grid less verbose 2023-07-22 23:26:04 +02:00
iceman1001 eaf8aac217 better smoothing in the envelope command and also allow for other raw demod to accept a larger clock as in param 2023-07-22 17:34:27 +02:00
Philippe Teuwen 1a19640d18 make style 2023-07-21 18:22:46 +02:00
iceman1001 b277e667c9 text 2023-07-21 17:04:21 +02:00
iceman1001 4d9f97954e allow for clocks larger than 255 to be used from commandline. added the new command data envelope. it creates square signal, similar to askedgedetect.\n adapted find closest clock in order to make clock /8 less prioritized if there are more found clocks. use second best match in those cases. 2023-07-21 14:35:24 +02:00