Closed 0xShkk closed 2 years ago
I don't intend to implement this myself anytime soon, if anyone is watching this repo and wants to submit a pull request I'm open to reviewing it.
Looks like the changes would be replacing Get(tcp|udp)able with calls to https://docs.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getextendedtcptable, and using TCP_TABLE_OWNER_PID_ALL for the TableClass parameter.
That was one of the first things i changed. Since I've had it a while, I've chosen to share the changes. I don't know why my pull request tagged multiple issues, my bad.
Thanks again nowhey2, if ya want a twitter callout just comment your handle on here and I'll give you a more public thanks for there.
Awesome work!
TY, not necessary.
Thank you very much for sharing your solution !
Hi there,
would be great if the "netstat" BOF would display the PID of the process opened the socket as well.
Like doing a "netstat -aon" via cmd.
Cheers