Skip to content

Commit 7e7f73a

Browse files
committed
do not trim protocol
1 parent 19ccde1 commit 7e7f73a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ func (r *Runner) process(t string, wg *syncutil.AdaptiveWaitGroup, hp *httpx.HTT
13101310
protocols = []string{httpx.HTTPS, httpx.HTTP}
13111311
}
13121312

1313-
for target := range r.targets(hp, stringz.TrimProtocol(t, scanopts.NoFallback || scanopts.NoFallbackScheme)) {
1313+
for target := range r.targets(hp, t) {
13141314
// if no custom ports specified then test the default ones
13151315
if len(customport.Ports) == 0 {
13161316
for _, method := range scanopts.Methods {

0 commit comments

Comments
 (0)