From 3b565eaaa2fbae6c4c91c77ae80b2d4e607a621d Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 14 Jan 2025 19:25:30 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index a07f0ef..f4ba323 100644 --- a/server.py +++ b/server.py @@ -23,7 +23,7 @@ def crosserver(): return send_file("cross-server.png") @app.route("/gencert.zip") def gencert(): - random_name = str(uuid.uuid4()) + random_name = ''.join(random.choice(string.ascii_lowercase) for i in range(8)) k = crypto.PKey() k.generate_key(crypto.TYPE_RSA, 1024) cert = crypto.X509()