Giter Site home page Giter Site logo

vulnerability-analyzer's Introduction

Website Vulnerability Analyzer

This is a Python script designed to analyze the security vulnerabilities of websites. It scans a given URL for potential security risks based on specified configurations or defaults. Features

Form Analysis: Detects insecure form actions and alerts users if they are not served over HTTPS.
Comment Analysis: Searches for specific patterns within HTML comments that might indicate security issues.
Password Detection: Identifies plaintext password inputs and advises users to secure them.

Requirements

Python 3.x
Requests library (pip install requests)
BeautifulSoup library (pip install beautifulsoup4)
PyYAML library (pip install pyyaml)

Usage

Clone the repository:

bash

git clone https://github.com/yourusername/website-vulnerability-analyzer.git

Navigate to the project directory:

bash

cd website-vulnerability-analyzer

Run the script with the URL of the website you want to analyze:

less

python main.py "https://example.com"

Replace "https://example.com" with the URL you want to analyze.

Optionally, you can provide a configuration file and specify an output file for the vulnerability report using --config and --output arguments respectively.

Configuration

You can customize the behavior of the analyzer by providing a configuration file in YAML format. The following options are available:

forms: Analyze insecure form actions (default: True).
comments: Analyze HTML comments (default: True).
passwords: Detect plaintext password inputs (default: True).

Example configuration file (config.yml):

yaml

forms: true comments: true passwords: true

To use a configuration file:

arduino

python main.py --url "https://example.com" --config config.yml

Output

The script generates a vulnerability report highlighting any issues found. If no vulnerabilities are detected, it confirms that the website is secure.

vulnerability-analyzer's People

Contributors

mahhesshh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.