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 install -t jessie-backports --no-install-recommends -y build-essential \
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 && \
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
@ -38,7 +38,7 @@ RUN apt-get remove -y autoconf automake python-dev libtool build-essential libss
ENV LANG 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" ]
ENTRYPOINT [ "/opt/pupy/conf/pupyenv.sh" ]

View File

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

View File

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