diff options
Diffstat (limited to 'suddenly-opened-ports-checker')
-rwxr-xr-x | suddenly-opened-ports-checker | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/suddenly-opened-ports-checker b/suddenly-opened-ports-checker index 4cf423c..b4c1972 100755 --- a/suddenly-opened-ports-checker +++ b/suddenly-opened-ports-checker @@ -3,7 +3,6 @@ import logging import yaml import math -from pprint import pprint from argparse import ArgumentParser from lib.worker import Worker from lib.results import Results @@ -54,7 +53,7 @@ def main(): workers = [] for name, data in config['servers'].items(): - w = Worker(name, data['host'], data['opened'], + w = Worker(name, data['host'], data['opened'], data['ignore'], concurrency=int(data['concurrency']) if 'concurrency' in data else args.concurrency, timeout=int(data['timeout']) if 'timeout' in data else args.timeout) workers.append(w) |