-
-
Save dguerri/020830af10b274ca4eeada2fc320e3fb to your computer and use it in GitHub Desktop.
H4ck1ng G00gl3 - EP001 CHALLENGE01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y --no-install-recommends \ | |
apt-utils \ | |
binutils-x86-64-linux-gnu \ | |
bison \ | |
bsdmainutils \ | |
build-essential \ | |
curl \ | |
curl \ | |
file \ | |
flex \ | |
fzf \ | |
gdb \ | |
git \ | |
less \ | |
lib32z1 \ | |
libffi-dev \ | |
libssl-dev \ | |
pkg-config \ | |
python3 \ | |
python3-dev \ | |
python3-pip \ | |
software-properties-common \ | |
sudo \ | |
tmux \ | |
unzip \ | |
vim \ | |
wget \ | |
zsh | |
RUN python3 -m pip install --upgrade pip | |
# Install pwntools | |
RUN python3 -m pip install --upgrade pwntools | |
# Install ropper | |
RUN python3 -m pip install --upgrade keystone-engine ropper | |
# Install gef | |
RUN sh -c "$(curl -fsSL http://gef.blah.cat/sh)" | |
# Misc dotfiles | |
COPY radare2rc /root/.radare2rc | |
# Radare2 | |
RUN git clone https://github.com/radareorg/radare2 /root/radare2 | |
RUN cd /root/radare2 && sys/install.sh | |
RUN r2pm init | |
RUN r2pm update && \ | |
r2pm -gi r2ghidra r2ghidra-sleigh | |
# Crackmes | |
COPY binaries /root/binaries | |
RUN chmod +x /root/binaries/**/* | |
# Zsh + p10k | |
RUN chsh -s /usr/bin/zsh root | |
RUN git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k | |
COPY zshrc /root/.zshrc | |
COPY p10k.zsh /root/.p10k.zsh | |
WORKDIR /root/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment