synopk.blogg.se

Tcpvcon
Tcpvcon










OR IF: you have Administrator access you can have each machine run netstat locally and then pull the information out of a central log or a log on the machine as long as you have the ability to reach the machine.- THOUGH (If you have the ability to get the the registry remotely but not the drive share we coudl populate a registry key with the info, and you could browse that, obviously still need system admin access) OR IF: you know what the application is and what commands it will accept you can query every listening port on the remote system using telnet, however Telnet cannot be scripted, so you woudl need to download a 3rd party tool to accomplish that bit.

tcpvcon

IF: you have a User name and password for the system, and IF the application you are looking for stores it't port in the registry, you can query the remote registry to check the setting using NT Commands

tcpvcon

and regardless you would need to have a user name and password on the system to authenticate with in order to do this. WMI (and therefore WMIC) Cannot show you active ports and the processes running them it's intentions are for system management. Netstat will ONLY show LOCALLY open ports.

tcpvcon

Since you do not know what port it will be on, this will not be possible.












Tcpvcon