mirror of https://github.com/n1nj4sec/pupy.git
Implicitly map DNSCNC ports via IGD to 53
There is no much reason to expose non-standard DNS ports outside.
This commit is contained in:
parent
690e3c162c
commit
49e1a9efd8
|
@ -95,7 +95,8 @@ class PupyDnsCnc(object):
|
|||
)
|
||||
|
||||
if self.igd and self.igd.available:
|
||||
self.igd.AddPortMapping(int(port), 'UDP', int(port))
|
||||
self.igd.AddPortMapping(int(port), 'UDP', 53)
|
||||
self.igd.AddPortMapping(int(port), 'TCP', 53)
|
||||
|
||||
self.server.start()
|
||||
|
||||
|
|
Loading…
Reference in New Issue