Skip to content

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.

License

Notifications You must be signed in to change notification settings

Shabnam-Khaqanpoor/Nmap-Simulated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <hostname/IP>: Sends an ICMP ping request to check if a host is online.
  • /port <hostname/IP> <start_port> <end_port> <#num_requests>: Scans a range of ports to check if they are open.
  • /res_time <hostname/IP> <#num_requests>: Measures the response time of a specific port.
  • /GET <user_ID>: Retrieves information about a specific user.
  • /POST <user_name> <user_age>: Adds a new user to the server.

Example Commands

  • Ping a host:

    /ping 192.168.1.1
    /ping google.com
  • Check open ports:

    /port 192.168.1.1 22 80 5
    /port google.com 22 80 5
  • Check response time for a port:

    /res_time 192.168.1.1 80 3
    /res_time google.com 80 3
  • Get user information:

    /GET user1
  • Add new user:

    /POST "John Doe" 28

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages