From 0f8e29f006a3f3696158d31dd2f40d1492f09a2c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Jul 2020 23:26:45 +0200 Subject: [PATCH] dockerfile added --- Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4afa99d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM debian:stretch + +WORKDIR /root/Eternalblue-Doublepulsar-Metasploit + +RUN apt-get update && \ + apt-get -y install wine git gnupg curl + +RUN dpkg --add-architecture i386 && \ + apt-get update && \ + apt-get -y install wine32 + +RUN curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \ + chmod 755 msfinstall && \ + ./msfinstall + +ADD . /root/Eternalblue-Doublepulsar-Metasploit + +RUN cp eternalblue_doublepulsar.rb /opt/metasploit-framework/embedded/framework/modules/exploits/windows/smb/ + +RUN mkdir -p /root/.wine/drive_c + +