Skip to content

Commit

Permalink
clean up temporary files from IDA and Ghidra installs
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Oct 4, 2022
1 parent 8131a39 commit b4f029f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions challenge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ RUN apt-get update && \
apt-get -y remove --purge at-spi2-core tumbler gvfs-* && \
apt-get -y autoremove
RUN wget -q -O - https://github.com/angr/angr-management/releases/download/$(curl https://github.com/angr/angr-management/releases | grep -oP -m1 'nightly-[\d\.]+')/angr-management-ubuntu.tar.gz | tar xvz -C /opt
RUN wget -q -O /tmp/ghidra.zip https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_10.1.5_build/ghidra_10.1.5_PUBLIC_20220726.zip && cd /opt && unzip /tmp/ghidra.zip && mv /opt/ghidra_10.1.5_PUBLIC /opt/ghidra
RUN wget -q -O /tmp/ghidra.zip https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_10.1.5_build/ghidra_10.1.5_PUBLIC_20220726.zip && cd /opt && unzip /tmp/ghidra.zip && mv /opt/ghidra_10.1.5_PUBLIC /opt/ghidra && rm /tmp/ghidra.zip
COPY desktop/angr-management.desktop /usr/share/applications/
COPY desktop/Ghidra.desktop /usr/share/applications/
COPY desktop/pwncollege_background.jpg /usr/share/backgrounds/
Expand All @@ -203,7 +203,7 @@ RUN rm /etc/xdg/autostart/* # don't autostart stuff in the desktop
# IDA Freeware: only permissible for free and open deploymets of the pwn.college dojo!
COPY desktop/ida.opt /opt/ida/ida.opt
RUN wget https://out7.hex-rays.com/files/idafree80_linux.run -O /tmp/idafree80_linux.run && chmod 755 /tmp/idafree80_linux.run && /tmp/idafree80_linux.run --optionfile /opt/ida/ida.opt
RUN wget https://out7.hex-rays.com/files/idafree80_linux.run -O /tmp/idafree80_linux.run && chmod 755 /tmp/idafree80_linux.run && /tmp/idafree80_linux.run --optionfile /opt/ida/ida.opt && rm /tmp/idafree80_linux.run /tmp/installbuilder_installer.log
COPY desktop/ida64.desktop /usr/share/applications/
RUN mkdir /opt/pwn.college
Expand Down

0 comments on commit b4f029f

Please sign in to comment.