File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 3232
3333WORKDIR /config/Desktop
3434
35+ # Create directories for copied files
36+ RUN mkdir -p /var/tmp/wrongsecrets /var/tmp/wrongsecrets/decrypt
37+
3538COPY src/main/resources/executables/*linux-mus* /var/tmp/wrongsecrets/
3639COPY src/main/resources/executables/decrypt/ /var/tmp/wrongsecrets/decrypt/
3740COPY src/main/resources/executables/wrongsecrets-advanced-c-windows.exe /var/tmp/wrongsecrets/
Original file line number Diff line number Diff line change @@ -26,11 +26,14 @@ RUN \
2626 echo "installing dotnet" && \
2727 wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \
2828 chmod +x dotnet-install.sh && \
29- ./dotnet-install.sh --install-dir /etc/dotnet --version latest && \
29+ ./dotnet-install.sh --install-dir /etc/dotnet --channel 6.0 --version latest && \
30+ rm dotnet-install.sh && \
3031 export DOTNET_ROOT=/etc/dotnet && \
3132 export PATH="/etc/dotnet:/etc/dotnet/tools:$PATH" && \
32- dotnet --info && \
33- dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
33+ echo "Checking dotnet installation..." && \
34+ /etc/dotnet/dotnet --info && \
35+ echo "Installing ilspycmd..." && \
36+ /etc/dotnet/dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
3437
3538# Add a secret using --mount and write it to a specific file path for the challenge
3639# Create the /app directory to store the secret
You can’t perform that action at this time.
0 commit comments