Version: 7
restore

Contents

Method

LookupNetBiosNames

ModuleDiscovery
LibraryDiscovery
Action

Performs a NetBios reverse lookup on a list of IP addresses

ParametersIpAddresses (string): A list of IPv4 addresses in string notation separated by commas.
Return values

IpAddress (string): The IP address that was looked up.

HostName (string): The resolved host name.

Example

Returns one row, as the IPv6 address is ignored.

Discovery.LookupNetBiosNames(IpAddresses:"1.2.3.4,::1");
Platforms
  • Windows
Notes

This method will only resolve IPv4 addresses. IPv6 addresses will be ignored, and a warning will be logged.

This method may request information over the wire. As such, it shouldn't be sent to a lot of machines. Staggering is also a recommended practice.