mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
fix bug in fuECHO, improve readability of installation menu
This commit is contained in:
parent
be12a24c2f
commit
974eea9a7e
1 changed files with 23 additions and 22 deletions
|
@ -18,7 +18,7 @@ fuECHO () {
|
||||||
local myRED=1
|
local myRED=1
|
||||||
local myWHT=7
|
local myWHT=7
|
||||||
tput setaf $myRED -T xterm
|
tput setaf $myRED -T xterm
|
||||||
echo $1 "$2"
|
echo "$1" "$2"
|
||||||
tput setaf $myWHT -T xterm
|
tput setaf $myWHT -T xterm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,26 +54,27 @@ sleep 5
|
||||||
while [ 1 != 2 ]
|
while [ 1 != 2 ]
|
||||||
do
|
do
|
||||||
fuECHO "### Please choose your install type and notice HW recommendation."
|
fuECHO "### Please choose your install type and notice HW recommendation."
|
||||||
fuECHO "###"
|
fuECHO
|
||||||
fuECHO "### [T] - T-Pot Standard Installation"
|
fuECHO " [T] - T-Pot Standard Installation"
|
||||||
fuECHO "### > Cowrie, Dionaea, Elasticpot, Glastopf, Honeytrap, Suricata & ELK"
|
fuECHO " - Cowrie, Dionaea, Elasticpot, Glastopf, Honeytrap, Suricata & ELK"
|
||||||
fuECHO "### > 4 GB RAM (6-8 GB recommended)"
|
fuECHO " - 4 GB RAM (6-8 GB recommended)"
|
||||||
fuECHO "### > 64GB disk (128 GB SSD recommended)"
|
fuECHO " - 64GB disk (128 GB SSD recommended)"
|
||||||
fuECHO "###"
|
fuECHO
|
||||||
fuECHO "### [H] - Honeypots Only Installation"
|
fuECHO " [H] - Honeypots Only Installation"
|
||||||
fuECHO "### > Cowrie, Dionaea, ElasticPot, Glastopf & Honeytrap"
|
fuECHO " - Cowrie, Dionaea, ElasticPot, Glastopf & Honeytrap"
|
||||||
fuECHO "### > 3 GB RAM (4-6 GB recommended)"
|
fuECHO " - 3 GB RAM (4-6 GB recommended)"
|
||||||
fuECHO "### > 64 GB disk (64 GB SSD recommended)"
|
fuECHO " - 64 GB disk (64 GB SSD recommended)"
|
||||||
fuECHO "###"
|
fuECHO
|
||||||
fuECHO "### [I] - Industrial"
|
fuECHO " [I] - Industrial"
|
||||||
fuECHO "### > ConPot, eMobility, ELK & Suricata"
|
fuECHO " - ConPot, eMobility, ELK & Suricata"
|
||||||
fuECHO "### > 4 GB RAM (8 GB recommended)"
|
fuECHO " - 4 GB RAM (8 GB recommended)"
|
||||||
fuECHO "### > 64 GB disk (128 GB SSD recommended)"
|
fuECHO " - 64 GB disk (128 GB SSD recommended)"
|
||||||
fuECHO "###"
|
fuECHO
|
||||||
fuECHO "### [E] - Everything (8GB RAM recommended)"
|
fuECHO " [E] - Everything"
|
||||||
fuECHO "### > 8 GB RAM"
|
fuECHO " - All of the above"
|
||||||
fuECHO "### > 128 GB disk or larger (128 GB SSD or larger recommended)"
|
fuECHO " - 8 GB RAM"
|
||||||
fuECHO "###"
|
fuECHO " - 128 GB disk or larger (128 GB SSD or larger recommended)"
|
||||||
|
fuECHO
|
||||||
read -p "Install Type: " myTYPE
|
read -p "Install Type: " myTYPE
|
||||||
case "$myTYPE" in
|
case "$myTYPE" in
|
||||||
[t,T])
|
[t,T])
|
||||||
|
@ -95,7 +96,7 @@ while [ 1 != 2 ]
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
fuECHO "### You chose: "$myFLAVOR
|
fuECHO "### You chose: "$myFLAVOR
|
||||||
echo
|
fuECHO
|
||||||
|
|
||||||
# Let's ask user for a web user and password
|
# Let's ask user for a web user and password
|
||||||
myOK="n"
|
myOK="n"
|
||||||
|
|
Loading…
Reference in a new issue