https://github.com/shabnam-khaqanpoor/nmap-simulated
This project simulates basic Nmap functionalities with a custom server and client application. It allows users to perform network operations such as pinging hosts, scanning open ports, and measuring response times, simulating real-world network monitoring tasks.
https://github.com/shabnam-khaqanpoor/nmap-simulated
computer-networking icmp network-scanning nmap nmap-simulation packet-analysis ping port-scanning server-client tcp-ip
Last synced: about 1 year ago
JSON representation
This project simulates basic Nmap functionalities with a custom server and client application. It allows users to perform network operations such as pinging hosts, scanning open ports, and measuring response times, simulating real-world network monitoring tasks.
- Host: GitHub
- URL: https://github.com/shabnam-khaqanpoor/nmap-simulated
- Owner: Shabnam-Khaqanpoor
- License: mit
- Created: 2025-03-01T19:42:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T19:47:59.000Z (over 1 year ago)
- Last Synced: 2025-03-29T18:19:02.532Z (about 1 year ago)
- Topics: computer-networking, icmp, network-scanning, nmap, nmap-simulation, packet-analysis, ping, port-scanning, server-client, tcp-ip
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nmap Simulation Project 🚀
## Overview 🌐
This project simulates basic functionalities of the popular `nmap` tool using a custom-built server and client application. The server allows clients to perform network operations such as pinging a host, checking open ports, and testing response times to ports. 🖧💻
The simulation includes:
- **Ping** using ICMP to check if a host is online.
- **Port Scanning** to check if specific ports on a host are open.
- **Response Time** to measure how quickly a port responds.
---
## Features ✨
- **/ping **: Sends an ICMP ping request to check if a host is online. 🌍
- **/port <#num_requests>**: Scans a range of ports to check if they are open. 🔓
- **/res_time <#num_requests>**: Measures the response time of a specific port. ⏱️
- **/GET **: Retrieves information about a specific user. 📥
- **/POST **: Adds a new user to the server. ➕
---
## Example Commands 💬
- **Ping a host**:
```bash
/ping 192.168.1.1
/ping google.com
```
- **Check open ports**:
```bash
/port 192.168.1.1 22 80 5
/port google.com 22 80 5
```
- **Check response time for a port**:
```bash
/res_time 192.168.1.1 80 3
/res_time google.com 80 3
```
- **Get user information**:
```bash
/GET user1
```
- **Add new user**:
```bash
/POST "John Doe" 28
```
---