Skip to content

A scanner to detect common web vulnerabilities like SQL Injection, XSS, and open directories. This could be a basic reconnaissance tool for learning and educational purposes.

Notifications You must be signed in to change notification settings

RedEyeCyberSecurity/Simple-Web-Vulnerability-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Simple-Web-Vulnerability-Scanner

A scanner to detect common web vulnerabilities like SQL Injection, XSS, and open directories. This could be a basic reconnaissance tool for learning and educational purposes.

import requests


# Function to test for open directories
def scan_open_directories(target_url):
    paths = ["/admin", "/backup", "/test", "/config"]
    for path in paths:
        url = target_url + path
        try:
            response = requests.get(url)
            if response.status_code == 200:
                print(f"[+] Found open path: {url}")
            else:
                print(f"[-] No access to {url}")
        except:
            pass


# Main execution
if __name__ == "__main__":
    target_url = input("Enter target URL (example: http://example.com): ")
    scan_open_directories(target_url)

About

A scanner to detect common web vulnerabilities like SQL Injection, XSS, and open directories. This could be a basic reconnaissance tool for learning and educational purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages