Refactoring

This commit is contained in:
Arthur-TRT 2022-05-06 14:12:43 +02:00
parent 3b6eefbb80
commit bc473ab416
1 changed files with 13 additions and 11 deletions

View File

@ -1,23 +1,25 @@
FROM alpine FROM alpine
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
RUN apk update \ RUN apk update \
&& apk add radare2 git exiftool file gdb vim \ && apk add radare2 git exiftool file gdb vim \
# #
# GENERECIC # GENERECIC
&& apk add python3-dev py3-pip python3-dbg gcc g++ libc-dev libc6-compat automake \ && apk add python3-dev py3-pip python3-dbg gcc g++ libc-dev libc6-compat automake \
# #
# BINWALK DEPENDENCIES # BINWALK DEPENDENCIES
&& apk add mtd-utils gzip bzip2 tar p7zip cabextract cramfs squashfs-tools sleuthkit openjdk18-jdk lzop \ && apk add mtd-utils gzip bzip2 tar p7zip cabextract cramfs squashfs-tools sleuthkit openjdk18-jdk lzop \
&& cd ~ && git clone https://github.com/ReFirmLabs/binwalk.git && cd binwalk \ #
&& pip3 install nose coverage pycryptodome \ # BINWALK
&& python3 setup.py install \ && cd ~ && git clone https://github.com/ReFirmLabs/binwalk.git && cd binwalk \
&& pip3 install nose coverage pycryptodome \
&& python3 setup.py install \
# #
# GDB # GDB
&& cd ~ && git clone https://github.com/apogiatzis/gdb-peda-pwndbg-gef.git \ && cd ~ && git clone https://github.com/apogiatzis/gdb-peda-pwndbg-gef.git \
&& cd ~/gdb-peda-pwndbg-gef \ && cd ~/gdb-peda-pwndbg-gef \
&& sed -i 's/sudo//g' install.sh && ./install.sh \ && sed -i 's/sudo//g' install.sh && ./install.sh \
# #
# ENDING # ENDING
&& mkdir -p 42ctf && mkdir -p 42ctf