Skip to content

Instantly share code, notes, and snippets.

@cyamax
Last active Feb 21, 2018
Embed
What would you like to do?
dockerfile/ctf Pwn debug-tools ubuntu 14.04 64bit
FROM ubuntu:14.04
# Debian Installerが使うフロントエンドに関わるエラーを表示しない
ENV DEBIAN_FRONTEND noninteractive
# 初期インストール
RUN dpkg --add-architecture i386
RUN apt-get update -y
RUN apt-get install -y wget git
# x64環境でx86バイナリを動かすパッケージ
RUN apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386
RUN apt-get install -y gcc-multilib g++-multilib
#ELF解析用
RUN apt-get install -y binutils
#Python,perl
RUN apt-get install -y python2.7 perl
#ROPガジェット探索用
RUN cd ~
RUN wget https://github.com/downloads/0vercl0k/rp/rp-lin-x86
RUN chmod +x rp-lin-x86
RUN mv rp-lin-x86 /usr/local/bin
#その他
RUN apt-get install -y gdb socat nasm tmux
# gdb-peda導入
RUN git clone https://github.com/longld/peda.git ~/peda
RUN echo "source ~/peda/peda.py" >> ~/.gdbinit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment