Skip to content

Commit 28a5b43

Browse files
committed
Merge branch 'releases' into 'master'
Releases See merge request 2020-dp-wifi-attacks-using-esp32-8266/esp32-wifi-penetration-tool!45
2 parents 5f96bae + f0b0b54 commit 28a5b43

File tree

5 files changed

+22
-4
lines changed

5 files changed

+22
-4
lines changed

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
.vscode
22
.local_files
3-
build
3+
build/*
4+
!build/*.bin
5+
!build/bootloader
6+
build/bootloader/*
7+
!build/bootloader/bootloader.bin
8+
!build/partition_table
9+
build/partition_table/*
10+
!build/partition_table/*.bin
411
sdkconfig
512
sdkconfig.old
613
doc/api

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Obviously cracking is not part of this project, as ESP32 is not sufficient to cr
2525

2626

2727
## Usage
28-
1. Build and flash project onto ESP32 (DevKit or module)
28+
1. [Build](#Build) and [flash](#Flash) project onto ESP32 (DevKit or module)
2929
1. Power ESP32
3030
1. Management AP is started automatically after boot
3131
1. Connect to this AP\
@@ -38,15 +38,26 @@ By default:
3838
## Build
3939
This project is currently developed using ESP-IDF 4.1 (commit `5ef1b390026270503634ac3ec9f1ec2e364e23b2`). It may be broken on newer version.
4040

41-
Project can be built and flashed in the usual ESP-IDF way:
41+
Project can be built in the usual ESP-IDF way:
4242

4343
```shell
4444
idf.py build
45-
idf.py flash
4645
```
4746

4847
Legacy method using `make` is not supported by this project.
4948

49+
## Flash
50+
If you have setup ESP-IDF, the easiest way is to use `idf.py flash`.
51+
52+
In case you don't want to setup whole ESP-IDF, you can use pre-build binaries included in [`build/`](build/) and flash them using [`esptool.py`](https://github.com/espressif/esptool) (requires Python).
53+
54+
Example command (follow instructions in [esptool repo](https://github.com/espressif/esptool)):
55+
```
56+
esptool.py -p /dev/ttyS5 -b 115200 --after hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size detect 0x8000 build/partition_table/partition-table.bin 0x1000 build/bootloader/bootloader.bin 0x10000 build/esp32-wifi-penetration-tool.bin
57+
```
58+
59+
On Windows you can use official [Flash Download Tool](https://www.espressif.com/en/support/download/other-tools).
60+
5061
## Documentation
5162
### Wi-Fi attacks
5263
Attacks implementations in this project are described in [main component README](main/). Theory behind these attacks is located in [doc/ATTACKS_THEORY.md](doc/ATTACKS_THEORY.md)

build/bootloader/bootloader.bin

23.5 KB
Binary file not shown.
706 KB
Binary file not shown.
3 KB
Binary file not shown.

0 commit comments

Comments
 (0)