From 6ddce0c0da730bc682110269121e2c2b09fa376d Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 24 Sep 2025 19:16:39 +0200 Subject: [PATCH] add known headers Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- leak-utils/misc/csv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leak-utils/misc/csv.go b/leak-utils/misc/csv.go index f5750ad..a2bd743 100644 --- a/leak-utils/misc/csv.go +++ b/leak-utils/misc/csv.go @@ -95,7 +95,7 @@ func csvHasHeader(inputFile string) (hasHeader bool, err error) { col = strings.ReplaceAll(col, ".", "") firstRow[i] = strings.ToLower(strings.TrimSpace(col)) } - knownHeaders := []string{"email", "password", "username", "phone", "lastname", "firstname"} + knownHeaders := []string{"email", "password", "username", "phone", "lastname", "firstname", "mail", "addresse", "nom", "id"} for _, knownHeader := range knownHeaders { if slices.Contains(firstRow, knownHeader) { return true, nil