diff --git a/wsuks/wsuks.py b/wsuks/wsuks.py index 5abca1d..e70f7f6 100644 --- a/wsuks/wsuks.py +++ b/wsuks/wsuks.py @@ -32,7 +32,7 @@ def __init__(self, args): self.logger.error(f"Interface '{args.interface}' not found! Exiting...") exit(1) self.local_username = "user" + "".join(random.choice(digits) for i in range(5)) - self.local_password = "".join(random.sample(ascii_letters, 16)) + self.local_password = "".join(random.sample(ascii_letters, 14)) + "1" + "!" # Set args self.targetIp = args.targetIp # Never None (required) @@ -146,6 +146,7 @@ def run(self): try: self.logger.info(f"Starting WSUS Server on {self.hostIp}:{self.wsusPort}...") + self.logger.info(f"Serving executable as KB: {update_handler.kb_number}") http_server.serve_forever() except KeyboardInterrupt: print()