Skip to content

Instantly share code, notes, and snippets.

Last active February 21, 2018 13:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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
RUN apt-get install -y binutils
RUN apt-get install -y python2.7 perl
RUN cd ~
RUN wget
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 ~/peda
RUN echo "source ~/peda/" >> ~/.gdbinit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment