From 86da9677e3ec71e6c62a3d80cfff3e7cc3ba7d04 Mon Sep 17 00:00:00 2001 From: Laurent Ghigonis Date: Fri, 26 Jul 2013 17:54:48 +0200 Subject: autoscan: fix nmap IP range --- autoscan/autoscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoscan/autoscan.py') diff --git a/autoscan/autoscan.py b/autoscan/autoscan.py index 7a98bfc..0cd8860 100755 --- a/autoscan/autoscan.py +++ b/autoscan/autoscan.py @@ -215,7 +215,7 @@ class Autoscan_iface(object): self._util_traceroute(t)) def _test_explor_scan(self): - target = re.sub('\.[0-9]+$', '', self.found_ip4) + "/24" # XXX v6 + target = re.sub('\.[0-9]+$', '', self.found_ip4) + ".0/24" # XXX v6 out, err, code = self._exec( ['nmap', '-oA', self._storepath_get("explor_scan/localnet"), '-p', '21,22,23,445,80,443,8080,8081,8082,8083', target]) self._store("explor_scan/out", out) -- cgit v1.2.3-59-g8ed1b