File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ FROM alpine:3.21.3
3
3
RUN \
4
4
# Update and install system applications
5
5
apk add --update --no-cache \
6
- bind-tools=9.18.34 -r0 \
6
+ bind-tools=9.18.35 -r0 \
7
7
certbot=3.0.1-r0 \
8
8
curl=8.12.1-r1 \
9
9
libcap=2.71-r0 \
10
+ libfaketime=0.9.10-r3 \
10
11
lua-resty-core=0.1.31-r0 \
11
12
nginx=1.26.3-r0 \
12
13
nginx-mod-http-fancyindex=1.26.3-r0 \
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ for file in /etc/nginx/sites-available/*; do
233
233
done
234
234
235
235
# Generate snakeoil certs for domains found in hijacked domains (Up to 8 sections for the domain)
236
- openssl req -nodes -x509 -newkey rsa:4096 -keyout /etc/nginx/certs/private/snakeoil.key -out /etc/nginx/certs/snakeoil.crt -days 36500 -subj ' /CN=*/CN=*.*/CN=*.*.*/CN=*.*.*.*/CN=*.*.*.*.*/CN=*.*.*.*.*.*/CN=*.*.*.*.*.*.*/CN=*.*.*.*.*.*.*.*' > /dev/null 2>&1
236
+ LD_PRELOAD=src/libfaketime.so.1 FAKETIME= " @1970-01-01 00:00:00 " openssl req -nodes -x509 -newkey rsa:4096 -keyout /etc/nginx/certs/private/snakeoil.key -out /etc/nginx/certs/snakeoil.crt -days 36500 -subj ' /CN=*/CN=*.*/CN=*.*.*/CN=*.*.*.*/CN=*.*.*.*.*/CN=*.*.*.*.*.*/CN=*.*.*.*.*.*.*/CN=*.*.*.*.*.*.*.*' > /dev/null 2>&1
237
237
chmod 644 /etc/nginx/certs/snakeoil.crt
238
238
chmod 640 /etc/nginx/certs/private/snakeoil.key
239
239
You can’t perform that action at this time.
0 commit comments