IPof is a lightweight command-line tool that retrieves the IP addresses of a given domain or URL. It resolves both IPv4 and IPv6 (if available) addresses.
IPof -u/--url <url> [-n/--nobanner] [-h/--help]-u, --url <url>Specify the URL to find IP addresses.-n, --nobannerSuppresses the banner output.-h, --helpDisplays the help menu.
This tool is part of the 8gudbitsKit project. To download the executable for Windows, visit the 8gudbitsKit repository.
- Uses Winsock2 (
WSAStartup) for network initialization. - Extracts the hostname from full URLs by stripping
http://,https://, and paths. - Calls getaddrinfo() to resolve both IPv4 and IPv6 addresses.
- Converts raw socket addresses to human-readable IPs using inet_ntop().
- Implements a CLI argument parser for handling user input.