From 605735afbb3c663c1680245d8c32f653087f0436 Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Fri, 2 Oct 2020 16:53:32 +0200 Subject: [PATCH] fixing golint --- cmd/httpx/httpx.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/httpx/httpx.go b/cmd/httpx/httpx.go index a229830..55fd21f 100644 --- a/cmd/httpx/httpx.go +++ b/cmd/httpx/httpx.go @@ -290,15 +290,15 @@ func process(t string, wg *sizedwaitgroup.SizedWaitGroup, hp *httpx.HTTPX, proto wg.Add() go func(port int, method, protocol string) { defer wg.Done() - r := analyze(hp, wantedProtocol, target, port, method, scanopts) + r := analyze(hp, protocol, target, port, method, scanopts) output <- r if scanopts.TLSProbe && r.TLSData != nil { scanopts.TLSProbe = false for _, tt := range r.TLSData.DNSNames { - process(tt, wg, hp, wantedProtocol, scanopts, output) + process(tt, wg, hp, protocol, scanopts, output) } for _, tt := range r.TLSData.CommonName { - process(tt, wg, hp, wantedProtocol, scanopts, output) + process(tt, wg, hp, protocol, scanopts, output) } } }(port, method, wantedProtocol)