mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
offload listbot data from netlify CDN
This commit is contained in:
6
docker/elk/logstash/dist/update.sh
vendored
6
docker/elk/logstash/dist/update.sh
vendored
@ -22,13 +22,13 @@ for i in $mySITES;
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Check for connectivity and download latest translation maps
|
# Check for connectivity and download latest translation maps
|
||||||
myCHECK=$(fuCHECKINET "raw.githubusercontent.com")
|
myCHECK=$(fuCHECKINET "dtag-dev-sec.netlify.com")
|
||||||
if [ "$myCHECK" == "0" ];
|
if [ "$myCHECK" == "0" ];
|
||||||
then
|
then
|
||||||
echo "Connection to Github looks good, now downloading latest translation maps."
|
echo "Connection to Github looks good, now downloading latest translation maps."
|
||||||
cd /etc/listbot
|
cd /etc/listbot
|
||||||
aria2c -s16 -x 16 https://raw.githubusercontent.com/dtag-dev-sec/listbot/master/cve.yaml.bz2 && \
|
aria2c -s16 -x 16 https://dtag-dev-sec.netlify.com/cve.yaml.bz2 && \
|
||||||
aria2c -s16 -x 16 https://raw.githubusercontent.com/dtag-dev-sec/listbot/master/iprep.yaml.bz2 && \
|
aria2c -s16 -x 16 https://dtag-dev-sec.netlify.com/iprep.yaml.bz2 && \
|
||||||
bunzip2 -f *.bz2
|
bunzip2 -f *.bz2
|
||||||
cd /
|
cd /
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user