diff --git a/monkey/__init__.py b/monkey/__init__.py index a44473084..e69de29bb 100644 --- a/monkey/__init__.py +++ b/monkey/__init__.py @@ -1 +0,0 @@ -__author__ = "itay.mizeretz" diff --git a/monkey/common/__init__.py b/monkey/common/__init__.py index a44473084..e69de29bb 100644 --- a/monkey/common/__init__.py +++ b/monkey/common/__init__.py @@ -1 +0,0 @@ -__author__ = "itay.mizeretz" diff --git a/monkey/common/cloud/__init__.py b/monkey/common/cloud/__init__.py index a44473084..e69de29bb 100644 --- a/monkey/common/cloud/__init__.py +++ b/monkey/common/cloud/__init__.py @@ -1 +0,0 @@ -__author__ = "itay.mizeretz" diff --git a/monkey/common/cloud/aws/aws_instance.py b/monkey/common/cloud/aws/aws_instance.py index d34c6c77a..09d112480 100644 --- a/monkey/common/cloud/aws/aws_instance.py +++ b/monkey/common/cloud/aws/aws_instance.py @@ -7,8 +7,6 @@ import requests from common.cloud.environment_names import Environment from common.cloud.instance import CloudInstance -__author__ = "itay.mizeretz" - AWS_INSTANCE_METADATA_LOCAL_IP_ADDRESS = "169.254.169.254" AWS_LATEST_METADATA_URI_PREFIX = "http://{0}/latest/".format(AWS_INSTANCE_METADATA_LOCAL_IP_ADDRESS) ACCOUNT_ID_KEY = "accountId" diff --git a/monkey/common/cloud/aws/aws_service.py b/monkey/common/cloud/aws/aws_service.py index 2764c8238..4a9ded280 100644 --- a/monkey/common/cloud/aws/aws_service.py +++ b/monkey/common/cloud/aws/aws_service.py @@ -5,8 +5,6 @@ import botocore from common.cloud.aws.aws_instance import AwsInstance -__author__ = ["itay.mizeretz", "shay.nehmad"] - INSTANCE_INFORMATION_LIST_KEY = "InstanceInformationList" INSTANCE_ID_KEY = "InstanceId" COMPUTER_NAME_KEY = "ComputerName" diff --git a/monkey/common/cmd/aws/aws_cmd_result.py b/monkey/common/cmd/aws/aws_cmd_result.py index e68f5bf6d..0a6c5f3cc 100644 --- a/monkey/common/cmd/aws/aws_cmd_result.py +++ b/monkey/common/cmd/aws/aws_cmd_result.py @@ -1,7 +1,5 @@ from common.cmd.cmd_result import CmdResult -__author__ = "itay.mizeretz" - class AwsCmdResult(CmdResult): """ diff --git a/monkey/common/cmd/aws/aws_cmd_runner.py b/monkey/common/cmd/aws/aws_cmd_runner.py index 1ccdd104b..f4b8cd7bc 100644 --- a/monkey/common/cmd/aws/aws_cmd_runner.py +++ b/monkey/common/cmd/aws/aws_cmd_runner.py @@ -5,8 +5,6 @@ from common.cmd.aws.aws_cmd_result import AwsCmdResult from common.cmd.cmd_runner import CmdRunner from common.cmd.cmd_status import CmdStatus -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) diff --git a/monkey/common/cmd/cmd.py b/monkey/common/cmd/cmd.py index a1894eb54..6daa970a6 100644 --- a/monkey/common/cmd/cmd.py +++ b/monkey/common/cmd/cmd.py @@ -1,6 +1,3 @@ -__author__ = "itay.mizeretz" - - class Cmd(object): """ Class representing a command diff --git a/monkey/common/cmd/cmd_result.py b/monkey/common/cmd/cmd_result.py index 6d2a4621d..85179a053 100644 --- a/monkey/common/cmd/cmd_result.py +++ b/monkey/common/cmd/cmd_result.py @@ -1,6 +1,3 @@ -__author__ = "itay.mizeretz" - - class CmdResult(object): """ Class representing a command result diff --git a/monkey/common/cmd/cmd_runner.py b/monkey/common/cmd/cmd_runner.py index 48c004c86..e612f4efb 100644 --- a/monkey/common/cmd/cmd_runner.py +++ b/monkey/common/cmd/cmd_runner.py @@ -5,8 +5,6 @@ from abc import abstractmethod from common.cmd.cmd_result import CmdResult from common.cmd.cmd_status import CmdStatus -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) diff --git a/monkey/common/cmd/cmd_status.py b/monkey/common/cmd/cmd_status.py index a4e435239..6a9bbae71 100644 --- a/monkey/common/cmd/cmd_status.py +++ b/monkey/common/cmd/cmd_status.py @@ -1,7 +1,5 @@ from enum import Enum -__author__ = "itay.mizeretz" - class CmdStatus(Enum): IN_PROGRESS = 0 diff --git a/monkey/common/network/__init__.py b/monkey/common/network/__init__.py index a44473084..e69de29bb 100644 --- a/monkey/common/network/__init__.py +++ b/monkey/common/network/__init__.py @@ -1 +0,0 @@ -__author__ = "itay.mizeretz" diff --git a/monkey/common/network/network_range.py b/monkey/common/network/network_range.py index a9e05caa6..ca8b49b1b 100644 --- a/monkey/common/network/network_range.py +++ b/monkey/common/network/network_range.py @@ -5,8 +5,6 @@ import socket import struct from abc import ABCMeta, abstractmethod -__author__ = "itamar" - LOG = logging.getLogger(__name__) diff --git a/monkey/common/utils/mongo_utils.py b/monkey/common/utils/mongo_utils.py index a76548738..4a3703816 100644 --- a/monkey/common/utils/mongo_utils.py +++ b/monkey/common/utils/mongo_utils.py @@ -4,8 +4,6 @@ if sys.platform == "win32": import win32com import wmi -__author__ = "maor.rayzin" - class MongoUtils: def __init__(self): diff --git a/monkey/common/utils/wmi_utils.py b/monkey/common/utils/wmi_utils.py index 9b94f90ca..25a2962f4 100644 --- a/monkey/common/utils/wmi_utils.py +++ b/monkey/common/utils/wmi_utils.py @@ -8,8 +8,6 @@ if sys.platform.startswith("win"): from .mongo_utils import MongoUtils -__author__ = "maor.rayzin" - class WMIUtils: def __init__(self): diff --git a/monkey/infection_monkey/__init__.py b/monkey/infection_monkey/__init__.py index a44473084..e69de29bb 100644 --- a/monkey/infection_monkey/__init__.py +++ b/monkey/infection_monkey/__init__.py @@ -1 +0,0 @@ -__author__ = "itay.mizeretz" diff --git a/monkey/infection_monkey/config.py b/monkey/infection_monkey/config.py index f7ec13af6..0bede1c57 100644 --- a/monkey/infection_monkey/config.py +++ b/monkey/infection_monkey/config.py @@ -5,8 +5,6 @@ import uuid from abc import ABCMeta from itertools import product -__author__ = "itamar" - GUID = str(uuid.getnode()) EXTERNAL_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), "monkey.bin") diff --git a/monkey/infection_monkey/control.py b/monkey/infection_monkey/control.py index beac0f716..b71e27a5e 100644 --- a/monkey/infection_monkey/control.py +++ b/monkey/infection_monkey/control.py @@ -24,8 +24,6 @@ from infection_monkey.transport.http import HTTPConnectProxy from infection_monkey.transport.tcp import TcpProxy from infection_monkey.utils.exceptions.planned_shutdown_exception import PlannedShutdownException -__author__ = "hoffer" - requests.packages.urllib3.disable_warnings() LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/dropper.py b/monkey/infection_monkey/dropper.py index b3e5665c1..781a0614a 100644 --- a/monkey/infection_monkey/dropper.py +++ b/monkey/infection_monkey/dropper.py @@ -32,7 +32,6 @@ except NameError: # noinspection PyShadowingBuiltins WindowsError = IOError -__author__ = "itamar" LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/HostExploiter.py b/monkey/infection_monkey/exploit/HostExploiter.py index 95de0ec07..3a5abf4c5 100644 --- a/monkey/infection_monkey/exploit/HostExploiter.py +++ b/monkey/infection_monkey/exploit/HostExploiter.py @@ -8,8 +8,6 @@ from common.utils.exploit_enum import ExploitType from infection_monkey.config import WormConfiguration from infection_monkey.utils.plugins.plugin import Plugin -__author__ = "itamar" - logger = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/drupal.py b/monkey/infection_monkey/exploit/drupal.py index d1f49432c..48b60a2c5 100644 --- a/monkey/infection_monkey/exploit/drupal.py +++ b/monkey/infection_monkey/exploit/drupal.py @@ -15,8 +15,6 @@ from common.network.network_utils import remove_port from infection_monkey.exploit.web_rce import WebRCE from infection_monkey.model import ID_STRING -__author__ = "Ophir Harpaz" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/elasticgroovy.py b/monkey/infection_monkey/exploit/elasticgroovy.py index 734e7e5ef..ec2133216 100644 --- a/monkey/infection_monkey/exploit/elasticgroovy.py +++ b/monkey/infection_monkey/exploit/elasticgroovy.py @@ -25,8 +25,6 @@ from infection_monkey.model import ( from infection_monkey.network.elasticfinger import ES_PORT from infection_monkey.telemetry.attack.t1197_telem import T1197Telem -__author__ = "danielg, VakarisZ" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/hadoop.py b/monkey/infection_monkey/exploit/hadoop.py index 227638d5e..c45bfd67f 100644 --- a/monkey/infection_monkey/exploit/hadoop.py +++ b/monkey/infection_monkey/exploit/hadoop.py @@ -24,8 +24,6 @@ from infection_monkey.model import ( ) from infection_monkey.utils.commands import build_monkey_commandline -__author__ = "VakarisZ" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/sambacry.py b/monkey/infection_monkey/exploit/sambacry.py index 3ca5d9921..63fe0970a 100644 --- a/monkey/infection_monkey/exploit/sambacry.py +++ b/monkey/infection_monkey/exploit/sambacry.py @@ -44,8 +44,6 @@ from infection_monkey.pyinstaller_utils import get_binary_file_path from infection_monkey.telemetry.attack.t1105_telem import T1105Telem from infection_monkey.utils.commands import build_monkey_commandline -__author__ = "itay.mizeretz" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/shellshock.py b/monkey/infection_monkey/exploit/shellshock.py index bf6c5589e..7f5df694b 100644 --- a/monkey/infection_monkey/exploit/shellshock.py +++ b/monkey/infection_monkey/exploit/shellshock.py @@ -16,8 +16,6 @@ from infection_monkey.model import DROPPER_ARG from infection_monkey.telemetry.attack.t1222_telem import T1222Telem from infection_monkey.utils.commands import build_monkey_commandline -__author__ = "danielg" - LOG = logging.getLogger(__name__) TIMEOUT = 2 TEST_COMMAND = "/bin/uname -a" diff --git a/monkey/infection_monkey/exploit/sshexec.py b/monkey/infection_monkey/exploit/sshexec.py index bfcab4a46..cf3a71986 100644 --- a/monkey/infection_monkey/exploit/sshexec.py +++ b/monkey/infection_monkey/exploit/sshexec.py @@ -16,8 +16,6 @@ from infection_monkey.telemetry.attack.t1105_telem import T1105Telem from infection_monkey.telemetry.attack.t1222_telem import T1222Telem from infection_monkey.utils.commands import build_monkey_commandline -__author__ = "hoffer" - LOG = logging.getLogger(__name__) SSH_PORT = 22 TRANSFER_UPDATE_RATE = 15 diff --git a/monkey/infection_monkey/exploit/struts2.py b/monkey/infection_monkey/exploit/struts2.py index f29f6acac..d798960bf 100644 --- a/monkey/infection_monkey/exploit/struts2.py +++ b/monkey/infection_monkey/exploit/struts2.py @@ -13,8 +13,6 @@ import urllib.request from infection_monkey.exploit.web_rce import WebRCE -__author__ = "VakarisZ" - LOG = logging.getLogger(__name__) DOWNLOAD_TIMEOUT = 300 diff --git a/monkey/infection_monkey/exploit/tools/http_tools.py b/monkey/infection_monkey/exploit/tools/http_tools.py index d186adbab..8d2aca2fc 100644 --- a/monkey/infection_monkey/exploit/tools/http_tools.py +++ b/monkey/infection_monkey/exploit/tools/http_tools.py @@ -13,8 +13,6 @@ from infection_monkey.network.info import get_free_tcp_port from infection_monkey.network.tools import get_interface_to_target from infection_monkey.transport import HTTPServer, LockedHTTPServer -__author__ = "itamar" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/tools/smb_tools.py b/monkey/infection_monkey/exploit/tools/smb_tools.py index 5fc2b4a44..f7a8d8cb6 100644 --- a/monkey/infection_monkey/exploit/tools/smb_tools.py +++ b/monkey/infection_monkey/exploit/tools/smb_tools.py @@ -13,8 +13,6 @@ from infection_monkey.config import Configuration from infection_monkey.network.tools import get_interface_to_target from infection_monkey.telemetry.attack.t1105_telem import T1105Telem -__author__ = "itamar" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/tools/wmi_tools.py b/monkey/infection_monkey/exploit/tools/wmi_tools.py index 21abfa440..25b4a393a 100644 --- a/monkey/infection_monkey/exploit/tools/wmi_tools.py +++ b/monkey/infection_monkey/exploit/tools/wmi_tools.py @@ -5,8 +5,6 @@ from impacket.dcerpc.v5.dcom.wmi import DCERPCSessionError from impacket.dcerpc.v5.dcomrt import DCOMConnection from impacket.dcerpc.v5.dtypes import NULL -__author__ = "itamar" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/exploit/vsftpd.py b/monkey/infection_monkey/exploit/vsftpd.py index 7164a21c8..bb832358a 100644 --- a/monkey/infection_monkey/exploit/vsftpd.py +++ b/monkey/infection_monkey/exploit/vsftpd.py @@ -25,7 +25,6 @@ from infection_monkey.utils.commands import build_monkey_commandline LOG = getLogger(__name__) -__author__ = "D3fa1t" FTP_PORT = 21 # port at which vsftpd runs BACKDOOR_PORT = 6200 # backdoor port diff --git a/monkey/infection_monkey/exploit/web_rce.py b/monkey/infection_monkey/exploit/web_rce.py index 1bd9fd6b4..ad39b3b8b 100644 --- a/monkey/infection_monkey/exploit/web_rce.py +++ b/monkey/infection_monkey/exploit/web_rce.py @@ -26,8 +26,6 @@ from infection_monkey.telemetry.attack.t1197_telem import T1197Telem from infection_monkey.telemetry.attack.t1222_telem import T1222Telem from infection_monkey.utils.commands import build_monkey_commandline -__author__ = "VakarisZ" - LOG = logging.getLogger(__name__) # Command used to check if monkeys already exists LOOK_FOR_FILE = "ls %s" diff --git a/monkey/infection_monkey/exploit/weblogic.py b/monkey/infection_monkey/exploit/weblogic.py index 9b158709f..75aaa10df 100644 --- a/monkey/infection_monkey/exploit/weblogic.py +++ b/monkey/infection_monkey/exploit/weblogic.py @@ -11,8 +11,6 @@ from infection_monkey.exploit.web_rce import WebRCE from infection_monkey.network.info import get_free_tcp_port from infection_monkey.network.tools import get_interface_to_target -__author__ = "VakarisZ" - LOG = logging.getLogger(__name__) # How long server waits for get request in seconds SERVER_TIMEOUT = 4 diff --git a/monkey/infection_monkey/main.py b/monkey/infection_monkey/main.py index 905c04ff8..5d6947952 100644 --- a/monkey/infection_monkey/main.py +++ b/monkey/infection_monkey/main.py @@ -18,8 +18,6 @@ from infection_monkey.model import DROPPER_ARG, MONKEY_ARG from infection_monkey.monkey import InfectionMonkey from infection_monkey.utils.monkey_log_path import get_dropper_log_path, get_monkey_log_path -__author__ = "itamar" - LOG = None LOG_CONFIG = { diff --git a/monkey/infection_monkey/model/__init__.py b/monkey/infection_monkey/model/__init__.py index c7b8609b7..c8cf5aa1c 100644 --- a/monkey/infection_monkey/model/__init__.py +++ b/monkey/infection_monkey/model/__init__.py @@ -1,7 +1,5 @@ from infection_monkey.model.host import VictimHost # noqa: F401 -__author__ = "itamar" - MONKEY_ARG = "m0nk3y" DROPPER_ARG = "dr0pp3r" ID_STRING = "M0NK3Y3XPL0ITABLE" diff --git a/monkey/infection_monkey/model/host.py b/monkey/infection_monkey/model/host.py index 68b903d71..892004eb3 100644 --- a/monkey/infection_monkey/model/host.py +++ b/monkey/infection_monkey/model/host.py @@ -1,6 +1,3 @@ -__author__ = "itamar" - - class VictimHost(object): def __init__(self, ip_addr, domain_name=""): self.ip_addr = ip_addr diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index c4d2ac854..6059c291a 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -42,7 +42,6 @@ from infection_monkey.windows_upgrader import WindowsUpgrader MAX_DEPTH_REACHED_MESSAGE = "Reached max depth, shutting down" -__author__ = "itamar" LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/monkey.spec b/monkey/infection_monkey/monkey.spec index 6248f4d2b..3691ac470 100644 --- a/monkey/infection_monkey/monkey.spec +++ b/monkey/infection_monkey/monkey.spec @@ -3,7 +3,7 @@ import os import platform import sys -__author__ = 'itay.mizeretz' + from PyInstaller.utils.hooks import collect_data_files diff --git a/monkey/infection_monkey/monkeyfs.py b/monkey/infection_monkey/monkeyfs.py index 392717c35..e056512d2 100644 --- a/monkey/infection_monkey/monkeyfs.py +++ b/monkey/infection_monkey/monkeyfs.py @@ -1,8 +1,6 @@ import os from io import BytesIO -__author__ = "hoffer" - MONKEYFS_PREFIX = "monkeyfs://" open_orig = open diff --git a/monkey/infection_monkey/network/__init__.py b/monkey/infection_monkey/network/__init__.py index 9d0748729..e69de29bb 100644 --- a/monkey/infection_monkey/network/__init__.py +++ b/monkey/infection_monkey/network/__init__.py @@ -1 +0,0 @@ -__author__ = "itamar" diff --git a/monkey/infection_monkey/network/elasticfinger.py b/monkey/infection_monkey/network/elasticfinger.py index e7e2518b6..d5f6baaf2 100644 --- a/monkey/infection_monkey/network/elasticfinger.py +++ b/monkey/infection_monkey/network/elasticfinger.py @@ -12,7 +12,6 @@ from infection_monkey.network.HostFinger import HostFinger ES_PORT = 9200 ES_HTTP_TIMEOUT = 5 LOG = logging.getLogger(__name__) -__author__ = "danielg" class ElasticFinger(HostFinger): diff --git a/monkey/infection_monkey/network/mssql_fingerprint.py b/monkey/infection_monkey/network/mssql_fingerprint.py index c743fa3a5..7132b80ff 100644 --- a/monkey/infection_monkey/network/mssql_fingerprint.py +++ b/monkey/infection_monkey/network/mssql_fingerprint.py @@ -5,8 +5,6 @@ import socket import infection_monkey.config from infection_monkey.network.HostFinger import HostFinger -__author__ = "Maor Rayzin" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/network/ping_scanner.py b/monkey/infection_monkey/network/ping_scanner.py index 73c89f841..2f2b2719b 100644 --- a/monkey/infection_monkey/network/ping_scanner.py +++ b/monkey/infection_monkey/network/ping_scanner.py @@ -8,8 +8,6 @@ import infection_monkey.config from infection_monkey.network.HostFinger import HostFinger from infection_monkey.network.HostScanner import HostScanner -__author__ = "itamar" - PING_COUNT_FLAG = "-n" if "win32" == sys.platform else "-c" PING_TIMEOUT_FLAG = "-w" if "win32" == sys.platform else "-W" TTL_REGEX_STR = r"(?<=TTL\=)[0-9]+" diff --git a/monkey/infection_monkey/network/tcp_scanner.py b/monkey/infection_monkey/network/tcp_scanner.py index 93e30ccad..176bde387 100644 --- a/monkey/infection_monkey/network/tcp_scanner.py +++ b/monkey/infection_monkey/network/tcp_scanner.py @@ -6,8 +6,6 @@ from infection_monkey.network.HostFinger import HostFinger from infection_monkey.network.HostScanner import HostScanner from infection_monkey.network.tools import check_tcp_ports, tcp_port_to_service -__author__ = "itamar" - BANNER_READ = 1024 diff --git a/monkey/infection_monkey/post_breach/__init__.py b/monkey/infection_monkey/post_breach/__init__.py index a133159d3..e69de29bb 100644 --- a/monkey/infection_monkey/post_breach/__init__.py +++ b/monkey/infection_monkey/post_breach/__init__.py @@ -1 +0,0 @@ -__author__ = "danielg" diff --git a/monkey/infection_monkey/post_breach/actions/users_custom_pba.py b/monkey/infection_monkey/post_breach/actions/users_custom_pba.py index 5ecae1b5e..e165d2890 100644 --- a/monkey/infection_monkey/post_breach/actions/users_custom_pba.py +++ b/monkey/infection_monkey/post_breach/actions/users_custom_pba.py @@ -13,7 +13,6 @@ from infection_monkey.utils.monkey_dir import get_monkey_dir_path LOG = logging.getLogger(__name__) -__author__ = "VakarisZ" DIR_CHANGE_WINDOWS = "cd %s & " DIR_CHANGE_LINUX = "cd %s ; " diff --git a/monkey/infection_monkey/post_breach/pba.py b/monkey/infection_monkey/post_breach/pba.py index 563696073..b047c4a8d 100644 --- a/monkey/infection_monkey/post_breach/pba.py +++ b/monkey/infection_monkey/post_breach/pba.py @@ -11,8 +11,6 @@ from infection_monkey.utils.plugins.plugin import Plugin LOG = logging.getLogger(__name__) -__author__ = "VakarisZ" - class PBA(Plugin): """ diff --git a/monkey/infection_monkey/post_breach/post_breach_handler.py b/monkey/infection_monkey/post_breach/post_breach_handler.py index ee83a1dcb..3bfc1f362 100644 --- a/monkey/infection_monkey/post_breach/post_breach_handler.py +++ b/monkey/infection_monkey/post_breach/post_breach_handler.py @@ -6,8 +6,6 @@ from infection_monkey.post_breach.pba import PBA LOG = logging.getLogger(__name__) -__author__ = "VakarisZ" - class PostBreach(object): """ diff --git a/monkey/infection_monkey/pyinstaller_utils.py b/monkey/infection_monkey/pyinstaller_utils.py index f13f6f71b..60a097ab0 100644 --- a/monkey/infection_monkey/pyinstaller_utils.py +++ b/monkey/infection_monkey/pyinstaller_utils.py @@ -1,8 +1,6 @@ import os import sys -__author__ = "itay.mizeretz" - def get_binaries_dir_path(): """ diff --git a/monkey/infection_monkey/system_info/SSH_info_collector.py b/monkey/infection_monkey/system_info/SSH_info_collector.py index d7b204fed..b4c98e001 100644 --- a/monkey/infection_monkey/system_info/SSH_info_collector.py +++ b/monkey/infection_monkey/system_info/SSH_info_collector.py @@ -6,8 +6,6 @@ import pwd from common.utils.attack_utils import ScanStatus from infection_monkey.telemetry.attack.t1005_telem import T1005Telem -__author__ = "VakarisZ" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/system_info/__init__.py b/monkey/infection_monkey/system_info/__init__.py index 765f298d2..28903aea4 100644 --- a/monkey/infection_monkey/system_info/__init__.py +++ b/monkey/infection_monkey/system_info/__init__.py @@ -19,8 +19,6 @@ except NameError: # noinspection PyShadowingBuiltins WindowsError = psutil.AccessDenied -__author__ = "uri" - class OperatingSystem(IntEnum): Windows = 0 diff --git a/monkey/infection_monkey/system_info/azure_cred_collector.py b/monkey/infection_monkey/system_info/azure_cred_collector.py index ca5d8064e..8d9f5cd7a 100644 --- a/monkey/infection_monkey/system_info/azure_cred_collector.py +++ b/monkey/infection_monkey/system_info/azure_cred_collector.py @@ -9,8 +9,6 @@ from common.utils.attack_utils import ScanStatus from infection_monkey.telemetry.attack.t1005_telem import T1005Telem from infection_monkey.telemetry.attack.t1064_telem import T1064Telem -__author__ = "danielg" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/system_info/linux_info_collector.py b/monkey/infection_monkey/system_info/linux_info_collector.py index 672f1c8a9..76ddeab5a 100644 --- a/monkey/infection_monkey/system_info/linux_info_collector.py +++ b/monkey/infection_monkey/system_info/linux_info_collector.py @@ -3,8 +3,6 @@ import logging from infection_monkey.system_info import InfoCollector from infection_monkey.system_info.SSH_info_collector import SSHCollector -__author__ = "uri" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/system_info/netstat_collector.py b/monkey/infection_monkey/system_info/netstat_collector.py index b0acc6b65..9df4ef231 100644 --- a/monkey/infection_monkey/system_info/netstat_collector.py +++ b/monkey/infection_monkey/system_info/netstat_collector.py @@ -7,8 +7,6 @@ from socket import AF_INET, SOCK_DGRAM, SOCK_STREAM import psutil -__author__ = "itay.mizeretz" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/system_info/windows_info_collector.py b/monkey/infection_monkey/system_info/windows_info_collector.py index cc46aae93..9fb30bab2 100644 --- a/monkey/infection_monkey/system_info/windows_info_collector.py +++ b/monkey/infection_monkey/system_info/windows_info_collector.py @@ -17,8 +17,6 @@ from infection_monkey.system_info.wmi_consts import WMI_CLASSES # noqa: E402 LOG = logging.getLogger(__name__) LOG.info("started windows info collector") -__author__ = "uri" - class WindowsInfoCollector(InfoCollector): """ diff --git a/monkey/infection_monkey/system_singleton.py b/monkey/infection_monkey/system_singleton.py index 3bba2766f..689e74979 100644 --- a/monkey/infection_monkey/system_singleton.py +++ b/monkey/infection_monkey/system_singleton.py @@ -5,8 +5,6 @@ from abc import ABCMeta, abstractmethod from infection_monkey.config import WormConfiguration -__author__ = "itamar" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/telemetry/attack/attack_telem.py b/monkey/infection_monkey/telemetry/attack/attack_telem.py index 125906c74..cbb158bf4 100644 --- a/monkey/infection_monkey/telemetry/attack/attack_telem.py +++ b/monkey/infection_monkey/telemetry/attack/attack_telem.py @@ -1,8 +1,6 @@ from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "VakarisZ" - class AttackTelem(BaseTelem): def __init__(self, technique, status): diff --git a/monkey/infection_monkey/telemetry/attack/t1197_telem.py b/monkey/infection_monkey/telemetry/attack/t1197_telem.py index e9fb7fca6..efd8dcd79 100644 --- a/monkey/infection_monkey/telemetry/attack/t1197_telem.py +++ b/monkey/infection_monkey/telemetry/attack/t1197_telem.py @@ -1,7 +1,5 @@ from infection_monkey.telemetry.attack.victim_host_telem import VictimHostTelem -__author__ = "itay.mizeretz" - class T1197Telem(VictimHostTelem): def __init__(self, status, machine, usage): diff --git a/monkey/infection_monkey/telemetry/attack/victim_host_telem.py b/monkey/infection_monkey/telemetry/attack/victim_host_telem.py index 9dc812b14..66bc54f60 100644 --- a/monkey/infection_monkey/telemetry/attack/victim_host_telem.py +++ b/monkey/infection_monkey/telemetry/attack/victim_host_telem.py @@ -1,7 +1,5 @@ from infection_monkey.telemetry.attack.attack_telem import AttackTelem -__author__ = "VakarisZ" - class VictimHostTelem(AttackTelem): def __init__(self, technique, status, machine): diff --git a/monkey/infection_monkey/telemetry/base_telem.py b/monkey/infection_monkey/telemetry/base_telem.py index 4a37a9eb9..2f8f68892 100644 --- a/monkey/infection_monkey/telemetry/base_telem.py +++ b/monkey/infection_monkey/telemetry/base_telem.py @@ -8,8 +8,6 @@ from infection_monkey.telemetry.i_telem import ITelem logger = logging.getLogger(__name__) LOGGED_DATA_LENGTH = 300 # How many characters of telemetry data will be logged -__author__ = "itay.mizeretz" - # TODO: Rework the interface for telemetry; this class has too many responsibilities # (i.e. too many reasons to change): diff --git a/monkey/infection_monkey/telemetry/exploit_telem.py b/monkey/infection_monkey/telemetry/exploit_telem.py index 4f39a2145..e181b0243 100644 --- a/monkey/infection_monkey/telemetry/exploit_telem.py +++ b/monkey/infection_monkey/telemetry/exploit_telem.py @@ -1,8 +1,6 @@ from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "itay.mizeretz" - class ExploitTelem(BaseTelem): def __init__(self, exploiter, result): diff --git a/monkey/infection_monkey/telemetry/post_breach_telem.py b/monkey/infection_monkey/telemetry/post_breach_telem.py index 6dafa3c0c..aceb8d294 100644 --- a/monkey/infection_monkey/telemetry/post_breach_telem.py +++ b/monkey/infection_monkey/telemetry/post_breach_telem.py @@ -3,8 +3,6 @@ import socket from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "itay.mizeretz" - class PostBreachTelem(BaseTelem): def __init__(self, pba, result): diff --git a/monkey/infection_monkey/telemetry/scan_telem.py b/monkey/infection_monkey/telemetry/scan_telem.py index c606a2cc2..56cd051c4 100644 --- a/monkey/infection_monkey/telemetry/scan_telem.py +++ b/monkey/infection_monkey/telemetry/scan_telem.py @@ -1,8 +1,6 @@ from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "itay.mizeretz" - class ScanTelem(BaseTelem): def __init__(self, machine): diff --git a/monkey/infection_monkey/telemetry/state_telem.py b/monkey/infection_monkey/telemetry/state_telem.py index 06fc1794c..98aec3166 100644 --- a/monkey/infection_monkey/telemetry/state_telem.py +++ b/monkey/infection_monkey/telemetry/state_telem.py @@ -1,8 +1,6 @@ from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "itay.mizeretz" - class StateTelem(BaseTelem): def __init__(self, is_done, version="Unknown"): diff --git a/monkey/infection_monkey/telemetry/system_info_telem.py b/monkey/infection_monkey/telemetry/system_info_telem.py index 45f395201..554568dd4 100644 --- a/monkey/infection_monkey/telemetry/system_info_telem.py +++ b/monkey/infection_monkey/telemetry/system_info_telem.py @@ -1,8 +1,6 @@ from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "itay.mizeretz" - class SystemInfoTelem(BaseTelem): def __init__(self, system_info): diff --git a/monkey/infection_monkey/telemetry/trace_telem.py b/monkey/infection_monkey/telemetry/trace_telem.py index 8beec1181..8e5922dca 100644 --- a/monkey/infection_monkey/telemetry/trace_telem.py +++ b/monkey/infection_monkey/telemetry/trace_telem.py @@ -3,8 +3,6 @@ import logging from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "itay.mizeretz" - LOG = logging.getLogger(__name__) diff --git a/monkey/infection_monkey/telemetry/tunnel_telem.py b/monkey/infection_monkey/telemetry/tunnel_telem.py index 05f057ee9..f8d562771 100644 --- a/monkey/infection_monkey/telemetry/tunnel_telem.py +++ b/monkey/infection_monkey/telemetry/tunnel_telem.py @@ -2,8 +2,6 @@ from common.common_consts.telem_categories import TelemCategoryEnum from infection_monkey.control import ControlClient from infection_monkey.telemetry.base_telem import BaseTelem -__author__ = "itay.mizeretz" - class TunnelTelem(BaseTelem): def __init__(self): diff --git a/monkey/infection_monkey/transport/http.py b/monkey/infection_monkey/transport/http.py index ec1518c70..182ca0611 100644 --- a/monkey/infection_monkey/transport/http.py +++ b/monkey/infection_monkey/transport/http.py @@ -15,8 +15,6 @@ from common.common_consts.timeouts import SHORT_REQUEST_TIMEOUT from infection_monkey.network.tools import get_interface_to_target from infection_monkey.transport.base import TransportProxyBase, update_last_serve_time -__author__ = "hoffer" - LOG = getLogger(__name__) diff --git a/monkey/infection_monkey/tunnel.py b/monkey/infection_monkey/tunnel.py index 3fbfc5bdb..2f73ad9bf 100644 --- a/monkey/infection_monkey/tunnel.py +++ b/monkey/infection_monkey/tunnel.py @@ -10,8 +10,6 @@ from infection_monkey.network.info import get_free_tcp_port, local_ips from infection_monkey.network.tools import check_tcp_port, get_interface_to_target from infection_monkey.transport.base import get_last_serve_time -__author__ = "hoffer" - LOG = logging.getLogger(__name__) MCAST_GROUP = "224.1.1.1" diff --git a/monkey/infection_monkey/windows_upgrader.py b/monkey/infection_monkey/windows_upgrader.py index 6dfd01c11..90eacac9c 100644 --- a/monkey/infection_monkey/windows_upgrader.py +++ b/monkey/infection_monkey/windows_upgrader.py @@ -13,8 +13,6 @@ from infection_monkey.utils.commands import ( ) from infection_monkey.utils.environment import is_64bit_python, is_64bit_windows_os, is_windows_os -__author__ = "itay.mizeretz" - LOG = logging.getLogger(__name__) if "win32" == sys.platform: diff --git a/monkey/monkey_island/__init__.py b/monkey/monkey_island/__init__.py index a44473084..e69de29bb 100644 --- a/monkey/monkey_island/__init__.py +++ b/monkey/monkey_island/__init__.py @@ -1 +0,0 @@ -__author__ = "itay.mizeretz" diff --git a/monkey/monkey_island/cc/__init__.py b/monkey/monkey_island/cc/__init__.py index a37455d11..e69de29bb 100644 --- a/monkey/monkey_island/cc/__init__.py +++ b/monkey/monkey_island/cc/__init__.py @@ -1 +0,0 @@ -__author__ = "Barak" diff --git a/monkey/monkey_island/cc/app.py b/monkey/monkey_island/cc/app.py index 67640d352..8bf970c4a 100644 --- a/monkey/monkey_island/cc/app.py +++ b/monkey/monkey_island/cc/app.py @@ -58,8 +58,6 @@ from monkey_island.cc.services.database import Database from monkey_island.cc.services.remote_run_aws import RemoteRunAwsService from monkey_island.cc.services.representations import output_json -__author__ = "Barak" - HOME_FILE = "index.html" diff --git a/monkey/monkey_island/cc/database.py b/monkey/monkey_island/cc/database.py index b7788178c..6573e31f9 100644 --- a/monkey/monkey_island/cc/database.py +++ b/monkey/monkey_island/cc/database.py @@ -2,8 +2,6 @@ import gridfs from flask_pymongo import MongoClient, PyMongo from pymongo.errors import ServerSelectionTimeoutError -__author__ = "Barak" - mongo = PyMongo() diff --git a/monkey/monkey_island/cc/environment/__init__.py b/monkey/monkey_island/cc/environment/__init__.py index 9be1e90a8..1792ea99b 100644 --- a/monkey/monkey_island/cc/environment/__init__.py +++ b/monkey/monkey_island/cc/environment/__init__.py @@ -2,8 +2,6 @@ import logging from abc import ABCMeta, abstractmethod from datetime import timedelta -__author__ = "itay.mizeretz" - from common.utils.exceptions import ( AlreadyRegisteredError, CredentialsNotRequiredError, diff --git a/monkey/monkey_island/cc/environment/aws.py b/monkey/monkey_island/cc/environment/aws.py index 404955537..fda359133 100644 --- a/monkey/monkey_island/cc/environment/aws.py +++ b/monkey/monkey_island/cc/environment/aws.py @@ -1,8 +1,6 @@ from common.cloud.aws.aws_instance import AwsInstance from monkey_island.cc.environment import Environment -__author__ = "itay.mizeretz" - class AwsEnvironment(Environment): _credentials_required = True diff --git a/monkey/monkey_island/cc/environment/environment_singleton.py b/monkey/monkey_island/cc/environment/environment_singleton.py index f1a6a2a39..82c6b90b0 100644 --- a/monkey/monkey_island/cc/environment/environment_singleton.py +++ b/monkey/monkey_island/cc/environment/environment_singleton.py @@ -3,8 +3,6 @@ import logging import monkey_island.cc.resources.auth.user_store as user_store from monkey_island.cc.environment import EnvironmentConfig, aws, password, standard -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) AWS = "aws" diff --git a/monkey/monkey_island/cc/environment/password.py b/monkey/monkey_island/cc/environment/password.py index 4a8a6d855..c79f2caba 100644 --- a/monkey/monkey_island/cc/environment/password.py +++ b/monkey/monkey_island/cc/environment/password.py @@ -1,7 +1,5 @@ from monkey_island.cc.environment import Environment -__author__ = "itay.mizeretz" - class PasswordEnvironment(Environment): _credentials_required = True diff --git a/monkey/monkey_island/cc/environment/standard.py b/monkey/monkey_island/cc/environment/standard.py index 2f337fbf0..3bc823b9b 100644 --- a/monkey/monkey_island/cc/environment/standard.py +++ b/monkey/monkey_island/cc/environment/standard.py @@ -1,8 +1,6 @@ from monkey_island.cc.environment import Environment from monkey_island.cc.resources.auth.auth_user import User -__author__ = "itay.mizeretz" - class StandardEnvironment(Environment): _credentials_required = False diff --git a/monkey/monkey_island/cc/resources/__init__.py b/monkey/monkey_island/cc/resources/__init__.py index a37455d11..e69de29bb 100644 --- a/monkey/monkey_island/cc/resources/__init__.py +++ b/monkey/monkey_island/cc/resources/__init__.py @@ -1 +0,0 @@ -__author__ = "Barak" diff --git a/monkey/monkey_island/cc/resources/attack/__init__.py b/monkey/monkey_island/cc/resources/attack/__init__.py index 4dc53e2ca..e69de29bb 100644 --- a/monkey/monkey_island/cc/resources/attack/__init__.py +++ b/monkey/monkey_island/cc/resources/attack/__init__.py @@ -1 +0,0 @@ -__author__ = "VakarisZ" diff --git a/monkey/monkey_island/cc/resources/attack/attack_config.py b/monkey/monkey_island/cc/resources/attack/attack_config.py index 570882dbd..f9cd4c557 100644 --- a/monkey/monkey_island/cc/resources/attack/attack_config.py +++ b/monkey/monkey_island/cc/resources/attack/attack_config.py @@ -4,8 +4,6 @@ from flask import current_app, json, jsonify, request from monkey_island.cc.resources.auth.auth import jwt_required from monkey_island.cc.services.attack.attack_config import AttackConfig -__author__ = "VakarisZ" - class AttackConfiguration(flask_restful.Resource): @jwt_required diff --git a/monkey/monkey_island/cc/resources/attack/attack_report.py b/monkey/monkey_island/cc/resources/attack/attack_report.py index 72860cab7..502538990 100644 --- a/monkey/monkey_island/cc/resources/attack/attack_report.py +++ b/monkey/monkey_island/cc/resources/attack/attack_report.py @@ -5,8 +5,6 @@ from monkey_island.cc.resources.auth.auth import jwt_required from monkey_island.cc.services.attack.attack_report import AttackReportService from monkey_island.cc.services.attack.attack_schema import SCHEMA -__author__ = "VakarisZ" - class AttackReport(flask_restful.Resource): @jwt_required diff --git a/monkey/monkey_island/cc/resources/auth/auth_user.py b/monkey/monkey_island/cc/resources/auth/auth_user.py index 2661e7bd0..547b6e5bc 100644 --- a/monkey/monkey_island/cc/resources/auth/auth_user.py +++ b/monkey/monkey_island/cc/resources/auth/auth_user.py @@ -1,6 +1,3 @@ -__author__ = "itay.mizeretz" - - class User(object): def __init__(self, user_id, username, secret): self.id = user_id diff --git a/monkey/monkey_island/cc/resources/client_run.py b/monkey/monkey_island/cc/resources/client_run.py index d747cbde6..79a8c214b 100644 --- a/monkey/monkey_island/cc/resources/client_run.py +++ b/monkey/monkey_island/cc/resources/client_run.py @@ -5,8 +5,6 @@ from flask import jsonify, request from monkey_island.cc.services.node import NodeService -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/resources/edge.py b/monkey/monkey_island/cc/resources/edge.py index 4985d8a4d..9eb0d5943 100644 --- a/monkey/monkey_island/cc/resources/edge.py +++ b/monkey/monkey_island/cc/resources/edge.py @@ -3,8 +3,6 @@ from flask import request from monkey_island.cc.services.edge.displayed_edge import DisplayedEdgeService -__author__ = "Barak" - class Edge(flask_restful.Resource): def get(self): diff --git a/monkey/monkey_island/cc/resources/island_logs.py b/monkey/monkey_island/cc/resources/island_logs.py index 0aa1f6480..ae5bb1398 100644 --- a/monkey/monkey_island/cc/resources/island_logs.py +++ b/monkey/monkey_island/cc/resources/island_logs.py @@ -5,8 +5,6 @@ import flask_restful from monkey_island.cc.resources.auth.auth import jwt_required from monkey_island.cc.services.island_logs import IslandLogService -__author__ = "Maor.Rayzin" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/resources/log.py b/monkey/monkey_island/cc/resources/log.py index 298674d3b..63e4d44f1 100644 --- a/monkey/monkey_island/cc/resources/log.py +++ b/monkey/monkey_island/cc/resources/log.py @@ -10,8 +10,6 @@ from monkey_island.cc.resources.blackbox.utils.telem_store import TestTelemStore from monkey_island.cc.services.log import LogService from monkey_island.cc.services.node import NodeService -__author__ = "itay.mizeretz" - class Log(flask_restful.Resource): @jwt_required diff --git a/monkey/monkey_island/cc/resources/monkey.py b/monkey/monkey_island/cc/resources/monkey.py index 2b4042622..f607b81e1 100644 --- a/monkey/monkey_island/cc/resources/monkey.py +++ b/monkey/monkey_island/cc/resources/monkey.py @@ -13,9 +13,6 @@ from monkey_island.cc.services.config import ConfigService from monkey_island.cc.services.edge.edge import EdgeService from monkey_island.cc.services.node import NodeService -__author__ = "Barak" - - # TODO: separate logic from interface diff --git a/monkey/monkey_island/cc/resources/monkey_configuration.py b/monkey/monkey_island/cc/resources/monkey_configuration.py index d4e415e88..608030e5c 100644 --- a/monkey/monkey_island/cc/resources/monkey_configuration.py +++ b/monkey/monkey_island/cc/resources/monkey_configuration.py @@ -6,8 +6,6 @@ from flask import abort, jsonify, request from monkey_island.cc.resources.auth.auth import jwt_required from monkey_island.cc.services.config import ConfigService -__author__ = "Barak" - class MonkeyConfiguration(flask_restful.Resource): @jwt_required diff --git a/monkey/monkey_island/cc/resources/monkey_download.py b/monkey/monkey_island/cc/resources/monkey_download.py index c2b633c8e..24e03280c 100644 --- a/monkey/monkey_island/cc/resources/monkey_download.py +++ b/monkey/monkey_island/cc/resources/monkey_download.py @@ -8,8 +8,6 @@ from flask import request, send_from_directory from monkey_island.cc.server_utils.consts import MONKEY_ISLAND_ABS_PATH -__author__ = "Barak" - logger = logging.getLogger(__name__) MONKEY_DOWNLOADS = [ diff --git a/monkey/monkey_island/cc/resources/netmap.py b/monkey/monkey_island/cc/resources/netmap.py index 1dfa14657..a649fff76 100644 --- a/monkey/monkey_island/cc/resources/netmap.py +++ b/monkey/monkey_island/cc/resources/netmap.py @@ -4,8 +4,6 @@ from monkey_island.cc.resources.auth.auth import jwt_required from monkey_island.cc.services.netmap.net_edge import NetEdgeService from monkey_island.cc.services.netmap.net_node import NetNodeService -__author__ = "Barak" - class NetMap(flask_restful.Resource): @jwt_required diff --git a/monkey/monkey_island/cc/resources/node.py b/monkey/monkey_island/cc/resources/node.py index ffaadaec9..d4252354c 100644 --- a/monkey/monkey_island/cc/resources/node.py +++ b/monkey/monkey_island/cc/resources/node.py @@ -4,8 +4,6 @@ from flask import request from monkey_island.cc.resources.auth.auth import jwt_required from monkey_island.cc.services.node import NodeService -__author__ = "Barak" - class Node(flask_restful.Resource): @jwt_required diff --git a/monkey/monkey_island/cc/resources/pba_file_download.py b/monkey/monkey_island/cc/resources/pba_file_download.py index ec2abecfe..df9766ed6 100644 --- a/monkey/monkey_island/cc/resources/pba_file_download.py +++ b/monkey/monkey_island/cc/resources/pba_file_download.py @@ -3,8 +3,6 @@ from flask import send_from_directory from monkey_island.cc.services.post_breach_files import PostBreachFilesService -__author__ = "VakarisZ" - class PBAFileDownload(flask_restful.Resource): """ diff --git a/monkey/monkey_island/cc/resources/pba_file_upload.py b/monkey/monkey_island/cc/resources/pba_file_upload.py index 39da8324f..e96951702 100644 --- a/monkey/monkey_island/cc/resources/pba_file_upload.py +++ b/monkey/monkey_island/cc/resources/pba_file_upload.py @@ -11,8 +11,6 @@ from monkey_island.cc.resources.auth.auth import jwt_required from monkey_island.cc.services.config import ConfigService from monkey_island.cc.services.post_breach_files import PostBreachFilesService -__author__ = "VakarisZ" - LOG = logging.getLogger(__name__) # Front end uses these strings to identify which files to work with (linux or windows) LINUX_PBA_TYPE = "PBAlinux" diff --git a/monkey/monkey_island/cc/resources/root.py b/monkey/monkey_island/cc/resources/root.py index 37b5da7ba..41ff4e3ad 100644 --- a/monkey/monkey_island/cc/resources/root.py +++ b/monkey/monkey_island/cc/resources/root.py @@ -9,8 +9,6 @@ from monkey_island.cc.services.database import Database from monkey_island.cc.services.infection_lifecycle import InfectionLifecycle from monkey_island.cc.services.utils.network_utils import local_ip_addresses -__author__ = "Barak" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/resources/telemetry.py b/monkey/monkey_island/cc/resources/telemetry.py index d2f662c1d..525197f0f 100644 --- a/monkey/monkey_island/cc/resources/telemetry.py +++ b/monkey/monkey_island/cc/resources/telemetry.py @@ -14,8 +14,6 @@ from monkey_island.cc.resources.blackbox.utils.telem_store import TestTelemStore from monkey_island.cc.services.node import NodeService from monkey_island.cc.services.telemetry.processing.processing import process_telemetry -__author__ = "Barak" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/resources/telemetry_feed.py b/monkey/monkey_island/cc/resources/telemetry_feed.py index 4a2972cdb..37e6327f6 100644 --- a/monkey/monkey_island/cc/resources/telemetry_feed.py +++ b/monkey/monkey_island/cc/resources/telemetry_feed.py @@ -13,8 +13,6 @@ from monkey_island.cc.services.node import NodeService logger = logging.getLogger(__name__) -__author__ = "itay.mizeretz" - class TelemetryFeed(flask_restful.Resource): @jwt_required diff --git a/monkey/monkey_island/cc/resources/version_update.py b/monkey/monkey_island/cc/resources/version_update.py index 87aa96153..9346bfce4 100644 --- a/monkey/monkey_island/cc/resources/version_update.py +++ b/monkey/monkey_island/cc/resources/version_update.py @@ -5,8 +5,6 @@ import flask_restful from common.version import get_version from monkey_island.cc.services.version_update import VersionUpdateService -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/server_utils/consts.py b/monkey/monkey_island/cc/server_utils/consts.py index dbbe67531..fb5edbfab 100644 --- a/monkey/monkey_island/cc/server_utils/consts.py +++ b/monkey/monkey_island/cc/server_utils/consts.py @@ -4,8 +4,6 @@ from pathlib import Path from common.utils.file_utils import expand_path from monkey_island.cc.server_utils.file_utils import is_windows_os -__author__ = "itay.mizeretz" - def get_default_data_dir() -> str: if is_windows_os(): diff --git a/monkey/monkey_island/cc/server_utils/encryptor.py b/monkey/monkey_island/cc/server_utils/encryptor.py index 06a973526..ab9bc617a 100644 --- a/monkey/monkey_island/cc/server_utils/encryptor.py +++ b/monkey/monkey_island/cc/server_utils/encryptor.py @@ -8,8 +8,6 @@ from Crypto.Cipher import AES # noqa: DUO133 # nosec: B413 from monkey_island.cc.server_utils.file_utils import open_new_securely_permissioned_file -__author__ = "itay.mizeretz" - _encryptor = None diff --git a/monkey/monkey_island/cc/services/__init__.py b/monkey/monkey_island/cc/services/__init__.py index a44473084..e69de29bb 100644 --- a/monkey/monkey_island/cc/services/__init__.py +++ b/monkey/monkey_island/cc/services/__init__.py @@ -1 +0,0 @@ -__author__ = "itay.mizeretz" diff --git a/monkey/monkey_island/cc/services/attack/__init__.py b/monkey/monkey_island/cc/services/attack/__init__.py index 4dc53e2ca..e69de29bb 100644 --- a/monkey/monkey_island/cc/services/attack/__init__.py +++ b/monkey/monkey_island/cc/services/attack/__init__.py @@ -1 +0,0 @@ -__author__ = "VakarisZ" diff --git a/monkey/monkey_island/cc/services/attack/attack_config.py b/monkey/monkey_island/cc/services/attack/attack_config.py index 97eea098d..711b51bf1 100644 --- a/monkey/monkey_island/cc/services/attack/attack_config.py +++ b/monkey/monkey_island/cc/services/attack/attack_config.py @@ -6,8 +6,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.attack_schema import SCHEMA from monkey_island.cc.services.config import ConfigService -__author__ = "VakarisZ" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/services/attack/attack_report.py b/monkey/monkey_island/cc/services/attack/attack_report.py index 02936b509..61952571e 100644 --- a/monkey/monkey_island/cc/services/attack/attack_report.py +++ b/monkey/monkey_island/cc/services/attack/attack_report.py @@ -45,8 +45,6 @@ from monkey_island.cc.services.reporting.report_generation_synchronisation impor safe_generate_attack_report, ) -__author__ = "VakarisZ" - LOG = logging.getLogger(__name__) TECHNIQUES = { diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1003.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1003.py index 27a4b55db..d79aa7575 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1003.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1003.py @@ -3,8 +3,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique from monkey_island.cc.services.reporting.report import ReportService -__author__ = "VakarisZ" - class T1003(AttackTechnique): tech_id = "T1003" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1005.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1005.py index 83d4bc3b6..5aa2f4ad8 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1005.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1005.py @@ -1,8 +1,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1005(AttackTechnique): tech_id = "T1005" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1016.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1016.py index 594c593d5..3ff4544d2 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1016.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1016.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1016(AttackTechnique): tech_id = "T1016" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1018.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1018.py index 500a1a325..1495911bd 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1018.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1018.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1018(AttackTechnique): tech_id = "T1018" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1021.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1021.py index 9fe32b4d5..4e668f601 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1021.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1021.py @@ -3,8 +3,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique from monkey_island.cc.services.attack.technique_reports.technique_report_tools import parse_creds -__author__ = "VakarisZ" - class T1021(AttackTechnique): tech_id = "T1021" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1035.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1035.py index d13e55325..cb8775fc4 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1035.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1035.py @@ -1,7 +1,5 @@ from monkey_island.cc.services.attack.technique_reports.usage_technique import UsageTechnique -__author__ = "VakarisZ" - class T1035(UsageTechnique): tech_id = "T1035" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1041.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1041.py index 262c18204..2cdcfa975 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1041.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1041.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.models.monkey import Monkey from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1041(AttackTechnique): tech_id = "T1041" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1053.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1053.py index 5e1944ff7..3a10e92f7 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1053.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1053.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_JOB_SCHEDULING from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1053(PostBreachTechnique): tech_id = "T1053" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1059.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1059.py index dc97ef85b..6d7940718 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1059.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1059.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1059(AttackTechnique): tech_id = "T1059" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1064.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1064.py index 1ca2ba62e..d8c723053 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1064.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1064.py @@ -1,8 +1,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports.usage_technique import UsageTechnique -__author__ = "VakarisZ" - class T1064(UsageTechnique): tech_id = "T1064" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1065.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1065.py index 7734eb782..edc35b23a 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1065.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1065.py @@ -1,11 +1,8 @@ +from common.config_value_paths import CURRENT_SERVER_PATH from common.utils.attack_utils import ScanStatus from monkey_island.cc.services.attack.technique_reports import AttackTechnique from monkey_island.cc.services.config import ConfigService -__author__ = "VakarisZ" - -from common.config_value_paths import CURRENT_SERVER_PATH - class T1065(AttackTechnique): tech_id = "T1065" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1075.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1075.py index 36c409531..372ec35b0 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1075.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1075.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1075(AttackTechnique): tech_id = "T1075" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py index 7025a658c..a9409d4bc 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1082(AttackTechnique): tech_id = "T1082" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1086.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1086.py index d034d5316..eaaa7a155 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1086.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1086.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1086(AttackTechnique): tech_id = "T1086" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1087.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1087.py index 91e1204f4..6c42fea74 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1087.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1087.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_ACCOUNT_DISCOVERY from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1087(PostBreachTechnique): tech_id = "T1087" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1090.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1090.py index 66078e0d0..c5b0a9eed 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1090.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1090.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.models import Monkey from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1090(AttackTechnique): tech_id = "T1090" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1099.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1099.py index a16d3423d..59daea695 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1099.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1099.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_TIMESTOMPING from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1099(PostBreachTechnique): tech_id = "T1099" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1105.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1105.py index edcca2c2d..225efcda8 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1105.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1105.py @@ -1,8 +1,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1105(AttackTechnique): tech_id = "T1105" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1106.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1106.py index 0dfc749cc..14019634a 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1106.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1106.py @@ -1,7 +1,5 @@ from monkey_island.cc.services.attack.technique_reports.usage_technique import UsageTechnique -__author__ = "VakarisZ" - class T1106(UsageTechnique): tech_id = "T1106" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1107.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1107.py index 18f3a047b..713fffb24 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1107.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1107.py @@ -1,8 +1,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1107(AttackTechnique): tech_id = "T1107" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py index 118371ac5..2d1702b64 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1110.py @@ -3,8 +3,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique from monkey_island.cc.services.attack.technique_reports.technique_report_tools import parse_creds -__author__ = "VakarisZ" - class T1110(AttackTechnique): tech_id = "T1110" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1129.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1129.py index e0d079d7e..8fce14138 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1129.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1129.py @@ -1,7 +1,5 @@ from monkey_island.cc.services.attack.technique_reports.usage_technique import UsageTechnique -__author__ = "VakarisZ" - class T1129(UsageTechnique): tech_id = "T1129" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1136.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1136.py index dfc5945a3..ed5a820a5 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1136.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1136.py @@ -4,8 +4,6 @@ from common.common_consts.post_breach_consts import ( ) from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1136(PostBreachTechnique): tech_id = "T1136" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1145.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1145.py index 82dccf639..818691bd0 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1145.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1145.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1145(AttackTechnique): tech_id = "T1145" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1146.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1146.py index 9391e52e9..951233418 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1146.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1146.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_CLEAR_CMD_HISTORY from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1146(PostBreachTechnique): tech_id = "T1146" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1154.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1154.py index d775fcffc..3e7cb677b 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1154.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1154.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_TRAP_COMMAND from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1154(PostBreachTechnique): tech_id = "T1154" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py index abd32f78f..2dd6e03af 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1156(PostBreachTechnique): tech_id = "T1156" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1158.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1158.py index 9e688fd37..f58ef371a 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1158.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1158.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_HIDDEN_FILES from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1158(PostBreachTechnique): tech_id = "T1158" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py index 4ed2375a5..2b13d0865 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_SETUID_SETGID from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1166(PostBreachTechnique): tech_id = "T1166" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1168.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1168.py index 5e387a6ba..a0cc0ee78 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1168.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1168.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_JOB_SCHEDULING from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1168(PostBreachTechnique): tech_id = "T1168" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1188.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1188.py index 473e2b9df..b41c1fb54 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1188.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1188.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.models.monkey import Monkey from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1188(AttackTechnique): tech_id = "T1188" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1197.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1197.py index be1b669f6..1de5f3080 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1197.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1197.py @@ -1,8 +1,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1197(AttackTechnique): tech_id = "T1197" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1210.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1210.py index 9d4a17bf5..02acad288 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1210.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1210.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1210(AttackTechnique): tech_id = "T1210" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1216.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1216.py index 62800ae20..7ef32c559 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1216.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1216.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_SIGNED_SCRIPT_PROXY_EXEC from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1216(PostBreachTechnique): tech_id = "T1216" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1222.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1222.py index 3a6ba6f97..73eab6fd1 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1222.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1222.py @@ -2,8 +2,6 @@ from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo from monkey_island.cc.services.attack.technique_reports import AttackTechnique -__author__ = "VakarisZ" - class T1222(AttackTechnique): tech_id = "T1222" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py index f35fc970f..de2571b6b 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py @@ -1,8 +1,6 @@ from common.common_consts.post_breach_consts import POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION from monkey_island.cc.services.attack.technique_reports.pba_technique import PostBreachTechnique -__author__ = "shreyamalviya" - class T1504(PostBreachTechnique): tech_id = "T1504" diff --git a/monkey/monkey_island/cc/services/config.py b/monkey/monkey_island/cc/services/config.py index 41eb21fce..ba4083286 100644 --- a/monkey/monkey_island/cc/services/config.py +++ b/monkey/monkey_island/cc/services/config.py @@ -6,16 +6,6 @@ import logging from jsonschema import Draft4Validator, validators import monkey_island.cc.environment.environment_singleton as env_singleton -from monkey_island.cc.database import mongo -from monkey_island.cc.server_utils.encryptor import get_encryptor -from monkey_island.cc.services.config_manipulator import update_config_per_mode -from monkey_island.cc.services.config_schema.config_schema import SCHEMA -from monkey_island.cc.services.mode.island_mode_service import ModeNotSetError, get_mode -from monkey_island.cc.services.post_breach_files import PostBreachFilesService -from monkey_island.cc.services.utils.network_utils import local_ip_addresses - -__author__ = "itay.mizeretz" - from common.config_value_paths import ( AWS_KEYS_PATH, EXPORT_MONKEY_TELEMS_PATH, @@ -28,6 +18,13 @@ from common.config_value_paths import ( STARTED_ON_ISLAND_PATH, USER_LIST_PATH, ) +from monkey_island.cc.database import mongo +from monkey_island.cc.server_utils.encryptor import get_encryptor +from monkey_island.cc.services.config_manipulator import update_config_per_mode +from monkey_island.cc.services.config_schema.config_schema import SCHEMA +from monkey_island.cc.services.mode.island_mode_service import ModeNotSetError, get_mode +from monkey_island.cc.services.post_breach_files import PostBreachFilesService +from monkey_island.cc.services.utils.network_utils import local_ip_addresses logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/services/edge/displayed_edge.py b/monkey/monkey_island/cc/services/edge/displayed_edge.py index 3e038a088..9e2ce1730 100644 --- a/monkey/monkey_island/cc/services/edge/displayed_edge.py +++ b/monkey/monkey_island/cc/services/edge/displayed_edge.py @@ -5,8 +5,6 @@ from bson import ObjectId from monkey_island.cc.services.edge.edge import EdgeService -__author__ = "itay.mizeretz" - class DisplayedEdgeService: @staticmethod diff --git a/monkey/monkey_island/cc/services/groups_and_users_consts.py b/monkey/monkey_island/cc/services/groups_and_users_consts.py index 4121688d1..cf4bf8466 100644 --- a/monkey/monkey_island/cc/services/groups_and_users_consts.py +++ b/monkey/monkey_island/cc/services/groups_and_users_consts.py @@ -1,6 +1,5 @@ """This file will include consts values regarding the groupsandusers collection""" -__author__ = "maor.rayzin" USERTYPE = 1 GROUPTYPE = 2 diff --git a/monkey/monkey_island/cc/services/island_logs.py b/monkey/monkey_island/cc/services/island_logs.py index a145d09ad..0bbf4ec0b 100644 --- a/monkey/monkey_island/cc/services/island_logs.py +++ b/monkey/monkey_island/cc/services/island_logs.py @@ -1,7 +1,5 @@ import logging -__author__ = "Maor.Rayzin" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/services/log.py b/monkey/monkey_island/cc/services/log.py index f4f3374d6..06437e4fc 100644 --- a/monkey/monkey_island/cc/services/log.py +++ b/monkey/monkey_island/cc/services/log.py @@ -3,8 +3,6 @@ from datetime import datetime import monkey_island.cc.services.node from monkey_island.cc.database import database, mongo -__author__ = "itay.mizeretz" - class LogService: def __init__(self): diff --git a/monkey/monkey_island/cc/services/node.py b/monkey/monkey_island/cc/services/node.py index c906c47a9..ec787a39d 100644 --- a/monkey/monkey_island/cc/services/node.py +++ b/monkey/monkey_island/cc/services/node.py @@ -13,8 +13,6 @@ from monkey_island.cc.services.edge.edge import EdgeService from monkey_island.cc.services.utils.network_utils import is_local_ips, local_ip_addresses from monkey_island.cc.services.utils.node_states import NodeStates -__author__ = "itay.mizeretz" - class NodeService: def __init__(self): diff --git a/monkey/monkey_island/cc/services/remote_run_aws.py b/monkey/monkey_island/cc/services/remote_run_aws.py index 3f105a547..ae9d910ea 100644 --- a/monkey/monkey_island/cc/services/remote_run_aws.py +++ b/monkey/monkey_island/cc/services/remote_run_aws.py @@ -6,8 +6,6 @@ from common.cmd.aws.aws_cmd_runner import AwsCmdRunner from common.cmd.cmd import Cmd from common.cmd.cmd_runner import CmdRunner -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/services/reporting/pth_report.py b/monkey/monkey_island/cc/services/reporting/pth_report.py index 69b3d9677..b1b015c55 100644 --- a/monkey/monkey_island/cc/services/reporting/pth_report.py +++ b/monkey/monkey_island/cc/services/reporting/pth_report.py @@ -7,8 +7,6 @@ from monkey_island.cc.models import Monkey from monkey_island.cc.services.groups_and_users_consts import USERTYPE from monkey_island.cc.services.node import NodeService -__author__ = "maor.rayzin" - class PTHReportService(object): """ diff --git a/monkey/monkey_island/cc/services/reporting/report.py b/monkey/monkey_island/cc/services/reporting/report.py index 20574c54f..7dc15f9b6 100644 --- a/monkey/monkey_island/cc/services/reporting/report.py +++ b/monkey/monkey_island/cc/services/reporting/report.py @@ -39,8 +39,6 @@ from monkey_island.cc.services.reporting.report_generation_synchronisation impor ) from monkey_island.cc.services.utils.network_utils import get_subnets, local_ip_addresses -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/services/reporting/report_exporter_manager.py b/monkey/monkey_island/cc/services/reporting/report_exporter_manager.py index 00414028f..99d2ac629 100644 --- a/monkey/monkey_island/cc/services/reporting/report_exporter_manager.py +++ b/monkey/monkey_island/cc/services/reporting/report_exporter_manager.py @@ -1,7 +1,5 @@ import logging -__author__ = "maor.rayzin" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/services/utils/network_utils.py b/monkey/monkey_island/cc/services/utils/network_utils.py index 997fc815c..fc991a1c0 100644 --- a/monkey/monkey_island/cc/services/utils/network_utils.py +++ b/monkey/monkey_island/cc/services/utils/network_utils.py @@ -9,8 +9,6 @@ from typing import List from netifaces import AF_INET, ifaddresses, interfaces from ring import lru -__author__ = "Barak" - # Local ips function if sys.platform == "win32": diff --git a/monkey/monkey_island/cc/services/version_update.py b/monkey/monkey_island/cc/services/version_update.py index 530a7da0a..c42f2d694 100644 --- a/monkey/monkey_island/cc/services/version_update.py +++ b/monkey/monkey_island/cc/services/version_update.py @@ -6,8 +6,6 @@ import monkey_island.cc.environment.environment_singleton as env_singleton from common.utils.exceptions import VersionServerConnectionError from common.version import get_version -__author__ = "itay.mizeretz" - logger = logging.getLogger(__name__) diff --git a/monkey/monkey_island/cc/services/wmi_handler.py b/monkey/monkey_island/cc/services/wmi_handler.py index ede0bc167..d2f3441f9 100644 --- a/monkey/monkey_island/cc/services/wmi_handler.py +++ b/monkey/monkey_island/cc/services/wmi_handler.py @@ -1,8 +1,6 @@ from monkey_island.cc.database import mongo from monkey_island.cc.services.groups_and_users_consts import GROUPTYPE, USERTYPE -__author__ = "maor.rayzin" - class WMIHandler(object): ADMINISTRATORS_GROUP_KNOWN_SID = "1-5-32-544" diff --git a/monkey/monkey_island/monkey_island.spec b/monkey/monkey_island/monkey_island.spec index 7122227c2..624d08ffa 100644 --- a/monkey/monkey_island/monkey_island.spec +++ b/monkey/monkey_island/monkey_island.spec @@ -3,7 +3,7 @@ import os import platform import sys -__author__ = 'itay.mizeretz' + block_cipher = None diff --git a/monkey/tests/unit_tests/common/cloud/aws/test_aws_service.py b/monkey/tests/unit_tests/common/cloud/aws/test_aws_service.py index 33dc40b54..dc5ec3831 100644 --- a/monkey/tests/unit_tests/common/cloud/aws/test_aws_service.py +++ b/monkey/tests/unit_tests/common/cloud/aws/test_aws_service.py @@ -3,8 +3,6 @@ from unittest import TestCase from common.cloud.aws.aws_service import filter_instance_data_from_aws_response -__author__ = "shay.nehmad" - class TestAwsService(TestCase): def test_filter_instance_data_from_aws_response(self):