Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 1.02 KB

File metadata and controls

65 lines (38 loc) · 1.02 KB

Here's your README.md in a well-structured format with proper code blocks:


README.md

# Nmap Scanner

This project allows you to perform Nmap scans using Python. Follow the steps below to set up and run the script.

## Setup Instructions

### 1. Create a Virtual Environment
Run the following commands to create and activate a virtual environment:

#### On Windows:
```sh
python -m venv nmap_env
nmap_env\Scripts\activate

On Linux/Mac:

python3 -m venv nmap_env
source nmap_env/bin/activate

2. Install Dependencies

Ensure you have all required dependencies installed:

pip install -r requirements.txt

3. Run the Nmap Scanner

Execute the script by running:

python nmap_scan.py

4. Provide Input

  1. Enter the target IP address or domain name.

  2. Enter the Nmap parameters (e.g., -sV -O for version and OS detection).

Example Usage:

Enter target: scanme.nmap.org
Enter parameters: -sV -O

The scan results will be displayed in the terminal.