Skip to content

Commit f04597f

Browse files
committed
Fix header poisoning scan
1 parent 429893f commit f04597f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/techniques.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func ScanHeaders(headerList []string) reportResult {
217217
repResult.Technique = "Headers"
218218
for _, header := range Config.Headers { // add custom headers to list
219219
headerVal := strings.Split(header, ":")[0]
220-
headerList = append(Config.Headers, headerVal)
220+
headerList = append(headerList, headerVal)
221221
}
222222

223223
threads := Config.Threads

0 commit comments

Comments
 (0)