Skip to content

Commit

Permalink
disabled DOS via illegal header name, because of net/http limitations
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Hildebrand committed Jan 13, 2022
1 parent 5f5d58b commit b15374e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/techniques.go
Original file line number Diff line number Diff line change
Expand Up @@ -808,8 +808,10 @@ func DOS() reportResult {
headerDOSTemplate(&repResult, values, "User-Agent", "blacklisted security scanners ", true)

// DOS via illegal header name
/* Currently disabled because of net/http throws error because of illegal character TODO: workaround
values = []string{"foobar"}
headerDOSTemplate(&repResult, values, "Ill\\egal", "illegal header name ", true)
*/

// DOS via Max-Forwards (Webserver/Cache returns request)
values = []string{"0", "1", "2"}
Expand Down

0 comments on commit b15374e

Please sign in to comment.