forked from p15670423/monkey
Agent: Move username const to model
This const is used by PBA and mimikatz collectors as describes the username prefix for users created by IM
This commit is contained in:
parent
9f78e0d567
commit
a335f30c68
|
@ -1 +0,0 @@
|
|||
USERNAME_PREFIX = "somenewuser"
|
|
@ -1,7 +1,8 @@
|
|||
import logging
|
||||
from typing import Sequence
|
||||
|
||||
from infection_monkey.consts import USERNAME_PREFIX
|
||||
from model import USERNAME_PREFIX
|
||||
|
||||
from infection_monkey.credential_collectors import LMHash, NTHash, Password, Username
|
||||
from infection_monkey.i_puppet.credential_collection import Credentials, ICredentialCollector
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@ MONKEY_ARG = "m0nk3y"
|
|||
DROPPER_ARG = "dr0pp3r"
|
||||
ID_STRING = "M0NK3Y3XPL0ITABLE"
|
||||
|
||||
# Username prefix for users created by Infection Monkey
|
||||
USERNAME_PREFIX = "somenewuser"
|
||||
|
||||
# CMD prefix for windows commands
|
||||
CMD_EXE = "cmd.exe"
|
||||
CMD_CARRY_OUT = "/c"
|
||||
|
|
|
@ -5,8 +5,9 @@ import string
|
|||
import subprocess
|
||||
from typing import Dict
|
||||
|
||||
from model import USERNAME_PREFIX
|
||||
|
||||
from common.common_consts.post_breach_consts import POST_BREACH_COMMUNICATE_AS_BACKDOOR_USER
|
||||
from infection_monkey.consts import USERNAME_PREFIX
|
||||
from infection_monkey.i_puppet.i_puppet import PostBreachData
|
||||
from infection_monkey.post_breach.pba import PBA
|
||||
from infection_monkey.telemetry.messengers.i_telemetry_messenger import ITelemetryMessenger
|
||||
|
|
Loading…
Reference in New Issue