INNER CODE UNIT · Shell

count

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

    		count=$((count+1))
    		echo -ne "CVEs analyzed: $count | Found: $countFound"\\r

    		current_cve="$current_year/$cve_file"
    		if [ -f $current_cve ];
    		then
    			cve=$(sed 's/.\{3\}$//' <<< "$cve_file")
    			found=$(find "$NUCLEI_REPO" -name "*${cve}*")

				# if this cve not present in nuclei-templates:
    			if [ -z "$found" ]; 
    			then
    				foundExit=false
    				for str in "${search_for[@]}"; do
    					# if we've already found the CVE, just break the loop
    					if [[ $foundExit = true ]];
    					then
    						break

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…