INNER CODE UNIT · Shell
date
edoardottt/missing-cve-nuclei-templates · scripts/update.sh:3
date=$(date +%F)
ROOTPATH="$HOME/github/missing-cve-nuclei-templates"
cd $ROOTPATH
# update local if necessary
git pull
# update CVEs
bash $ROOTPATH/scripts/check-missing-templates.sh $ROOTPATH/data/all.txt $ROOTPATH/data/all.json || {
echo 'check-missing-templates.sh failed' ;
exit 1;
}
# Generate new README.md with updated stats
### dropdown by vuln type