forked from p15670423/monkey
Fixed python linting warnings
This commit is contained in:
parent
9803bc6a46
commit
bd05cca087
|
@ -14,8 +14,8 @@ from infection_monkey.exploit.tools.helpers import (build_monkey_commandline,
|
||||||
get_monkey_depth,
|
get_monkey_depth,
|
||||||
get_target_monkey)
|
get_target_monkey)
|
||||||
from infection_monkey.exploit.tools.http_tools import HTTPTools
|
from infection_monkey.exploit.tools.http_tools import HTTPTools
|
||||||
from infection_monkey.model import (
|
from infection_monkey.model import (CHMOD_MONKEY, DOWNLOAD_TIMEOUT, MONKEY_ARG,
|
||||||
CHMOD_MONKEY, DOWNLOAD_TIMEOUT, MONKEY_ARG, RUN_MONKEY, WGET_HTTP_UPLOAD)
|
RUN_MONKEY, WGET_HTTP_UPLOAD)
|
||||||
from infection_monkey.telemetry.attack.t1222_telem import T1222Telem
|
from infection_monkey.telemetry.attack.t1222_telem import T1222Telem
|
||||||
|
|
||||||
LOG = getLogger(__name__)
|
LOG = getLogger(__name__)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import argparse
|
import argparse
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
@ -14,7 +13,7 @@ def add_monkey_dir_to_sys_path():
|
||||||
|
|
||||||
add_monkey_dir_to_sys_path()
|
add_monkey_dir_to_sys_path()
|
||||||
|
|
||||||
from monkey_island.cc.environment.environment_config import EnvironmentConfig #isort:skip
|
from monkey_island.cc.environment.environment_config import EnvironmentConfig # noqa: E402 isort:skip
|
||||||
|
|
||||||
SERVER_CONFIG = "server_config"
|
SERVER_CONFIG = "server_config"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue