Fixed configuration bug - didn't use the same instance of WormConfiguration

This commit is contained in:
Shay Nehmad 2020-01-20 15:58:06 +02:00
parent ed138de8c4
commit 9978523672
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import hashlib import hashlib
import os
import json import json
import os
import sys import sys
import uuid import uuid
from abc import ABCMeta from abc import ABCMeta
@ -125,7 +125,7 @@ class Configuration(object):
finger_classes = [] finger_classes = []
exploiter_classes = [] exploiter_classes = []
system_info_collectors_classes = ["EnvironmentCollector", "AwsCollector"] system_info_collectors_classes = []
# how many victims to look for in a single scan iteration # how many victims to look for in a single scan iteration
victims_max_find = 100 victims_max_find = 100

View File

@ -1,4 +1,4 @@
from config import WormConfiguration from infection_monkey.config import WormConfiguration
from infection_monkey.utils.plugins.plugin import Plugin from infection_monkey.utils.plugins.plugin import Plugin
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod