diff --git a/README.md b/README.md index c1a5058..be3a338 100644 --- a/README.md +++ b/README.md @@ -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` - -Once logged in you will need to compile the PM3 software at the moment. +## AP management interface +Management interface: http://10.3.141.1/ ``` -cd proxmark3 && make clean && make -sudo make install +IP address: 10.3.141.1 +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 ``` - -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/* /pi-gen/``` - -Finally you can create the image following the instructions in the pi-gen repository. This will create an output image in `/pi-gen/work/Proxmark3/export-image` You will be looking for the one ending in `-pm3.img` +To build new image you need will have to follow the steps below: +(Tested only on Mac Arm64 arch) +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) \ No newline at end of file diff --git a/images/build.jpg b/images/build.jpg new file mode 100644 index 0000000..0ffee0a Binary files /dev/null and b/images/build.jpg differ diff --git a/images/pm3shell.jpg b/images/pm3shell.jpg new file mode 100644 index 0000000..214e700 Binary files /dev/null and b/images/pm3shell.jpg differ