mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-10-26 18:08:27 +03:00
fixing golint
This commit is contained in:
parent
2c44440bad
commit
605735afbb
@ -290,15 +290,15 @@ func process(t string, wg *sizedwaitgroup.SizedWaitGroup, hp *httpx.HTTPX, proto
|
|||||||
wg.Add()
|
wg.Add()
|
||||||
go func(port int, method, protocol string) {
|
go func(port int, method, protocol string) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
r := analyze(hp, wantedProtocol, target, port, method, scanopts)
|
r := analyze(hp, protocol, target, port, method, scanopts)
|
||||||
output <- r
|
output <- r
|
||||||
if scanopts.TLSProbe && r.TLSData != nil {
|
if scanopts.TLSProbe && r.TLSData != nil {
|
||||||
scanopts.TLSProbe = false
|
scanopts.TLSProbe = false
|
||||||
for _, tt := range r.TLSData.DNSNames {
|
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 {
|
for _, tt := range r.TLSData.CommonName {
|
||||||
process(tt, wg, hp, wantedProtocol, scanopts, output)
|
process(tt, wg, hp, protocol, scanopts, output)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}(port, method, wantedProtocol)
|
}(port, method, wantedProtocol)
|
||||||
|
Loading…
Reference in New Issue
Block a user