mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
Add Spacing
This commit is contained in:
parent
4b3337de48
commit
ad7f3a6485
1 changed files with 2 additions and 1 deletions
|
@ -253,11 +253,11 @@ echo "### https://raw.githubusercontent.com/dtag-dev-sec/tpotce/master/etc/objec
|
||||||
echo "### Export and import the objects easily through the Kibana WebUI:"
|
echo "### Export and import the objects easily through the Kibana WebUI:"
|
||||||
echo "### Go to Kibana > Management > Saved Objects > Export / Import"
|
echo "### Go to Kibana > Management > Saved Objects > Export / Import"
|
||||||
echo "### All objects will be overwritten upon import, make sure to run an export first."
|
echo "### All objects will be overwritten upon import, make sure to run an export first."
|
||||||
echo
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function fuRESTORE_EWSCFG () {
|
function fuRESTORE_EWSCFG () {
|
||||||
if [ -f '/data/ews/conf/ews.cfg' ] && ! grep 'ews.cfg' /opt/tpot/etc/tpot.yml > /dev/null; then
|
if [ -f '/data/ews/conf/ews.cfg' ] && ! grep 'ews.cfg' /opt/tpot/etc/tpot.yml > /dev/null; then
|
||||||
|
echo
|
||||||
echo "### Restoring volume mount for ews.cfg in tpot.yml"
|
echo "### Restoring volume mount for ews.cfg in tpot.yml"
|
||||||
sed -i '/\/opt\/ewsposter\/ews.ip/a\\ \ \ \ \ - /data/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg' /opt/tpot/etc/tpot.yml
|
sed -i '/\/opt\/ewsposter\/ews.ip/a\\ \ \ \ \ - /data/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg' /opt/tpot/etc/tpot.yml
|
||||||
fi
|
fi
|
||||||
|
@ -265,6 +265,7 @@ fi
|
||||||
|
|
||||||
function fuRESTORE_HPFEEDS () {
|
function fuRESTORE_HPFEEDS () {
|
||||||
if [ -f '/data/ews/conf/hpfeeds.cfg' ]; then
|
if [ -f '/data/ews/conf/hpfeeds.cfg' ]; then
|
||||||
|
echo
|
||||||
echo "### Restoring HPFEEDS in tpot.yml"
|
echo "### Restoring HPFEEDS in tpot.yml"
|
||||||
./bin/hpfeeds_optin.sh --conf=/data/ews/conf/hpfeeds.cfg
|
./bin/hpfeeds_optin.sh --conf=/data/ews/conf/hpfeeds.cfg
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue