mirror of https://github.com/OWASP/Nettacker.git
simple fix
This commit is contained in:
parent
7dc7bc232f
commit
bf857a7fb1
|
|
@ -8,7 +8,6 @@
|
|||
*.py~
|
||||
tmp/ranges
|
||||
tmp/subs_temp
|
||||
tmp/tmp_targets
|
||||
results.txt
|
||||
user.txt
|
||||
pass.txt
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ def getIPRange(IP):
|
|||
|
||||
|
||||
def isIP(IP):
|
||||
IP = str(IP)
|
||||
if len(IP.rsplit('.')) is 4 and '-' not in IP and '/' not in IP:
|
||||
ip_flag = True
|
||||
for num in IP.rsplit('.'):
|
||||
|
|
|
|||
Loading…
Reference in New Issue