mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 21:12:11 +00:00
bring dashboards back, tweaking and prepare for beta
This commit is contained in:
parent
8051e32f95
commit
c8f2739d11
6 changed files with 17 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
[](https://gitter.im/dtag-dev-sec/tpotce)
|
[](https://gitter.im/dtag-dev-sec/tpotce)
|
||||||
|
|
||||||
# T-Pot 16.10 Image Creator (working - dev in progress)
|
# T-Pot 16.10 Image Creator (beta)
|
||||||
|
|
||||||
This repository contains the necessary files to create the **[T-Pot community honeypot](http://dtag-dev-sec.github.io/)** ISO image.
|
This repository contains the necessary files to create the **[T-Pot community honeypot](http://dtag-dev-sec.github.io/)** ISO image.
|
||||||
The image can then be used to install T-Pot on a physical or virtual machine.
|
The image can then be used to install T-Pot on a physical or virtual machine.
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
T-Pot 16.10 (development)
|
T-Pot 16.10 (beta)
|
||||||
Hostname: \n
|
Hostname: \n
|
||||||
|
|
||||||
___________ _____________________________
|
___________ _____________________________
|
||||||
|
|
|
@ -73,8 +73,13 @@ server {
|
||||||
##################################
|
##################################
|
||||||
### Restrict access and basic auth
|
### Restrict access and basic auth
|
||||||
##################################
|
##################################
|
||||||
|
|
||||||
|
# satisfy all;
|
||||||
satisfy any;
|
satisfy any;
|
||||||
|
|
||||||
|
# allow 10.0.0.0/8;
|
||||||
|
# allow 172.16.0.0/12;
|
||||||
|
# allow 192.168.0.0/16;
|
||||||
allow 127.0.0.1;
|
allow 127.0.0.1;
|
||||||
allow ::1;
|
allow ::1;
|
||||||
deny all;
|
deny all;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# T-Pot post install script #
|
# T-Pot post install script #
|
||||||
# Ubuntu server 16.04.0, x64 #
|
# Ubuntu server 16.04.0, x64 #
|
||||||
# #
|
# #
|
||||||
# v16.10.0 by mo, DTAG, 2016-05-12 #
|
# v16.10.0 by mo, DTAG, 2016-10-23 #
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
# Type of install, TPOT, SENSOR, INDUSTRIAL or FULL?
|
# Type of install, TPOT, SENSOR, INDUSTRIAL or FULL?
|
||||||
|
@ -336,19 +336,22 @@ tee -a /etc/crontab <<EOF
|
||||||
#*/5 * * * * root alerta --endpoint-url http://<ip>:<port>/api delete --filters resource=<host> && alerta --endpoint-url http://<ip>:<port>/api send -e IP -r <host> -E Production -s ok -S T-Pot -t \$(cat /data/elk/logstash/mylocal.ip) --status open
|
#*/5 * * * * root alerta --endpoint-url http://<ip>:<port>/api delete --filters resource=<host> && alerta --endpoint-url http://<ip>:<port>/api send -e IP -r <host> -E Production -s ok -S T-Pot -t \$(cat /data/elk/logstash/mylocal.ip) --status open
|
||||||
|
|
||||||
# Check if updated images are available and download them
|
# Check if updated images are available and download them
|
||||||
27 1 * * * root for i in \$(cat /data/images.conf); do docker pull dtagdevsec/\$i:latest1610; done
|
27 1 * * * root for i in \$(cat /data/images.conf); do docker pull dtagdevsec/\$i:latest1610; done
|
||||||
|
|
||||||
# Restart docker service and containers
|
# Restart docker service and containers
|
||||||
27 3 * * * root dcres.sh
|
27 3 * * * root dcres.sh
|
||||||
|
|
||||||
# Delete elastic indices older than 90 days (kibana index is omitted by default)
|
# Delete elastic indices older than 90 days (kibana index is omitted by default)
|
||||||
27 4 * * * root docker exec elk bash -c '/usr/local/bin/curator --host 127.0.0.1 delete indices --older-than 90 --time-unit days --timestring \%Y.\%m.\%d'
|
27 4 * * * root docker exec elk bash -c '/usr/local/bin/curator --host 127.0.0.1 delete indices --older-than 90 --time-unit days --timestring \%Y.\%m.\%d'
|
||||||
|
|
||||||
# Update IP and erase check.lock if it exists
|
# Update IP and erase check.lock if it exists
|
||||||
27 15 * * * root /etc/rc.local
|
27 15 * * * root /etc/rc.local
|
||||||
|
|
||||||
|
# Daily reboot
|
||||||
|
27 23 * * * root reboot
|
||||||
|
|
||||||
# Check for updated packages every sunday, upgrade and reboot
|
# Check for updated packages every sunday, upgrade and reboot
|
||||||
27 16 * * 0 root apt-get autoclean -y; apt-get autoremove -y; apt-get update -y; apt-get upgrade -y; sleep 5; reboot
|
27 16 * * 0 root apt-get autoclean -y && apt-get autoremove -y && apt-get update -y && apt-get upgrade -y && sleep 10 && reboot
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Let's create some files and folders
|
# Let's create some files and folders
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<a href="/myhead/_plugin/head/" target="main" class="btn">ES Head Plugin</a>
|
<a href="/myhead/_plugin/head/" target="main" class="btn">ES Head Plugin</a>
|
||||||
<a href="/ui/" target="main" class="btn">UI-For-Docker</a>
|
<a href="/ui/" target="main" class="btn">UI-For-Docker</a>
|
||||||
<a href="/wetty/ssh/tsec" target="main" class="btn">WebSSH</a>
|
<a href="/wetty/ssh/tsec" target="main" class="btn">WebSSH</a>
|
||||||
<a href="/netdata/" target="main" class="btn">Netdata</a>
|
<a href="/netdata/" target="_blank" class="btn">Netdata</a>
|
||||||
</center>
|
</center>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue