Iceman
61a2a58a37
Merge pull request #2267 from nvx/hf_sniff_bigbuf_alignment_fix
...
Fix hf sniff
2024-01-23 15:16:01 +01:00
Philippe Teuwen
ead228672a
crack5opencl: Fix various printf compilation errors when enabling debug macros
2024-01-23 15:10:47 +01:00
Philippe Teuwen
4e29dfa2b5
crack5opencl: Fix MEMORY_FREE_ALL macro, fix segfault
2024-01-23 15:10:07 +01:00
nvx
da564aed3c
Fix hf sniff
...
This was broken in commit 17ab86c52
as the forced rounding up of
the size to 4-byte alignment in BigBuf_malloc made the size check
possibly larger than the buffer size as the check was always +3 on
the requested size rather than the rounded size. This was made
worse by BigBuf_max_traceLen not taking into account alignment
either and the alignmentn check in hfsnoop.c checking to 2 byte
alignment instead of 4 byte alignment.
The alignment size check now checks the size after alignment
rounding, and BigBuf_max_traceLen takes into account alignment
losses too reducing the need for BigBuf consumers to have to care
about alignment.
2024-01-24 00:10:05 +10:00
Iceman
e6e9be84fb
Merge pull request #2265 from martian/readmem-small-fixes
...
Readmem small fixes
2024-01-23 10:52:11 +01:00
Martijn Plak
ebdd30e92c
readmem (ARM): boundary check against end of addressable space
2024-01-23 08:41:53 +01:00
Martijn Plak
6524c7ada7
readmem: remove superfluous printing of filename
2024-01-23 08:39:50 +01:00
Martijn Plak
2f324918b3
readmem: fix entry of numbers and allow hexadecimal
2024-01-23 08:36:53 +01:00
Iceman
f3b412f8fe
Merge pull request #2263 from martian/flashdump
...
Adding processor flash memory reading, viewing and writing to file.
2024-01-22 22:34:50 +01:00
martian
b86065c4ea
Merge branch 'master' into flashdump
...
Signed-off-by: martian <martijn@plak.net>
2024-01-22 21:05:13 +01:00
iceman1001
2f6df627dc
modified mfu info to correctly identify ntag i2c tags
2024-01-22 20:09:44 +01:00
Martijn Plak
de91e850b4
use fileutils to write memory dump
2024-01-22 18:16:27 +01:00
Martijn Plak
974713a4d8
CMD_READ_MEM_DOWNLOAD, hw readmem and --dumpmem
2024-01-22 17:17:56 +01:00
Martijn Plak
e35385fde1
Adding processor flash memory reading, viewing and writing to file.
...
Works when the device is running either osimage or bootloader.
- New memory reading command in osimage and bootloader.
- Extended 'hw readmem' command with length parameter, file writing and hex viewer.
- Introduced '--dumpmem' option to proxmark3 executable to support dumping from bootloader.
Simple interactive examples:
hw readmem -f flashdump
hw readmem -l 1024
CLI example:
./pm3 --dumpmem flashdump.bin
Reading from arbitrary memory ranges can be unlocked using the 'raw' option.
2024-01-22 16:40:05 +01:00
iceman1001
c6adda54ed
from MFC
2024-01-21 19:47:23 +01:00
iceman1001
511cc8df15
style
2024-01-20 23:15:10 +01:00
iceman1001
29ba621f5d
14b dump/view now support -z flag for dense output
2024-01-20 23:14:35 +01:00
iceman1001
5fd69c76d7
added support for dense output in xerox dump / info commands
2024-01-20 20:40:31 +01:00
iceman1001
344cd8ffab
refactoring info output
2024-01-20 20:29:44 +01:00
Iceman
3d4c45727f
Merge pull request #2261 from JeroenSteen/upstream
...
Added small drum data, for showing interchangeability of slots
2024-01-20 20:20:01 +01:00
Jeroen van der Steen
e1da4a8d85
Added small drum data, for showing interchangeability of slots
2024-01-20 18:24:43 +01:00
iceman1001
3f1e0f46db
hf mfu dump/view/eview now supports dense output.
2024-01-20 06:24:13 +01:00
Iceman
6224afb242
Merge pull request #2260 from team-orangeBlue/DataCrypto
...
Add `data crypto` command
2024-01-20 05:47:14 +01:00
team-orangeBlue
8146bbe38a
Update CHANGELOG.md
...
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-20 00:24:07 +03: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
60ccacdbf4
Add record
...
Without styling..
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-19 23:47:45 +03:00
team-orangeBlue
571afc2901
Update commands.md
...
Add record
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-19 23:43:22 +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
f48d495565
lf em 4x05 view -vv - to see config bit decode
2024-01-18 23:05:47 +01:00
iceman1001
3ccfd5835c
style
2024-01-18 19:49:51 +01:00
iceman1001
c3f2f0dfda
missing some verbose
2024-01-18 19:48:20 +01:00
iceman1001
05353deb4a
unified verbose param text and fixed behavior
2024-01-18 19:46:14 +01:00
Iceman
5b090701f0
Merge pull request #2258 from wh201906/tune
...
Show statistical data after tuning
2024-01-18 19:21:03 +01:00
wh201906
9548f12a94
Change format string
2024-01-19 00:23:04 +08:00
wh201906
40c35cc634
Show statistical data after tuning
2024-01-19 00:08:02 +08:00
iceman1001
c3b7f6ca58
make style
2024-01-18 17:04:32 +01:00
wh201906
bff5864f9d
Fix print_progress()
2024-01-19 00:03:13 +08:00
iceman1001
9596162aa2
added command to print out the common configuration words that we identifed. For experimental purposes of the curious minded
2024-01-18 17:02:38 +01:00
iceman1001
22fd440c83
style
2024-01-18 16:41:13 +01:00
iceman1001
b19973368d
fix wrong fct call
2024-01-18 16:35:44 +01:00
iceman1001
5e4796c57b
remove some debug statements
2024-01-18 16:32:13 +01:00
iceman1001
5a5bb22ef6
wrong param name. thanks @annplusplus for finding it
2024-01-18 16:25:29 +01:00
iceman1001
ae80614a1a
style
2024-01-18 16:22:10 +01:00
iceman1001
3c7680264c
forgot
2024-01-18 16:21:45 +01:00
iceman1001
26e837a1aa
forgot
2024-01-18 16:21:01 +01:00
iceman1001
49f07a39d5
lf idteck demod takes a raw hex string and tries to decode it
2024-01-18 16:20:35 +01:00
iceman1001
7d67ac633a
lf em 410x demod --bin takes a binary string and tries to demodulate EM4100. However, current preamble detection needs an extra ZERO in the beginning of the binary string
2024-01-18 16:17:42 +01:00
iceman1001
98e44176a9
lf em 4x05 view is a new command to view dump files. lf em 4x05 view got detailed breakdown of config word bits. protection bits are guarded by verbose flag and identifcation got better generic instead of an wrongly absolut match
2024-01-18 16:11:21 +01:00
iceman1001
55702e6e86
style
2024-01-18 13:45:28 +01:00