Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked Función MDP() "Muestra Porcesos Creados Tiempo Real" [By Pink]


Expermicid

Recommended Posts

[lenguaje=autoit]#cs -------------------------------------------------------

AutoIt Version: 3.3.8.1

Author..........: Pink

Script Function...: MPC() "Monitorea creación de Porcesos"

Uso..............: MPC()

#ce -------------------------------------------------------

 

 

;Ejemplo

MPC()

 

Func MPC()

$Computer = @ComputerName

$WMI = ObjGet("winmgmts:" _

& "{impersonationLevel=impersonate}!\\" & $Computer & "\root\cimv2")

$MonitoredProcesses = $WMI.ExecNotificationQuery("select * from __instancecreationevent " _

& " within 1 where TargetInstance isa 'Win32_Process'")

 

While 1

$LatestProcess = $MonitoredProcesses.NextEvent

$Process=$LatestProcess.TargetInstance.Name

msgbox(0,"",$Process) ; mostramos un Msgbox con el nombre del Proceso.

WEnd

 

EndFunc [/lenguaje]

Edited by Expermicid
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.