Process-to-port mapping with SNMP and/or wmi/wmic in java
- by Niddy888
I'm trying to use SNMP to map outgoing ports on my host computer with the application running on the computer that is responsible for that communication.
When running "netstat -ano" I get access to Protocol, Local Address (with port), Foreign Address (with port), State and PID. But I want to do this entirely without having to execute "cmd" from…