update readme

This commit is contained in:
Konstantin Krastev
2024-07-22 19:11:14 +03:00
parent 1a5fe4a0c5
commit 91a28f0d2e
3 changed files with 41 additions and 19 deletions

View File

@@ -1,28 +1,50 @@
This Pi-gen created image is configured to set up a wifi access point, SSH and a web terminal. # Proxmark3 Raspberry Pi Zero 2 W
The default account is username: `dt` password: `proxmark3` This image is configured to set up a wifio access point, and SSH.
It will expose a web shell on port 8000 and a pm3 shell on port 8050.
The default user credentials are - username: `dt` password: `proxmark3`
Connect to the `PM3` wifi hot spot with the passphrase `DangerousThings` ## AP management interface
Management interface: http://10.3.141.1/
Once logged in you will need to compile the PM3 software at the moment.
``` ```
cd proxmark3 && make clean && make IP address: 10.3.141.1
sudo make install Username: admin
Password: secret
DHCP range: 10.3.141.50 — 10.3.141.254
SSID: raspi-webgui
Password: ChangeMe
```
## web shell
* web shell (u: dt ; p: proxmark3) at http://10.3.141.1:8000/
## web pm3 console
* pm3 shell (u: dt ; p: proxmark3) at http://10.3.141.1:8080/
![pm3shell](images/pm3shell.jpg)
## usage
You can burn the image to a sd-card using https://etcher.balena.io/
Insert the sd-card in your RPI Zero 2 w and power it on.
Wait for one minute for the OS to boot and then connect to the Access Point using the following credentials
```
SSID: raspi-webgui
Password: ChangeMe
``` ```
To remake the image you will need the pi-gen repository. ## build
```git clone https://github.com/RPI-Distro/pi-gen ``` To build new image you need will have to follow the steps below:
(Tested only on Mac Arm64 arch)
If you are building for ARM64 then make sure you checkout the ARM64 branch
```git checkout arm64```
Then you will need to copy the contents of the pi-gen subdirectory from this repository into place.
```cp -rp ./pi-gen/* <your path>/pi-gen/```
Finally you can create the image following the instructions in the pi-gen repository. This will create an output image in `<your path>/pi-gen/work/Proxmark3/export-image` You will be looking for the one ending in `-pm3.img`
1. checkout pi-gen
``` git clone https://github.com/RPi-Distro/pi-gen.git pmbuild ```
2. copy the content of pi-pm3 folder to pmbuild
``` cp -rp pi-gen pmbuild/ ```
3. Checkout the arm64 branch of pi-gen
``` cd pmbuild; git checkout arm64 ```
4. make sure you have a docker server running (or any of it's alternatives https://spacelift.io/blog/docker-alternatives)
5. start the build in a docker container
``` ./docker-build.sh ```
On a successful build uou should get something like the screenshot blow:
![build](images/build.jpg)

BIN
images/build.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

BIN
images/pm3shell.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB