@@ -12,9 +12,9 @@ mySITES="https://hub.docker.com https://github.com https://pypi.python.org https
1212myTPOTCOMPOSE=" /opt/tpot/etc/tpot.yml"
1313myLSB_STABLE_SUPPORTED=" stretch buster"
1414myLSB_TESTING_SUPPORTED=" stable"
15- myREMOTESITES=" https://hub.docker.com https://github.com https://pypi.python.org https://debian.org"
15+ myREMOTESITES=" https://hub.docker.com https://github.com https://pypi.python.org https://debian.org https://listbot.sicherheitstacho.eu "
1616myPREINSTALLPACKAGES=" aria2 apache2-utils cracklib-runtime curl dialog figlet fuse grc libcrack2 libpq-dev lsb-release netselect-apt net-tools software-properties-common toilet"
17- myINSTALLPACKAGES=" aria2 apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit console-setup console-setup-linux cracklib-runtime curl debconf-utils dialog dnsutils docker.io docker-compose elasticsearch-curator ethtool fail2ban figlet genisoimage git glances grc haveged html2text htop iptables iw jq kbd libcrack2 libltdl7 libpam-google-authenticator man mosh multitail netselect-apt net-tools npm ntp openssh-server openssl pass pigz prips software-properties-common syslinux psmisc pv python3-pip toilet unattended-upgrades unzip vim wget wireless-tools wpasupplicant"
17+ myINSTALLPACKAGES=" aria2 apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit console-setup console-setup-linux cracklib-runtime curl debconf-utils dialog dnsutils docker.io docker-compose ethtool fail2ban figlet genisoimage git glances grc haveged html2text htop iptables iw jq kbd libcrack2 libltdl7 libpam-google-authenticator man mosh multitail netselect-apt net-tools npm ntp openssh-server openssl pass pigz prips software-properties-common syslinux psmisc pv python3-pip toilet unattended-upgrades unzip vim wget wireless-tools wpasupplicant"
1818myINFO=" \
1919###########################################
2020### T-Pot Installer for Debian (Stable) ###
310310 apt-fast -y install $myINSTALLPACKAGES
311311 # Remove exim4
312312 echo " ### Removing and holding back problematic packages ..."
313- apt-fast -y purge exim4-base mailutils pcp cockpit-pcp
313+ apt-fast -y purge exim4-base mailutils pcp cockpit-pcp elasticsearch-curator
314314 apt-fast -y autoremove
315- apt-mark hold exim4-base mailutils pcp cockpit-pcp
315+ apt-mark hold exim4-base mailutils pcp cockpit-pcp elasticsearch-curator
316316}
317317
318318# Check for other services
@@ -681,10 +681,10 @@ echo "$myNETWORK_WLANEXAMPLE" | tee -a /etc/network/interfaces
681681fuBANNER " SSH roaming off"
682682echo " UseRoaming no" | tee -a /etc/ssh/ssh_config
683683
684- # Installing elasticdump, yq
684+ # Installing elasticdump, elasticsearch-curator, yq
685685fuBANNER " Installing pkgs"
686686npm install elasticdump -g
687- pip3 install yq
687+ pip3 install elasticsearch-curator yq
688688hash -r
689689
690690# Cloning T-Pot from GitHub
@@ -775,29 +775,30 @@ echo "$myCRONJOBS" | tee -a /etc/crontab
775775
776776# Let's create some files and folders
777777fuBANNER " Files & folders"
778- mkdir -p /data/adbhoney/downloads /data/adbhoney/ log \
778+ mkdir -vp /data/adbhoney/{ downloads, log} \
779779 /data/ciscoasa/log \
780- /data/citrixhoneypot/logs \
781- /data/conpot/log \
782- /data/cowrie/log/tty/ /data/cowrie/ downloads/ /data/cowrie/ keys/ /data/cowrie/ misc/ \
783- /data/dionaea/log /data/dionaea/ bistreams /data/dionaea/ binaries /data/dionaea/ rtp /data/dionaea/ roots/ftp /data/dionaea/ roots/tftp /data/dionaea/ roots/www /data/dionaea/ roots/upnp \
780+ /data/conpot/log \
781+ /data/citrixhoneypot/logs \
782+ /data/cowrie/{ downloads, keys, misc,log,log/tty} \
783+ /data/dionaea/{ log, bistreams, binaries, rtp, roots,roots /ftp, roots/tftp, roots/www, roots/upnp} \
784784 /data/elasticpot/log \
785- /data/elk/data /data/elk/ log \
786- /data/fatt/log \
787- /data/honeytrap/log/ /data/honeytrap/ attacks/ /data/honeytrap/ downloads/ \
785+ /data/elk/{ data, log} \
786+ /data/fatt/log \
787+ /data/honeytrap/{ log, attacks, downloads} \
788788 /data/glutton/log \
789789 /data/heralding/log \
790790 /data/honeypy/log \
791791 /data/mailoney/log \
792792 /data/medpot/log \
793- /data/nginx/log /data/nginx/ heimdall \
793+ /data/nginx/{ log, heimdall} \
794794 /data/emobility/log \
795795 /data/ews/conf \
796796 /data/rdpy/log \
797797 /data/spiderfoot \
798- /data/suricata/log /home/tsec/.ssh/ \
799- /data/tanner/log /data/tanner/files \
800- /data/p0f/log
798+ /data/suricata/log \
799+ /data/tanner/{log,files} \
800+ /data/p0f/log \
801+ /home/tsec/.ssh/
801802touch /data/spiderfoot/spiderfoot.db
802803touch /data/nginx/log/error.log
803804
0 commit comments