image tweaking

This commit is contained in:
t3chn0m4g3 2022-03-08 23:36:03 +00:00
parent 22904d402a
commit 9d7c24892d
25 changed files with 64 additions and 64 deletions

View file

@ -5,7 +5,7 @@ RUN apk -U add --no-cache \
build-base \ build-base \
git \ git \
g++ && \ g++ && \
apk -U add go --repository http://dl-3.alpinelinux.org/alpine/edge/community && \ apk -U add --no-cache go --repository http://dl-3.alpinelinux.org/alpine/edge/community && \
# #
# Setup go, build dicompot # Setup go, build dicompot
mkdir -p /opt/go && \ mkdir -p /opt/go && \

View file

@ -2,7 +2,7 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Determine arch, get and install packages # Determine arch, get and install packages
RUN ARCH=$(arch) && \ RUN ARCH=$(arch) && \
@ -16,7 +16,6 @@ RUN ARCH=$(arch) && \
http://ftp.us.debian.org/debian/pool/main/libe/libemu/libemu-dev_0.2.0+git20120122-1.2+b1_$ARCH.deb && \ http://ftp.us.debian.org/debian/pool/main/libe/libemu/libemu-dev_0.2.0+git20120122-1.2+b1_$ARCH.deb && \
apt install ./libemu2_0.2.0+git20120122-1.2+b1_$ARCH.deb \ apt install ./libemu2_0.2.0+git20120122-1.2+b1_$ARCH.deb \
./libemu-dev_0.2.0+git20120122-1.2+b1_$ARCH.deb -y && \ ./libemu-dev_0.2.0+git20120122-1.2+b1_$ARCH.deb -y && \
apt-get dist-upgrade -y && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
build-essential \ build-essential \
ca-certificates \ ca-certificates \
@ -108,7 +107,7 @@ RUN ARCH=$(arch) && \
# #
apt-get autoremove --purge -y && \ apt-get autoremove --purge -y && \
apt-get clean && \ apt-get clean && \
rm -rf /root/* /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /root/* /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /opt/dionaea/.git
# #
# Start dionaea # Start dionaea
USER dionaea:dionaea USER dionaea:dionaea

View file

@ -1,10 +1,10 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Install packages # Install packages
RUN apk -U add \ RUN apk -U --no-cache add \
build-base \ build-base \
ca-certificates \ ca-certificates \
git \ git \
@ -39,7 +39,7 @@ RUN apk -U add \
postgresql-dev \ postgresql-dev \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/* /opt/elasticpot/.git
# #
# Start elasticpot # Start elasticpot
STOPSIGNAL SIGINT STOPSIGNAL SIGINT

View file

@ -4,10 +4,9 @@ FROM ubuntu:20.04
ENV ES_VER=8.0.0 ENV ES_VER=8.0.0
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get dist-upgrade -y && \
apt-get install -y \ apt-get install -y \
aria2 \ aria2 \
curl && \ curl && \
@ -37,7 +36,7 @@ RUN apt-get update -y && \
# Clean up # Clean up
apt-get purge aria2 -y && \ apt-get purge aria2 -y && \
apt-get autoremove -y --purge && \ apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/dist apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /root/*
# #
# Healthcheck # Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9200/_cat/health' HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9200/_cat/health'

View file

@ -3,10 +3,9 @@ FROM ubuntu:20.04
# VARS # VARS
ENV KB_VER=8.0.0 ENV KB_VER=8.0.0
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get dist-upgrade -y && \
apt-get install -y \ apt-get install -y \
aria2 \ aria2 \
curl && \ curl && \
@ -47,7 +46,7 @@ RUN apt-get update -y && \
# Clean up # Clean up
apt-get purge aria2 -y && \ apt-get purge aria2 -y && \
apt-get autoremove -y --purge && \ apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/dist apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /root/*
# #
# Healthcheck # Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:5601' HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:5601'

View file

@ -3,11 +3,10 @@ FROM ubuntu:20.04
# VARS # VARS
ENV LS_VER=8.0.0 ENV LS_VER=8.0.0
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup env and apt # Setup env and apt
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get dist-upgrade -y && \
apt-get install -y \ apt-get install -y \
aria2 \ aria2 \
autossh \ autossh \
@ -55,7 +54,7 @@ RUN apt-get update -y && \
# #
# Clean up # Clean up
apt-get autoremove -y --purge && \ apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/dist apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /root/*
# #
# Healthcheck # Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9600' HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9600'

View file

@ -1,10 +1,10 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Install packages # Install packages
RUN apk -U add \ RUN apk -U --no-cache add \
build-base \ build-base \
git \ git \
libcap \ libcap \
@ -32,8 +32,7 @@ RUN apk -U add \
apk del --purge build-base \ apk del --purge build-base \
git \ git \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/geoip-attack-map/.git
rm -rf /var/cache/apk/*
# #
# Start wordpot # Start wordpot
STOPSIGNAL SIGINT STOPSIGNAL SIGINT

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Install packages # Install packages
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
@ -20,6 +20,7 @@ RUN apk -U --no-cache add \
py3-requests \ py3-requests \
py3-pip \ py3-pip \
py3-setuptools && \ py3-setuptools && \
pip3 install --upgrade pip && \
pip3 install --no-cache-dir configparser hpfeeds3 influxdb influxdb-client pyOpenSSL xmljson && \ pip3 install --no-cache-dir configparser hpfeeds3 influxdb influxdb-client pyOpenSSL xmljson && \
# #
# Setup ewsposter # Setup ewsposter
@ -44,8 +45,7 @@ RUN apk -U --no-cache add \
openssl-dev \ openssl-dev \
python3-dev \ python3-dev \
py-setuptools && \ py-setuptools && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/ewsposter/.git
rm -rf /var/cache/apk/*
# #
# Run ewsposter # Run ewsposter
STOPSIGNAL SIGINT STOPSIGNAL SIGINT

View file

@ -1,8 +1,9 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Get and install dependencies & packages # Get and install dependencies & packages
RUN apk -U add \ RUN apk -U --no-cache add \
git \ git \
libcap \
py3-libxml2 \ py3-libxml2 \
py3-lxml \ py3-lxml \
py3-pip \ py3-pip \
@ -19,22 +20,25 @@ RUN apk -U add \
cd /opt && \ cd /opt && \
git clone https://github.com/0x4D31/fatt && \ git clone https://github.com/0x4D31/fatt && \
cd fatt && \ cd fatt && \
git checkout 314cd1ff7873b5a145a51ec4e85f6107828a2c79 && \ git checkout 45cabf0b8b59162b99a1732d853efb01614563fe && \
#git checkout 314cd1ff7873b5a145a51ec4e85f6107828a2c79 && \
mkdir -p log && \ mkdir -p log && \
# pyshark >= 0.4.3 breaks fatt # pyshark >= 0.4.3 breaks fatt
pip3 install pyshark==0.4.2.11 && \ pip3 install pyshark==0.4.2.11 && \
# #
# Setup configs # Setup configs
chgrp fatt /usr/bin/dumpcap && \
setcap cap_net_raw,cap_net_admin=+eip /usr/bin/dumpcap && \
chown fatt:fatt -R /opt/fatt/* && \ chown fatt:fatt -R /opt/fatt/* && \
# #
# Clean up # Clean up
apk del --purge git \ apk del --purge git \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/fatt/.git
rm -rf /var/cache/apk/*
# #
# Start fatt # Start fatt
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
ENV PYTHONPATH /opt/fatt ENV PYTHONPATH /opt/fatt
WORKDIR /opt/fatt WORKDIR /opt/fatt
USER fatt:fatt
CMD python3 fatt.py -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') --print_output --json_logging -o log/fatt.log CMD python3 fatt.py -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') --print_output --json_logging -o log/fatt.log

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup apk # Setup apk
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
@ -47,7 +47,7 @@ RUN apk -U --no-cache add \
g++ && \ g++ && \
rm -rf /var/cache/apk/* \ rm -rf /var/cache/apk/* \
/opt/go \ /opt/go \
/root/dist /root/*
# #
# Start glutton # Start glutton
WORKDIR /opt/glutton WORKDIR /opt/glutton

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup apk # Setup apk
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
@ -41,7 +41,7 @@ RUN apk -U --no-cache add \
g++ && \ g++ && \
rm -rf /var/cache/apk/* \ rm -rf /var/cache/apk/* \
/opt/go \ /opt/go \
/root/dist /root/*
# #
# Start hellpot # Start hellpot
WORKDIR /opt/hellpot WORKDIR /opt/hellpot

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Install packages # Install packages
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \

View file

@ -1,10 +1,10 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Install packages # Install packages
RUN apk -U add \ RUN apk -U --no-cache add \
build-base \ build-base \
freetds \ freetds \
freetds-dev \ freetds-dev \
@ -53,8 +53,8 @@ RUN apk -U add \
postgresql-dev \ postgresql-dev \
python3-dev \ python3-dev \
zlib-dev && \ zlib-dev && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/honeypots/.git
rm -rf /var/cache/apk/*
# #
# Start honeypots # Start honeypots
STOPSIGNAL SIGINT STOPSIGNAL SIGINT

View file

@ -2,12 +2,11 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup apt # Setup apt
RUN apt-get update && \ RUN apt-get update && \
apt-get update -y && \ apt-get update -y && \
apt-get dist-upgrade -y && \
# #
# Install packages # Install packages
apt-get install -y autoconf \ apt-get install -y autoconf \
@ -56,7 +55,7 @@ RUN apt-get update && \
libnetfilter-queue-dev \ libnetfilter-queue-dev \
libpq-dev && \ libpq-dev && \
apt-get autoremove -y --purge && \ apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /root/* /opt/honeytrap/.git
# #
# Start honeytrap # Start honeytrap
USER honeytrap:honeytrap USER honeytrap:honeytrap

View file

@ -1,10 +1,10 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Install packages # Install packages
RUN apk -U add \ RUN apk -U --no-cache add \
build-base \ build-base \
ca-certificates \ ca-certificates \
git \ git \
@ -40,8 +40,7 @@ RUN apk -U add \
openssl-dev \ openssl-dev \
postgresql-dev \ postgresql-dev \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/ipphoney/.git
rm -rf /var/cache/apk/*
# #
# Start ipphoney # Start ipphoney
STOPSIGNAL SIGINT STOPSIGNAL SIGINT

View file

@ -18,8 +18,7 @@ RUN apk -U --no-cache add \
# #
# Clean up # Clean up
apk del --purge git && \ apk del --purge git && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/mailoney/.git
rm -rf /var/cache/apk/*
# #
# Set workdir and start mailoney # Set workdir and start mailoney
STOPSIGNAL SIGINT STOPSIGNAL SIGINT

View file

@ -1,13 +1,12 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Get and install dependencies & packages # Get and install dependencies & packages
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
nginx \ nginx \
nginx-mod-http-headers-more \ nginx-mod-http-headers-more && \
&& \
# #
## Setup T-Pot Landing Page, Eleasticvue, Cyberchef ## Setup T-Pot Landing Page, Eleasticvue, Cyberchef
cp -R /root/dist/html/* /var/lib/nginx/html/ && \ cp -R /root/dist/html/* /var/lib/nginx/html/ && \

View file

@ -3,7 +3,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Add source # Add source
ADD . /opt/p0f COPY . /opt/p0f
# #
# Install packages # Install packages
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup apk # Setup apk
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
@ -35,7 +35,8 @@ RUN apk -U --no-cache add \
g++ && \ g++ && \
rm -rf /var/cache/apk/* \ rm -rf /var/cache/apk/* \
/opt/go \ /opt/go \
/root/dist /root/* \
/opt/redishoneypot/.git
# #
# Start redishoneypot # Start redishoneypot
WORKDIR /opt/redishoneypot WORKDIR /opt/redishoneypot

View file

@ -51,7 +51,7 @@ RUN apk -U --no-cache add \
python3-dev \ python3-dev \
swig \ swig \
tinyxml-dev && \ tinyxml-dev && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/* /home/spiderfoot/.git
# #
# Healthcheck # Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:8080/spiderfoot/' HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:8080/spiderfoot/'

View file

@ -39,8 +39,7 @@ RUN apk -U --no-cache add \
git \ git \
php7-dev \ php7-dev \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/phpox/.git
rm -rf /var/cache/apk/*
# #
# Set workdir and start phpsandbox # Set workdir and start phpsandbox
STOPSIGNAL SIGKILL STOPSIGNAL SIGKILL

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup apk and redis # Setup apk and redis
RUN apk -U --no-cache add redis shadow && \ RUN apk -U --no-cache add redis shadow && \

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup apt # Setup apt
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
@ -25,6 +25,12 @@ RUN apk -U --no-cache add \
# clone --target http://example.com && \ # clone --target http://example.com && \
mv /root/dist/pages/* /opt/snare/pages/ && \ mv /root/dist/pages/* /opt/snare/pages/ && \
# #
# Setup configs, user, groups
addgroup -g 2000 snare && \
adduser -S -s /bin/ash -u 2000 -D -g 2000 snare && \
mkdir /var/log/tanner && \
chown -R snare:snare /opt/snare && \
#
# Clean up # Clean up
apk del --purge \ apk del --purge \
build-base \ build-base \
@ -36,5 +42,6 @@ RUN apk -U --no-cache add \
# #
# Start snare # Start snare
STOPSIGNAL SIGKILL STOPSIGNAL SIGKILL
USER snare:snare
#CMD snare --tanner tanner --debug true --no-dorks true --auto-update false --host-ip 0.0.0.0 --port 80 --page-dir $(shuf -i 1-10 -n 1) #CMD snare --tanner tanner --debug true --no-dorks true --auto-update false --host-ip 0.0.0.0 --port 80 --page-dir $(shuf -i 1-10 -n 1)
CMD snare --tanner tanner --debug true --auto-update false --host-ip 0.0.0.0 --port 80 --page-dir $(shuf -i 1-10 -n 1) CMD snare --tanner tanner --debug true --auto-update false --host-ip 0.0.0.0 --port 80 --page-dir $(shuf -i 1-10 -n 1)

View file

@ -1,7 +1,7 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ COPY dist/ /root/dist/
# #
# Setup apt # Setup apt
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
@ -59,8 +59,7 @@ RUN apk -U --no-cache add \
linux-headers \ linux-headers \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* && \
rm -rf /tmp/* /var/tmp/* && \ rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /opt/tanner/.git
rm -rf /var/cache/apk/*
# #
# Start tanner # Start tanner
STOPSIGNAL SIGKILL STOPSIGNAL SIGKILL

View file

@ -1,9 +1,9 @@
FROM alpine:3.15 FROM alpine:3.15
# #
# Include dist # Include dist
ADD dist/ /root/dist/ #COPY dist/ /root/dist/
# Install packages # Install packages
RUN apk -U add \ RUN apk -U --no-cache add \
build-base \ build-base \
git \ git \
libcap \ libcap \
@ -18,7 +18,7 @@ RUN apk -U add \
cd wordpot2 && \ cd wordpot2 && \
git checkout e93a2e00d84d280b0acd58ba6889b4bee8a6e4d2 && \ git checkout e93a2e00d84d280b0acd58ba6889b4bee8a6e4d2 && \
sed "s/MarkupSafe==1.0/MarkupSafe==1.1.1/g" -i requirements.txt && \ sed "s/MarkupSafe==1.0/MarkupSafe==1.1.1/g" -i requirements.txt && \
cp /root/dist/views.py /opt/wordpot2/wordpot/views.py && \ # cp /root/dist/views.py /opt/wordpot2/wordpot/views.py && \
pip3 install -r requirements.txt && \ pip3 install -r requirements.txt && \
setcap cap_net_bind_service=+ep /usr/bin/python3.9 && \ setcap cap_net_bind_service=+ep /usr/bin/python3.9 && \
# #
@ -31,8 +31,7 @@ RUN apk -U add \
apk del --purge build-base \ apk del --purge build-base \
git \ git \
python3-dev && \ python3-dev && \
rm -rf /root/* && \ rm -rf /root/* /var/cache/apk/* /opt/wordpot2/.git
rm -rf /var/cache/apk/*
# #
# Start wordpot # Start wordpot
STOPSIGNAL SIGINT STOPSIGNAL SIGINT