mirror of https://github.com/n1nj4sec/pupy.git
dnscnc/client/native: getaddrinfo for windows doesn't like IPPROTO_
This commit is contained in:
parent
dd1128d95f
commit
5e93c40751
|
@ -184,7 +184,7 @@ class DnsCommandsClient(Thread):
|
||||||
|
|
||||||
return [
|
return [
|
||||||
addr[0] for af_family, _, _, _, addr in socket.getaddrinfo(
|
addr[0] for af_family, _, _, _, addr in socket.getaddrinfo(
|
||||||
hostname, 80, family, socket.IPPROTO_TCP
|
hostname, 80, family
|
||||||
) if af_family == family
|
) if af_family == family
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue