Register a windows service

 

sc create <name> binpath="<path_to_exec>" 

ex:

 sc create wazuh binpath="c:\Program Files (x86)\ossec-agent\wazuh-agent.exe" 



How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos