mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-04 05:52:11 +00:00
offload listbot data from netlify CDN
This commit is contained in:
parent
b7b6e9fa0e
commit
b12cf0e418
1 changed files with 3 additions and 3 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue