From 217e58cd8251007f454574455407565fdec95b8e Mon Sep 17 00:00:00 2001 From: Olivier Bilodeau Date: Thu, 14 Dec 2023 01:34:09 -0500 Subject: [PATCH] bugfix: missing digit for #460 patch --- pyrdp/core/mitm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)