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/
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.
- IP input field for specifying target addresses.
- Generated commands can be copied for use in a terminal.
- Responsive and user-friendly interface.
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.
- 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.
- Frontend: React, JavaScript, HTML, CSS
- State Management: React Context API for IP input state
- Deployment: Vercel
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 documentationContributions 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.
Licensed under the MIT License. See the LICENSE file for details.
Created by Abdul Ahad, 2025.


