diff --git a/pyrdp/core/mitm.py b/pyrdp/core/mitm.py index 1036def18..250cf7b7b 100644 --- a/pyrdp/core/mitm.py +++ b/pyrdp/core/mitm.py @@ -25,7 +25,7 @@ def __init__(self, config: MITMConfig): self.config = config def buildProtocol(self, addr): - sessionID = f"{namesgenerator.get_random_name()}_{random.randrange(100000,999999)}" + sessionID = f"{namesgenerator.get_random_name()}_{random.randrange(1000000,9999999)}" # mainLogger logs in a file and stdout mainlogger = logging.getLogger(LOGGER_NAMES.MITM_CONNECTIONS)