clamscan 发现以下受感染的文件:
/home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib64/wine/wordpad.exe:已找到 Win.Packed.Pwsx-9885269-0
/home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib64/wine/dpnsvr.exe:已找到 Win.Malware.Malwarex-9883756-0
/home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib/wine/wordpad.exe:已找到 Win.Packed.Pwsx-9885269-0
/home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib/wine/dpnsvr.exe:已找到 Win.Malware.Malwarex-9883756-0
我该如何删除这些文件?我试过 clamscan -r --remove /home/USER,但花了好几个小时,而且我不喜欢无法选择性地选择要删除的文件。我还在网上看到,如果 clamscan 检测到受感染的文件,就会出现一个窗口,您可以通过这个窗口删除受感染的文件,但这并没有发生在我身上。如果您说我不应该或不需要删除这些文件,我仍然希望知道将来如何选择性地删除受感染的文件。
提前致谢!
答案1
打开终端并逐个输入以下命令(或者,将所有这些行保存在脚本文件中并执行它)以删除文件。
rm /home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib64/wine/wordpad.exe
rm /home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib64/wine/dpnsvr.exe
rm /home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib/wine/wordpad.exe
rm /home/ludvig/.steam/debian-installation/steamapps/common/Proton 6.3/dist/lib/wine/dpnsvr.exe