mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 20:55:28 +00:00
lint
This commit is contained in:
parent
b61321cd19
commit
e83382d4e4
@ -60,7 +60,7 @@ func connect(executionId string, host string, port int, password string) (bool,
|
|||||||
}
|
}
|
||||||
if !protocolstate.IsHostAllowed(executionId, host) {
|
if !protocolstate.IsHostAllowed(executionId, host) {
|
||||||
// host is not valid according to network policy
|
// host is not valid according to network policy
|
||||||
return false, protocolstate.ErrHostDenied(host)
|
return false, protocolstate.ErrHostDenied.Msgf(host)
|
||||||
}
|
}
|
||||||
|
|
||||||
dialer := protocolstate.GetDialersWithId(executionId)
|
dialer := protocolstate.GetDialersWithId(executionId)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user