File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FROM alpine:latest
22
33# Default firmware version
44ARG FIRMWARE_VERSION=1100
5+ ARG INTERFACE=eth0
56
67# Install necessary dependencies and download PPPwn++
78RUN apk add --no-cache bash wget curl unzip tar && \
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ services:
55 image : softwarerat/pppwn_live:latest
66 environment :
77 - FIRMWARE_VERSION=1000
8+ - INTERFACE=eth0
89 network_mode : host
910 restart : unless-stopped
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ if [ ! -f "/opt/pppwn/stage1.bin" ] || [ ! -f "/opt/pppwn/stage2.bin" ]; then
1818fi
1919
2020# Run PPPwn++
21- /opt/pppwn/pppwn -i eth0 --fw $FIRMWARE_VERSION --stage1 /opt/pppwn/stage1.bin --stage2 /opt/pppwn/stage2.bin -a
21+ /opt/pppwn/pppwn -i ${INTERFACE :- eth0} --fw $FIRMWARE_VERSION --stage1 /opt/pppwn/stage1.bin --stage2 /opt/pppwn/stage2.bin -a
You can’t perform that action at this time.
0 commit comments