An open API service indexing awesome lists of open source software.

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.

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
```

---