mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-11 18:58:21 +00:00
parent
9815f17b16
commit
4efc62b529
2 changed files with 2 additions and 2 deletions
|
@ -677,7 +677,7 @@ pip install elasticsearch-curator yq
|
||||||
|
|
||||||
# Cloning T-Pot from GitHub
|
# Cloning T-Pot from GitHub
|
||||||
fuBANNER "Cloning T-Pot"
|
fuBANNER "Cloning T-Pot"
|
||||||
git clone https://github.com/TheHADILP/tpotce.git -b hpfeeds-cmd /opt/tpot
|
git clone https://github.com/dtag-dev-sec/tpotce /opt/tpot
|
||||||
|
|
||||||
# Let's create the T-Pot user
|
# Let's create the T-Pot user
|
||||||
fuBANNER "Create user"
|
fuBANNER "Create user"
|
||||||
|
|
|
@ -58,7 +58,7 @@ function fuSELFUPDATE () {
|
||||||
echo "###### $myBLUE""No updates found in repository.""$myWHITE"
|
echo "###### $myBLUE""No updates found in repository.""$myWHITE"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
myRESULT=$(git diff --name-only origin/hpfeeds-cmd | grep update.sh)
|
myRESULT=$(git diff --name-only origin/master | grep update.sh)
|
||||||
if [ "$myRESULT" == "update.sh" ];
|
if [ "$myRESULT" == "update.sh" ];
|
||||||
then
|
then
|
||||||
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
||||||
|
|
Loading…
Reference in a new issue