Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BlackVS/esp32knife
Tools for ESP32 firmware dissection
https://github.com/BlackVS/esp32knife
Last synced: about 1 month ago
JSON representation
Tools for ESP32 firmware dissection
- Host: GitHub
- URL: https://github.com/BlackVS/esp32knife
- Owner: BlackVS
- License: mit
- Created: 2020-11-28T13:53:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T18:02:36.000Z (7 months ago)
- Last Synced: 2024-05-16T19:26:46.955Z (7 months ago)
- Language: Assembly
- Size: 3.38 MB
- Stars: 26
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rainmana - BlackVS/esp32knife - Tools for ESP32 firmware dissection (Assembly)
README
# esp32knife
Tools for ESP32 firmware dissectionStill alpha.
install dependency by executing
```bash
pip install -r requirements.txt
```
or
```bash
python3 -m pip install requirements.txt
```Examples:
Load from device
```bash
esp32knife.py load_from_device --port=auto -e
esp32knife.py load_from_device --port=/dev/ttyUSB0 -e
esp32knife.py load_from_device --port=auto --baud=2000000 -e
esp32knife.py --chip=esp32 -m=nncbadge2019 load_from_device --port=auto --baud=2000000 -e
esp32knife.py --chip=esp32 -m=nncbadge2019 load_from_device --port=auto -e
```Load from full binary file
```bash
esp32knife.py --chip=esp32 -m=esp32badge2019 load_from_file firmware_esp32os_full.bin
esp32knife.py --chip=esp32 load_from_file firmware_nnc2019_full.bin
esp32knife.py --chip=esp32 -m=nncbadge2019 load_from_file boards/nncbadge2019/firmware_nnc2019_full.bin
```NVS2CVS
```bash
nvs2cvs.py -t=cvs parsed/part.0.nvs
nvs2cvs.py -t=text parsed/part.0.nvs
nvs2cvs.py -t=json parsed/part.0.nvs
nvs2cvs.py -t=cvs espressif/nvs_flash/nvs_partition_generator/sample_multipage_blob.bin
```