Vulnerability_Scanner_v1.py

Automated security auditing script designed for network reconnaissance and port analysis.

~/chad/scripts/v-scanner.py
# DEPLOYMENT SCRIPT: NETWORK_SCANNER
import socket
import sys

def scan_target(target, ports):
    print(f"Initiating scan on: {target}")
    for port in ports:
        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        result = s.connect_ex((target, port))
        if result == 0:
            print(f"PORT {port}: OPEN")
        s.close()

scan_target("127.0.0.1", [80, 443, 8080])