greenbone / openvas-smb

SMB module for OpenVAS Scanner
GNU General Public License v2.0
47 stars 47 forks source link

wmi via ipv6 #87

Open temperta opened 8 months ago

temperta commented 8 months ago

hello ,every body,i have a problem to use wmic tool to query from a pure ipv6 windows.how can i input a ipv6 address for wmic

tedpearson commented 6 months ago

I looked into this a while ago, as I also wanted to use wmic via IPv6. I found that samba/lib/util/system.c uses an IPv4-only dns lookup function gethostbyname().

Basically the code needs to be modified to support IPv6.