Skip to content

Commit b345d66

Browse files
committed
Removed some tools and added some others
1 parent cb49b29 commit b345d66

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ RUN apt-get update && \
1919
apt-get dist-upgrade -y && \
2020
echo "wireshark-common wireshark-common/install-setuid boolean true" | debconf-set-selections && \
2121
apt-get install -y --no-install-recommends \
22-
curl php binwalk gimp wireshark tshark nmap ht ltrace gdb patchelf elfutils \
23-
unzip wget build-essential aria2 jq python3-venv python3-full git ruby ruby-dev \
22+
curl php binwalk gimp wireshark tshark nmap ht ltrace strace gdb patchelf elfutils \
23+
unzip zip wget build-essential cmake default-jdk netcat-openbsd socat aria2 jq python3-venv python3-full git ruby ruby-dev \
2424
libpcap-dev pkg-config libcapstone-dev python3-dev libffi-dev libssl-dev && \
2525
apt-get autoremove -y && \
2626
rm -rf /var/lib/apt/lists/*
@@ -46,25 +46,23 @@ RUN python3 -m venv ${TOOLS_DIR}/venv && \
4646
${TOOLS_DIR}/venv/bin/pip install --no-cache-dir pwntools && \
4747
${TOOLS_DIR}/venv/bin/pip install --no-cache-dir capstone mtp
4848

49-
# Install user-specific tools
50-
RUN aria2c -q -d ${TOOLS_DIR} -o stegsolve.jar http://www.caesum.com/handbook/Stegsolve.jar || \
51-
wget -O ${TOOLS_DIR}/stegsolve.jar http://www.caesum.com/handbook/Stegsolve.jar && \
52-
chmod +x ${TOOLS_DIR}/stegsolve.jar
5349

5450
RUN git clone --depth=1 https://github.com/openwall/john -b bleeding-jumbo ${TOOLS_DIR}/john && \
5551
cd ${TOOLS_DIR}/john/src && ./configure && make -s clean && make -sj"$(nproc)"
5652

5753
RUN git clone --depth=1 https://github.com/pwndbg/pwndbg ${TOOLS_DIR}/pwndbg && \
5854
cd ${TOOLS_DIR}/pwndbg && ./setup.sh
55+
5956

6057
# Final setup
6158
USER root
6259
RUN rm -f /tmp/setup*.sh
6360
COPY --chown=vscode:vscode setup.sh setup-advanced.sh setup-fallback.sh /home/vscode/.devcontainer/
6461
RUN mkdir -p /workspaces && chown -R vscode:vscode /workspaces
6562

66-
# Activate venv by default for vscode user
67-
RUN echo 'source ${TOOLS_DIR}/venv/bin/activate' >> /home/vscode/.bashrc
63+
# Activate venv by default for vscode user and create john alias
64+
RUN echo 'source ${TOOLS_DIR}/venv/bin/activate' >> /home/vscode/.bashrc && \
65+
echo 'alias john="${TOOLS_DIR}/john/run/john"' >> /home/vscode/.bashrc
6866

6967
# Expose useful ports
7068
EXPOSE 8080 3000 5000

0 commit comments

Comments
 (0)