AbdulAHAD968/NMAP-COMMAND-GENERATOR
The NMAP Command Generator is a React-based web tool for creating NMAP commands, offering Basic, Advanced, and NSE modes.
NMAP Command Generator
Overview
The NMAP Command Generator is a web application built with React to simplify the creation of NMAP commands for network scanning. It offers three modes—Basic, Advanced, and NSE—to cater to users of varying expertise, providing an intuitive interface for generating tailored NMAP commands.
- Repository: https://github.com/AbdulAHAD968/NMAP-COMMAND-GENERATOR
- Live Site: https://nmap-delta.vercel.app/
Features
The application provides three modes for generating NMAP commands:
- Basic Mode: Pre-configured, commonly used NMAP commands for quick and simple network scanning, ideal for beginners.
- Advanced Mode: Customizable NMAP flags for OS detection, verbosity, and scan speed, suitable for experienced users requiring precise control.
- NSE Mode: Support for NMAP Scripting Engine (NSE) scripts to perform advanced tasks like vulnerability detection and service enumeration.
Additional features:
- IP input field for specifying target addresses.
- Generated commands can be copied for use in a terminal.
- Responsive and user-friendly interface.
Installation
To run the NMAP Command Generator locally:
-
Clone the Repository:
git clone https://github.com/AbdulAHAD968/NMAP-COMMAND-GENERATOR.git cd NMAP-COMMAND-GENERATOR -
Install Dependencies:
Ensure Node.js is installed, then run:npm install
-
Start the Development Server:
npm start
The application will be available at
http://localhost:3000.
Usage
- Access the Application: Visit https://nmap-delta.vercel.app/ or run locally.
- Enter an IP Address: Input the target IP address for scanning.
- Select a Mode:
- Basic: Choose from pre-configured NMAP commands.
- Advanced: Customize flags for detailed scanning options.
- NSE: Select and configure NSE scripts for advanced scans.
- Generate and Copy: Copy the generated NMAP command for use in a terminal.
Technologies
- Frontend: React, JavaScript, HTML, CSS
- State Management: React Context API for IP input state
- Deployment: Vercel
Project Structure
NMAP-COMMAND-GENERATOR/
├── src/
│ ├── components/
│ │ ├── IpInput.js # IP address input field
│ │ ├── Tabs.js # Interface for Basic, Advanced, NSE modes
│ ├── contexts/
│ │ ├── IpContext.js # Manages IP input state
│ ├── styles/
│ │ ├── App.css # Core application styles
│ │ ├── SimpleMode.css # Basic mode styles
│ │ ├── AdvanceMode.css # Advanced mode styles
│ │ ├── NSEmode.css # NSE mode styles
│ │ ├── ip-input.css # IP input styles
│ ├── App.js # Main application component
├── public/
│ ├── index.html # HTML entry point
├── package.json # Dependencies and scripts
├── README.md # Project documentationContributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make changes and commit (
git commit -m "Add your feature"). - Push to the branch (
git push origin feature/your-feature). - Open a pull request with a clear description of your changes.
Ensure code follows the project's style and includes relevant tests.
License
Licensed under the MIT License. See the LICENSE file for details.
Author
Created by Abdul Ahad, 2025.


