From ef55a9d43405a25ffda1c3871794762e11b800f4 Mon Sep 17 00:00:00 2001 From: Marco Ochse <t3chn0m4g3@users.noreply.github.com> Date: Mon, 13 May 2024 15:49:38 +0200 Subject: [PATCH] Update for T-Pot Mobile --- .env | 1 + env.example | 1 + install.sh | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 56106905..612e93fc 100644 --- a/.env +++ b/.env @@ -51,6 +51,7 @@ TPOT_PERSISTENCE=on # Create credentials with 'htpasswd ~/tpotce/data/nginx/conf/lswebpasswd <username>' # 4. On SENSOR: Provide username / password from (3) for TPOT_HIVE_USER as base64 encoded string: # "echo -n 'username:password' | base64 -w0" +# MOBILE: This will set the correct type for T-Pot Mobile (https://github.com/telekom-security/tpotmobile) TPOT_TYPE=HIVE # T-Pot Hive User (only relevant for SENSOR deployment) diff --git a/env.example b/env.example index 56106905..612e93fc 100644 --- a/env.example +++ b/env.example @@ -51,6 +51,7 @@ TPOT_PERSISTENCE=on # Create credentials with 'htpasswd ~/tpotce/data/nginx/conf/lswebpasswd <username>' # 4. On SENSOR: Provide username / password from (3) for TPOT_HIVE_USER as base64 encoded string: # "echo -n 'username:password' | base64 -w0" +# MOBILE: This will set the correct type for T-Pot Mobile (https://github.com/telekom-security/tpotmobile) TPOT_TYPE=HIVE # T-Pot Hive User (only relevant for SENSOR deployment) diff --git a/install.sh b/install.sh index 0b91b395..6604bb1e 100755 --- a/install.sh +++ b/install.sh @@ -201,8 +201,8 @@ while true; do esac done -if [ "${myTPOT_TYPE}" != "SENSOR" ]; - # T-Pot Type is HIVE / MOBILE; asking for WebUI username and password +if [ "${myTPOT_TYPE}" == "HIVE" ]; + # If T-Pot Type is HIVE ask for WebUI username and password then # Preparing web user for T-Pot echo