()
| 67 | |
| 68 | |
| 69 | def net_mode(): |
| 70 | ori_str = conf.NETWORK_STR |
| 71 | try: |
| 72 | _list = IPy.IP(ori_str) |
| 73 | except Exception, e: |
| 74 | sys.exit(logger.error('Invalid IP/MASK,%s' % e)) |
| 75 | for each in _list: |
| 76 | th.queue.put(str(each)) |
| 77 | |
| 78 | |
| 79 | def single_target_mode(): |