IPConverter is a C++ program built with an object-oriented design pattern that provides a set of tools for working with IP addresses. The program consists of several classes, each responsible for a specific feature or tool.
- IP Address Conversion: Convert between different IP address formats, perform IP address operations, and support CIDR notation.
- Geolocation Lookup: Look up the geographic location associated with an IP address.
- DNS Lookup: Look up domain names and IP addresses.
- Port Scanner: Scan for open ports on a given IP address or range of IP addresses.
- Ping Test: Test the connectivity between two IP addresses or between an IP address and a hostname.
- Traceroute: Trace the path that packets take from one IP address to another, showing the intermediate hops along the way.
- Whois Lookup: Perform a Whois lookup on an IP address or domain name.
To use IPConverter, you can clone this repository or download the source code and compile it on your local machine.
- C++ compiler (e.g., g++)
- CMake
- 1- Clone the repository or download the source code
- 2- Open a terminal window and navigate to the project directory
- 3- Run the following commands:
mkdir build
cd build
cmake ..
make
To run the IPConverter program, navigate to the build directory and run the following command:
./ipconverter < sample_data.json
Once the program is running, follow the on-screen instructions to use the different tools and features provided.
**** Caution: Work in progress - documentation may not be current. ****
If you would like to contribute to the IPConverter project, please feel free to fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.