INNER CODE UNIT · Shell

countFound

edoardottt/missing-cve-nuclei-templates · scripts/check-missing-templates.sh:200

  							countFound=$((countFound+1))
  							foundExit=true
  							echo -en "[ ${cve} ] "
  							missing_to_print="${missing//$'\n'/ }"
  							echo -n "[ $missing_to_print ] "
  							year=${current_year: -4}
  							echo "https://github.com/trickest/cve/blob/main/$year/$cve_file"

  							if [[ ! -z "$outputfile" ]]; then
  								echo -en "[ ${cve} ] " >> $outputfile
  								echo -n "[ $missing_to_print ] " >> $outputfile
  								echo "https://github.com/trickest/cve/blob/main/$year/$cve_file" >> $outputfile
  							fi

							if [[ ! -z "$outputjsonfile" ]]; then
								description=$(cat ${CVE_REPO}/${year}/${cve_file} | \
									sed -n '/### Description/,/### POC/p' | \
									sed -e '/### Description/,+1d; /### POC/d' | \

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…