A Bash script that uses Nmap to scan a target for open ports and known vulnerabilities, generating a summary report of the findings. This project is the culmination of the Shell Scripting course.
- Accepts a target IP address or hostname from the command line.
- Performs an Nmap scan to detect services and versions.
- (Coming soon) Uses NSE scripts to check for specific vulnerabilities.
- (Coming soon) Generates a formatted report summarizing open ports and potential risks.
- Includes input validation and prerequisite checks.
To run this script, you will need the following installed:
- Bash (v4+)
- Nmap (v7.60+)
- Clone the repository:
git clone git@github.com:YourUsername/my_scanner.git - Navigate to the directory:
cd my_scanner - Make the script executable:
chmod +x network_scanner.sh - Run the script with a target: ./network_scanner.sh <target_ip_or_hostname>
Example: ./network_scanner.sh scanme.nmap.org
This tool is for educational purposes only. Only run scans against hosts and networks for which you have explicit, written permission. Unauthorized network scanning is illegal.
Author Your Name