Skip to content

Repository files navigation

🛡️ NetSecure Scanner

A beginner-friendly Networking and Cybersecurity toolkit built using Python, Flask, SQLite, HTML, CSS, and JavaScript. The application provides essential security utilities such as network port scanning, password strength analysis, URL safety checking, and scan history management through a simple, responsive web interface.


📌 Features

🌐 Network Port Scanner

  • Scan common TCP ports on a target IP address or hostname.
  • Detect whether ports are Open or Closed.
  • Display service names associated with common ports.
  • Show scan duration.
  • Validate IP addresses and hostnames.

🔐 Password Strength Checker

  • Analyze password complexity.
  • Check for:
    • Password length
    • Uppercase letters
    • Lowercase letters
    • Numbers
    • Special characters
  • Display password strength as:
    • Weak
    • Medium
    • Strong
  • Provide suggestions for stronger passwords.

🔗 URL Safety Checker

  • Validate URLs.
  • Check for HTTPS usage.
  • Detect suspicious URL patterns.
  • Identify IP-based URLs.
  • Generate a basic safety score with explanations.

📊 Dashboard

  • View:
    • Total scans
    • Port scans
    • Password checks
    • URL checks
  • Display recent activity.

🗂️ Scan History

  • Store scan results in SQLite.
  • View previous scans.
  • Delete scan history.
  • Export scan history as CSV (if implemented).

🛠️ Technologies Used

  • Python 3
  • Flask
  • SQLite
  • HTML5
  • CSS3
  • JavaScript
  • Bootstrap (if used)

📁 Project Structure

NetSecureScanner/
│
├── app.py
├── scanner.py
├── password_checker.py
├── url_checker.py
├── database.py
├── requirements.txt
├── README.md
│
├── templates/
│   ├── index.html
│   ├── dashboard.html
│   ├── scanner.html
│   ├── password.html
│   ├── url.html
│   └── history.html
│
├── static/
│   ├── css/
│   ├── js/
│   └── images/
│
└── database.db

⚙️ Installation

Clone the repository:

git clone https://github.com/yourusername/NetSecure-Scanner.git

Go into the project directory:

cd NetSecure-Scanner

Install dependencies:

pip install -r requirements.txt

Run the application:

python app.py

Open your browser and visit:

http://127.0.0.1:5000

🚀 How to Use

Port Scanner

  1. Open the Port Scanner page.
  2. Enter an IP address or hostname.
  3. Click Scan.
  4. View the scan results.

Example targets:

127.0.0.1
localhost
scanme.nmap.org

Password Strength Checker

  1. Open the Password Checker.
  2. Enter a password.
  3. View the strength score and recommendations.

URL Safety Checker

  1. Open the URL Checker.
  2. Enter a website URL.
  3. View the generated safety analysis.

📸 Screenshots

Add screenshots here after running the project.

Example:

screenshots/
├── home.png
├── scanner.png
├── password.png
├── url.png
├── dashboard.png
└── history.png

📈 Future Improvements

  • Multi-threaded port scanning
  • Banner grabbing
  • Vulnerability lookup
  • WHOIS lookup
  • DNS lookup
  • VirusTotal API integration
  • User authentication
  • PDF report generation
  • Dark/Light mode
  • Real-time scan progress
  • Docker support

🎯 Learning Outcomes

This project helped demonstrate:

  • Networking fundamentals
  • TCP Port Scanning
  • Cybersecurity concepts
  • Flask web development
  • SQLite database integration
  • Input validation
  • Responsive UI development

⚠️ Disclaimer

This tool is intended only for educational purposes and authorized security testing.

Do not scan networks or systems without proper permission.


👨‍💻 Author

Aashish S

Bachelor of Engineering (Computer Science)

Networking & Cybersecurity Enthusiast


📄 License

This project is released under the MIT License.

Feel free to use, modify, and improve it for learning purposes.

About

A beginner-friendly networking and cybersecurity toolkit featuring port-scanning, password strength analysis, URL safety checking, and scan history built with Flask and Python.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages