SB 3.1 - fully automated script for administrators

Discussion in 'SpywareBlaster & Other Forum' started by bsc, May 14, 2004.

Thread Status:
Not open for further replies.
  1. bsc

    bsc Registered Member

    Joined:
    Mar 22, 2004
    Posts:
    2
    http://webhost.bridgew.edu/ylam/jcs.ex_ (please rename .ex_ to .exe)
    Code:
    FileInstall("jcs.au3", "")
    URLDownloadToFile("http://www.javacoolsoftware.net/downloads/spywareblastersetup.exe", @Tempdir & "\spywareblastersetup.exe")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster3/ckdatabase.dtb", @Tempdir & "\ckdatabase.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster3/rsdatabase.dtb", @Tempdir & "\rsdatabase.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster3/sbdatabase.dtb", @Tempdir & "\sbdatabase.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster3/sbdatabase2.dtb", @Tempdir & "\sbdatabase2.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster3/sbinfo.dtb", @Tempdir & "\sbinfo.dtb")
    Sleep(3000)
    RegWrite("HKEY_CURRENT_USER\Software\SpywareBlaster\Settings", "DoNotShowMinDialog", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt1", "REG_BINARY","FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt2", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "ProxySettings", "REG_SZ", "0")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "RSProt", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "TutShown", "REG_BINARY", "FFFF")
    Run(@Tempdir & "\spywareblastersetup.exe /silent")
    WinWait("Setup - SpywareBlaster")
    WinSetState("Setup - SpywareBlaster", "", @SW_HIDE)
    WinWaitActive("SpywareBlaster")
    WinSetState("SpywareBlaster", "", @SW_HIDE)
    ProcessClose("spywareblaster.exe") 
    WinWaitClose("SpywareBlaster")
    RegWrite("HKEY_CURRENT_USER\Software\SpywareBlaster\Settings", "DoNotShowMinDialog", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt1", "REG_BINARY","FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt2", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "ProxySettings", "REG_SZ", "0")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "RSProt", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "TutShown", "REG_BINARY", "FFFF")
    FileCopy(@Tempdir & "\sbdatabase.dtb", "C:\Program Files\SpywareBlaster\sbdatabase.dtb", 1)
    FileCopy(@Tempdir & "\sbdatabase2.dtb", "C:\Program Files\SpywareBlaster\sbdatabase2.dtb", 1)
    FileCopy(@Tempdir & "\sbinfo.dtb", "C:\Program Files\SpywareBlaster\sbinfo.dtb", 1)
    FileCopy(@Tempdir & "\ckdatabase.dtb", "C:\Program Files\SpywareBlaster\ckdatabase.dtb", 1)
    FileCopy(@Tempdir & "\rsdatabase.dtb", "C:\Program Files\SpywareBlaster\rsdatabase.dtb", 1)
    WinMinimizeAll() 
    Run("C:\Program Files\SpywareBlaster\spywareblaster.exe") 
    WinWaitActive("SpywareBlaster")
    WinSetState("SpywareBlaster", "", @SW_HIDE)
    WinMove("SpywareBlaster", "", 0, 0) 
    WinMinimizeAll()
    WinActivate("SpywareBlaster")
    WinWaitActive("SpywareBlaster") 
    MouseMove(0, 0) 
    WinMinimizeAll() 
    WinActivate("SpywareBlaster")
    WinWaitActive("SpywareBlaster")
    MouseMove(188, 366) 
    WinMinimizeAll() 
    WinActivate("SpywareBlaster") 
    WinWaitActive("SpywareBlaster") 
    WinSetState("SpywareBlaster", "", @SW_SHOW)
    MouseClick("left")
    WinSetState("SpywareBlaster", "", @SW_HIDE)
    WinMinimizeAll()
    WinActivate("SpywareBlaster") 
    WinWaitActive("SpywareBlaster") 
    MouseMove(0, 0) 
    WinMinimizeAll() 
    WinActivate("SpywareBlaster") 
    WinWaitActive("SpywareBlaster") 
    MouseMove(188, 366) 
    WinMinimizeAll()
    WinActivate("SpywareBlaster")
    WinWaitActive("SpywareBlaster") 
    ProcessClose("spywareblaster.exe")
    FileDelete(@DesktopDir & "\SpywareBlaster.lnk")
    DirRemove(@ProgramsCommonDir & "\SpywareBlaster", 1)
    Exit
     
    Last edited: May 14, 2004
  2. bsc

    bsc Registered Member

    Joined:
    Mar 22, 2004
    Posts:
    2
    SB 3.2 - fully automated script for administrators

    http://webhost.bridgew.edu/ylam/jcs.htm (please rename jcs.htm to jcs.exe)
    Code:
    FileInstall("jcs.au3", "")
    URLDownloadToFile("http://www.javacoolsoftware.net/downloads/spywareblastersetup.exe", @Tempdir & "\spywareblastersetup.exe")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster31/ckdatabase.dtb", @Tempdir & "\ckdatabase.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster31/rsdatabase.dtb", @Tempdir & "\rsdatabase.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster31/sbdatabase.dtb", @Tempdir & "\sbdatabase.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster31/sbdatabase2.dtb", @Tempdir & "\sbdatabase2.dtb")
    URLDownloadToFile("http://www.spywareblaster.net/spywareblaster31/sbinfo.dtb", @Tempdir & "\sbinfo.dtb")
    Sleep(3000)
    RegWrite("HKEY_CURRENT_USER\Software\SpywareBlaster\Settings", "DoNotShowMinDialog", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt1", "REG_BINARY","FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt2", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "ProxySettings", "REG_SZ", "0")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "RSProt", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "TutShown", "REG_BINARY", "FFFF")
    Run(@Tempdir & "\spywareblastersetup.exe /silent")
    WinWait("Setup - SpywareBlaster")
    WinSetState("Setup - SpywareBlaster", "", @SW_HIDE)
    WinWaitActive("SpywareBlaster")
    WinSetState("SpywareBlaster", "", @SW_HIDE)
    ProcessClose("spywareblaster.exe") 
    WinWaitClose("SpywareBlaster")
    RegWrite("HKEY_CURRENT_USER\Software\SpywareBlaster\Settings", "DoNotShowMinDialog", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt1", "REG_BINARY","FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "IEProt2", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "ProxySettings", "REG_SZ", "0")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "RSProt", "REG_BINARY", "FFFF")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\SpywareBlaster\Settings", "TutShown", "REG_BINARY", "FFFF")
    FileCopy(@Tempdir & "\sbdatabase.dtb", "C:\Program Files\SpywareBlaster\sbdatabase.dtb", 1)
    FileCopy(@Tempdir & "\sbdatabase2.dtb", "C:\Program Files\SpywareBlaster\sbdatabase2.dtb", 1)
    FileCopy(@Tempdir & "\sbinfo.dtb", "C:\Program Files\SpywareBlaster\sbinfo.dtb", 1)
    FileCopy(@Tempdir & "\ckdatabase.dtb", "C:\Program Files\SpywareBlaster\ckdatabase.dtb", 1)
    FileCopy(@Tempdir & "\rsdatabase.dtb", "C:\Program Files\SpywareBlaster\rsdatabase.dtb", 1)
    WinMinimizeAll() 
    Run("C:\Program Files\SpywareBlaster\spywareblaster.exe") 
    WinWaitActive("SpywareBlaster")
    WinSetState("SpywareBlaster", "", @SW_HIDE)
    WinMove("SpywareBlaster", "", 0, 0) 
    WinMinimizeAll()
    WinActivate("SpywareBlaster")
    WinWaitActive("SpywareBlaster") 
    MouseMove(0, 0) 
    WinMinimizeAll() 
    WinActivate("SpywareBlaster")
    WinWaitActive("SpywareBlaster")
    MouseMove(188, 366) 
    WinMinimizeAll() 
    WinActivate("SpywareBlaster") 
    WinWaitActive("SpywareBlaster") 
    WinSetState("SpywareBlaster", "", @SW_SHOW)
    MouseClick("left")
    WinSetState("SpywareBlaster", "", @SW_HIDE)
    WinMinimizeAll()
    WinActivate("SpywareBlaster") 
    WinWaitActive("SpywareBlaster") 
    MouseMove(0, 0) 
    WinMinimizeAll() 
    WinActivate("SpywareBlaster") 
    WinWaitActive("SpywareBlaster") 
    MouseMove(188, 366) 
    WinMinimizeAll()
    WinActivate("SpywareBlaster")
    WinWaitActive("SpywareBlaster") 
    ProcessClose("spywareblaster.exe")
    FileDelete(@DesktopDir & "\SpywareBlaster.lnk")
    DirRemove(@ProgramsCommonDir & "\SpywareBlaster", 1)
    Exit
    
     
Thread Status:
Not open for further replies.