Skip to content

Commit

Permalink
bugfix: missing digit for #460 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
obilodeau committed Dec 14, 2023
1 parent 7b294b8 commit 217e58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrdp/core/mitm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 217e58c

Please sign in to comment.