Commit graph

17957 commits

Author SHA1 Message Date
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
iceman1001 bc219ab619 fix string formatter 2024-01-18 13:44:33 +01:00
iceman1001 0e937e8cc6 preparing for better output of configuration data 2024-01-18 13:44:03 +01:00
iceman1001 6170eea81e style 2024-01-18 13:43:16 +01:00
iceman1001 df67ac7658 hf 15 eview and view now supports -z flag to make the output more dense 2024-01-17 21:12:41 +01:00
Iceman 40a39b961b
Merge pull request #2253 from JeroenSteen/Xerox
Small Xerox changes, finding correct partnumber additional information
2024-01-17 11:05:29 +01:00
Iceman 67afbb2821
Merge pull request #2254 from augustozanellato/cload_size
Add support for specifying size in `hf mf cload`
2024-01-17 00:11:03 +01:00
Augusto Zanellato bdc634240a Add support for specifying size in hf mf cload 2024-01-17 00:06:59 +01:00
Iceman a62556a9b3
Merge pull request #2251 from phaseloop/bruteforce-smart-mode
Add smart bruteforce mode to Mifare Classic and EM4x50
2024-01-17 00:06:07 +01:00
PhaseLoop b317d34cfd fix printf types 2024-01-16 22:48:58 +00:00
PhaseLoop be374ec2af remove unused message log 2024-01-16 22:40:17 +00:00
PhaseLoop d5070b34f4 fix cmake dependency 2024-01-16 22:31:04 +00:00