Skip to content

Commit

Permalink
Fixing fallback logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed May 26, 2021
1 parent e331bf6 commit d588ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ func (r *Runner) RunEnumeration() {
}

func (r *Runner) process(t string, wg *sizedwaitgroup.SizedWaitGroup, hp *httpx.HTTPX, protocol string, scanopts *scanOptions, output chan Result) {
protocols := []string{protocol}
protocols := []string{httpx.HTTPorHTTPS}
if scanopts.NoFallback {
protocols = []string{httpx.HTTPS, httpx.HTTP}
}
Expand Down

0 comments on commit d588ef6

Please sign in to comment.