Alter docker configuration

This commit is contained in:
Oleksii Shevchuk 2017-03-11 08:20:37 +02:00
parent 11b16fe60c
commit 5d64d95120
3 changed files with 8 additions and 7 deletions

View File

@ -7,7 +7,7 @@ RUN echo 'deb http://ftp.debian.org/debian jessie-backports main' >>/etc/apt/sou
apt-get update && \ apt-get update && \
apt-get install -t jessie-backports --no-install-recommends -y build-essential \ apt-get install -t jessie-backports --no-install-recommends -y build-essential \
python-dev python-pip openssh-server tmux sslh libssl-dev \ python-dev python-pip openssh-server tmux sslh libssl-dev \
autoconf automake libffi-dev unzip libtool locales ncurses-term bash && \ autoconf automake libffi-dev unzip libtool locales ncurses-term bash tcpdump && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* /usr/share/doc* /usr/share/man/* /usr/share/info/* rm -rf /var/lib/apt/lists/* /usr/share/doc* /usr/share/man/* /usr/share/info/*
RUN echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen; locale-gen; echo 'LC_ALL=en_US.UTF-8' >/etc/default/locale RUN echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen; locale-gen; echo 'LC_ALL=en_US.UTF-8' >/etc/default/locale
@ -38,7 +38,7 @@ RUN apt-get remove -y autoconf automake python-dev libtool build-essential libss
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
EXPOSE 22 53 9999 53/udp EXPOSE 22 1080 5454 5454/udp 8080
VOLUME [ "/projects" ] VOLUME [ "/projects" ]
ENTRYPOINT [ "/opt/pupy/conf/pupyenv.sh" ] ENTRYPOINT [ "/opt/pupy/conf/pupyenv.sh" ]

View File

@ -1,19 +1,19 @@
[pupyd] [pupyd]
transport = ec4 transport = ec4
port = 9999 port = 8080
ipv6 = false ipv6 = false
igd = false igd = false
httpd = true
[cmdline] [cmdline]
display_banner = no display_banner = no
colors = yes colors = yes
[httpd]
secret = true
[paths] [paths]
prefer_workdir = yes prefer_workdir = yes
downloads = data/downloads/%c
screenshots = data/screenshots/%c
creds = data/db/%c
crypto = crypto
[on_connect] [on_connect]
#run_module = gather/keylogger start #run_module = gather/keylogger start

View File

@ -10,6 +10,7 @@ dnscnc = localhost:5454
[httpd] [httpd]
log = true log = true
secret = false
[cmdline] [cmdline]
display_banner = yes display_banner = yes