mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	| @@ -1001,10 +1001,11 @@ csv_header() { | |||||||
|           CSVHEADER=false |           CSVHEADER=false | ||||||
|      else |      else | ||||||
|           [[ -s "$CSVFILE" ]] && fatal "non-empty \"$CSVFILE\" exists. Either use \"--append\" or (re)move it" $ERR_FCREATE |           [[ -s "$CSVFILE" ]] && fatal "non-empty \"$CSVFILE\" exists. Either use \"--append\" or (re)move it" $ERR_FCREATE | ||||||
|  |           touch "$CSVFILE" | ||||||
|           if "$GIVE_HINTS"; then |           if "$GIVE_HINTS"; then | ||||||
|                fileout_csv_finding "id" "fqdn/ip" "port" "severity" "finding" "cve" "cwe" "hint" > "$CSVFILE" |                fileout_csv_finding "id" "fqdn/ip" "port" "severity" "finding" "cve" "cwe" "hint" | ||||||
|           else |           else | ||||||
|                fileout_csv_finding "id" "fqdn/ip" "port" "severity" "finding" "cve" "cwe" > "$CSVFILE" |                fileout_csv_finding "id" "fqdn/ip" "port" "severity" "finding" "cve" "cwe" | ||||||
|           fi |           fi | ||||||
|      fi |      fi | ||||||
|      return 0 |      return 0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk
					Dirk