From 6fb101c938fa9d4c20d4f6ec81f66ec572d0f08b Mon Sep 17 00:00:00 2001 From: Nikolaos Kamarinakis Date: Mon, 16 Jan 2017 22:10:04 +0200 Subject: [PATCH 1/3] Update README.rst --- README.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 8712a38..72f1c8c 100644 --- a/README.rst +++ b/README.rst @@ -19,7 +19,7 @@ You can download KickThemOut by cloning the `Git Repo `_ installed before running the Mac OS installation. From 84c996e929cb1813f05857a3ef3dfd5081120949 Mon Sep 17 00:00:00 2001 From: Guillaume Dardelet Date: Tue, 17 Jan 2017 11:39:07 +0100 Subject: [PATCH 2/3] [Fix] Skip APIPA network --- scan.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scan.py b/scan.py index ef3f5c9..48297af 100644 --- a/scan.py +++ b/scan.py @@ -54,6 +54,11 @@ def scanNetwork(): if netmask <= 0 or netmask == 0xFFFFFFFF: continue + # Skip APIPA network (corresponds to the 169.254.0.0/16 adress range) + # See https://fr.wikipedia.org/wiki/Automatic_Private_Internet_Protocol_Addressing for more details + if network == 2851995648: + continue + net = to_CIDR_notation(network, netmask) if interface != scapy.config.conf.iface: @@ -61,4 +66,4 @@ def scanNetwork(): continue if net: - return scan_and_print_neighbors(net, interface) \ No newline at end of file + return scan_and_print_neighbors(net, interface) From 6aa940a157b5d6c6b97739174fdb5ed9b8adaa70 Mon Sep 17 00:00:00 2001 From: Nikolaos Kamarinakis Date: Tue, 17 Jan 2017 17:41:56 +0200 Subject: [PATCH 3/3] Update scan.py --- scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan.py b/scan.py index 48297af..d3f904b 100644 --- a/scan.py +++ b/scan.py @@ -54,7 +54,7 @@ def scanNetwork(): if netmask <= 0 or netmask == 0xFFFFFFFF: continue - # Skip APIPA network (corresponds to the 169.254.0.0/16 adress range) + # Skip APIPA network (corresponds to the 169.254.0.0/16 address range) # See https://fr.wikipedia.org/wiki/Automatic_Private_Internet_Protocol_Addressing for more details if network == 2851995648: continue