FAIZAN NET is a powerful network tool designed to help network administrators, engineers, and enthusiasts calculate and visualize subnets for both IPv4 and IPv6 addresses. It offers functionality for checking host statuses, scanning for open ports, and identifying operating systems. The tool also allows exporting results in CSV or JSON format for further analysis or reporting.
- Subnet Calculation: Calculate detailed information for both IPv4 and IPv6 networks, including netmask, CIDR, broadcast address, and host range.
- Host Status Check: Detect if hosts within the subnet are "UP" (online) or "DOWN" (offline).
- Port Scanning & OS Detection: scan hosts for open ports and identify operating systems.
- Visualization: Provide visual representations of subnets, showing binary representations of IP addresses, network addresses, and netmask.
- Export Data: Export calculated subnet details to CSV or JSON format for easy sharing and further processing.
- Class-Based Subnet Classification: Automatically classify subnets as Class A, B, C, D, or E for IPv4 networks.
- CIDR Notation Support: Support for both IPv4 and IPv6 CIDR notation. FAIZAN NET allows you to calculate subnets and provide network information for both IP versions.
- Visual Representation: Get a binary representation of the network and detailed host information, including IP range and netmask.
- Command-line Interface (CLI): Simple and user-friendly interface for easy input and output.
To use Faizan Net, you need Python 3.x installed on your system. Additionally, the tool depends on the following libraries:
nmap
(for port scanning and OS detection)
pip install python-nmap
git clone https://github.com/Faizan-Khanx/Faizan-Net.git
cd Faizan-Net
pip install -r requirements.txt
sudo python3 FaizanNet.py
Faizan Net is a command-line tool. You can use various command-line options to calculate and export subnet details or scan hosts in the subnet. The script also supports both IPv4 and IPv6.
-
Calculate Subnet for IPv4 Address And Visualize an IPv4 Subnet with Host Status and Port Scanning:
sudo python FaizanNet.py
Run This Command And Choose 1 To Calculate Subnet For IPv4 Address
-
Calculate Subnet for IPv6 Address
sudo python FaizanNet.py -
Run This Command And Choose 2 To Calculate Subnet For IPv6 Address
When you run SubnetWizard, you get detailed subnet information displayed in a structured manner, including:
- IP Address: The starting IP of the subnet.
- Netmask: The subnet mask associated with the given IP.
- CIDR Notation: The CIDR (Classless Inter-Domain Routing) representation of the subnet.
- Broadcast Address: The broadcast address for the network.
- Host Range: The range of hosts within the subnet.
- Host Status: Whether each host is "UP" or "DOWN".
- Port Information: Open ports on each host.
- Operating System Information: Detected OS for each host (if available).
- CSV: Export subnet For IPv4 details to a CSV file.
After Scan Done It will ask you for exporting the data if you want to export then press 'yes' or 'y'
After This It Will Ask You For Format press '1' to export in CSV
This will create a FaizanNetV4.csv
file containing all subnet details.
-
JSON: Export subnet For IPv4 details to a JSON file for structured data storage.
After Scan Done It will ask you for exporting the data if you want to export then press 'yes' or 'y'
After This It Will Ask You For Format press '2' to export in JSON
This will create a `FaizanNetV4.json` file containing all subnet details.
- CSV: Export subnet For IPv6 details to a CSV file.
After Scan Done It will ask you for exporting the data if you want to export then press 'yes' or 'y'
After This It Will Ask You For Format press '1' to export in CSV
This will create a FaizanNetV6.csv
file containing all subnet details.
-
JSON: Export subnet For IPv6 details to a JSON file for structured data storage.
After Scan Done It will ask you for exporting the data if you want to export then press 'yes' or 'y'
After This It Will Ask You For Format press '2' to export in JSON
This will create a `FaizanNetV6.json` file containing all subnet details.
FaizanNet provides a detailed visual output for each host in the subnet. This includes:
- Host IP Address
- Binary Representation of Host, Network, and Netmask
- Host Status (colored as green for "UP" and red for "DOWN")
- Open Ports (if any)
- OS Information (detected OS)
Host | Binary Representation | Status | Network Binary | Netmask Binary | Ports | OS Info
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
144.76.3.1 | 10010000.01001100.00000011.00000001 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21 | Unknown
144.76.3.2 | 10010000.01001100.00000011.00000010 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21, 22 | Unknown
144.76.3.3 | 10010000.01001100.00000011.00000011 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21, 22, 80, 443 | Unknown
144.76.3.4 | 10010000.01001100.00000011.00000100 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21 | Unknown
144.76.3.5 | 10010000.01001100.00000011.00000101 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21, 7070 | Unknown
144.76.3.6 | 10010000.01001100.00000011.00000110 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21, 22, 80, 443, 5432 | Unknown
144.76.3.7 | 10010000.01001100.00000011.00000111 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21, 22, 53, 80, 443, 1500 | Unknown
144.76.3.8 | 10010000.01001100.00000011.00001000 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21 | Unknown
144.76.3.9 | 10010000.01001100.00000011.00001001 | UP | 10010000.01001100.00000011.00000000 | 11111111.11111111.11111111.10000000 | 21, 22, 80, 443, 993 | Unknown
This project is licensed under the MIT License - see the LICENSE file for details.
FAIZAN-NET is developed by Faizan Khan.
- GitHub: Faizan-Khanx
- Instagram: @EthicalFaizan
Feel free to contribute to this project or suggest improvements by raising issues or pull requests on GitHub.
For any questions or feedback, please contact E-Mail Me