show user location to track output

neu5ron-patch-1
neu5ron 2020-01-03 04:14:57 -05:00
parent 4370a567f6
commit 161f64cecd
1 changed files with 4 additions and 1 deletions

View File

@ -309,7 +309,7 @@ check_github(){
if [ $GIT_REPO_CLEAN == 1 ]; then if [ $GIT_REPO_CLEAN == 1 ]; then
if [[ -z "$(git remote | grep helk-repo)" ]]; then if [[ -z "$(git remote | grep helk-repo)" ]]; then
git remote add helk-repo https://github.com/Cyb3rWard0g/HELK.git >> $LOGFILE 2>&1 git remote add helk-repo https://github.com/neu5ron/HELK.git >> $LOGFILE 2>&1
else else
echo "HELK repo exists" >> $LOGFILE 2>&1 echo "HELK repo exists" >> $LOGFILE 2>&1
fi fi
@ -408,6 +408,9 @@ LOGFILE="/var/log/helk-update.log"
REBUILD_NEEDED=0 REBUILD_NEEDED=0
GIT_REPO_CLEAN=1 GIT_REPO_CLEAN=1
echo -e "${CYAN}[HELK-UPDATE-INFO]${STD} You can track the verbose output of this script at $LOGFILE"
sleep 1
if [[ -e /tmp/helk-update ]]; then if [[ -e /tmp/helk-update ]]; then
UPDATES_FETCHED=`cat /tmp/helk-update` UPDATES_FETCHED=`cat /tmp/helk-update`