Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import wmi, subprocess
  2. import os, datetime, inspect, sys
  3. import Trigger_Campaign_Sub as fn
  4. from socket import *
  5. ...
  6. ...
  7. connection = wmi.WMI(ip, user=username, password=password)
  8. process_id, return_value = connection.Win32_Process.Create(CommandLine="cmd.exe /c " + execommand)
  9.  
  10.  
  11. process_id, return_value = connection.Win32_Process.Create(CommandLine="cmd.exe /c " + execommand)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement