From eae2a25e4caf8e7f8f4783eb421dbf07f053150a Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Fri, 10 Mar 2017 19:38:52 +0100 Subject: [PATCH] at least give a warning if your conf broadcast your LAN that you use pupysh.py :-) --- pupy/network/lib/igd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pupy/network/lib/igd.py b/pupy/network/lib/igd.py index 307eb282..08e168bc 100644 --- a/pupy/network/lib/igd.py +++ b/pupy/network/lib/igd.py @@ -13,6 +13,7 @@ from urlparse import urlparse import ctypes import os import netaddr +import logging def str2bool(bstr): return bool(int(bstr)) @@ -191,6 +192,7 @@ class IGDClient: """ Find IGD device and its control URL via UPnP multicast discovery """ + logging.warning("Sending multicast traffic looking for IGD Devices / forwarding TCP port ...") if not self.isv6: up_disc = '\r\n'.join([ 'M-SEARCH * HTTP/1.1',