diff --git a/monkey/infection_monkey/exploit/mssqlexec.py b/monkey/infection_monkey/exploit/mssqlexec.py index 3c8a8c3c1..6bff6aced 100644 --- a/monkey/infection_monkey/exploit/mssqlexec.py +++ b/monkey/infection_monkey/exploit/mssqlexec.py @@ -4,6 +4,7 @@ import sys from time import sleep import pymssql + from common.utils.exceptions import (ExploitingVulnerableMachineError, FailedExploitationError) from common.utils.exploit_enum import ExploitType diff --git a/monkey/infection_monkey/network/info.py b/monkey/infection_monkey/network/info.py index f3e411d5f..0aafe0540 100644 --- a/monkey/infection_monkey/network/info.py +++ b/monkey/infection_monkey/network/info.py @@ -5,11 +5,11 @@ import struct from random import randint from subprocess import check_output +import netifaces import psutil import requests from requests import ConnectionError -import netifaces from common.network.network_range import CidrRange from infection_monkey.utils.environment import is_windows_os