diff --git a/runner/runner.go b/runner/runner.go index 74adaeb4..6ed36a6e 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -1310,7 +1310,7 @@ func (r *Runner) process(t string, wg *syncutil.AdaptiveWaitGroup, hp *httpx.HTT protocols = []string{httpx.HTTPS, httpx.HTTP} } - for target := range r.targets(hp, stringz.TrimProtocol(t, scanopts.NoFallback || scanopts.NoFallbackScheme)) { + for target := range r.targets(hp, t) { // if no custom ports specified then test the default ones if len(customport.Ports) == 0 { for _, method := range scanopts.Methods {