Interactive web application that simulates the functionality of the Nmap network scanning tool.
- Port Scanning Simulation: Simulate scanning of any port range (1-65535)
- Real-time Logging: View detailed scan logs as they happen
- Service Detection: Identify common services on standard ports
- Multiple Port States: Visualize open, closed, and filtered ports
- Interactive UI: Modern, responsive interface with dark mode
- Educational Content: Learn about Nmap's architecture and functionality
- Node.js (v18 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/yourusername/nmap-simulator.git
cd nmap-simulator
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Enter a target IP address in the input field
- Specify the port range you want to scan:
- Start Port (1-65535)
- End Port (1-65535)
- Click "Start Scan" to begin the simulation
- Watch the real-time logs and results appear
- Toggle the architecture view to learn about Nmap's internal structure
- React 18
- TypeScript
- Tailwind CSS
- Lucide React Icons
- Vite
nmap-simulator/
├── src/
│ ├── App.tsx # Main application component
│ ├── main.tsx # Application entry point
│ └── index.css # Global styles
├── public/
│ └── vite.svg # Vite logo
└── package.json # Project dependencies
- Simulates TCP port scanning
- Supports full port range (1-65535)
- Identifies common services on standard ports
- Shows port states: open, closed, filtered
- Detailed scan progress information
- Timestamp for each log entry
- Service discovery notifications
- OS detection simulation
- Core Engine explanation
- Network Stack details
- NSE (Nmap Scripting Engine) overview
- Data flow visualization
This simulator is designed for educational purposes to help users understand:
- How Nmap works
- Network port scanning concepts
- Service detection methods
- Network security principles
Remember that in real-world scenarios:
- Port scanning without permission is illegal
- Always obtain authorization before scanning networks
- Use tools like Nmap responsibly and ethically
Ed Bates (TECHBLIP LLC)
Some sections of this code were generated with the assistance of AI tools. These contributions were reviewed and integrated by the project creator(s).
Apache-2.0 License - see the LICENSE file for details