From 41402c6481f582aec39c6967ff850fd025d07f83 Mon Sep 17 00:00:00 2001 From: derv82 Date: Sun, 11 Jun 2017 21:55:37 -0400 Subject: [PATCH] Don't hide hidden networks with 0 length ESSIDs Whoops --- py/Target.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/py/Target.py b/py/Target.py index 1e3b0d0..545185d 100644 --- a/py/Target.py +++ b/py/Target.py @@ -66,9 +66,7 @@ class Target(object): def validate(self): ''' Checks that the target is valid. ''' - if self.essid_len == 0: - raise Exception("Ignoring target with empty/blank ESSID (length: 0)") - elif self.channel == "-1": + if self.channel == "-1": raise Exception("Ignoring target with Negative-One (-1) channel") # Filter broadcast/multicast BSSIDs, see https://github.com/derv82/wifite2/issues/32