How rbijo/exploitscope works
Purpose and Entry Point
Exploit Scope is an early-stage Python web vulnerability scanner for recursively discovering web pages and applying basic OWASP-oriented checks: security headers, SQL injection, reflected XSS, and directory listing exposure. The executable workflow starts in code/scanner.py, which is intended to be run locally with target and output paths adjusted for the environment.
Scan Orchestration
code/scanner.py is the control-plane entry point. It coordinates target crawling, reconnaissance, vulnerability checks, and report generation. The scanner is file-driven rather than a service or web application; no deployed runtime, API layer, or dashboard is present.
Paths:
• code/scanner.py
• code/config.md
Discovery and Crawl Boundary
URL discovery is isolated in the crawler module. It recursively follows links from the supplied target, producing the attack surface that downstream checks operate on. This creates the core boundary between untrusted remote HTTP content and scanner-side analysis.
Paths:
• code/utils/crawler.py
• code/scanner.py
Reconnaissance Stage
Reconnaissance gathers target-level information needed before or alongside vulnerability probing. It is a distinct stage from crawling and active attack checks, allowing scan orchestration to separate discovery/context collection from payload-based testing.
Paths:
• code/utils/recon.py
• code/scanner.py
Vulnerability-Checking Stage
The active security checks reside in code/utils/vuln_checks.py. Based on the documented feature set, this stage evaluates missing security headers, sends simple SQL-injection payloads, tests reflected-XSS behavior, and checks for exposed directory listings. Its inputs are crawled or target URLs; its outputs feed reporting.
Paths:
• code/utils/vuln_checks.py
• code/utils/crawler.py
• code/scanner.py
Reporting and Output
Findings are consolidated into a reporting layer rather than emitted solely during scanning. code/reports/reporting.py is the output boundary for vulnerability results and scan logs/reports; report destination paths appear to require local configuration.
Paths:
• code/reports/reporting.py
• code/reports/config.md
• code/scanner.py
Runtime and External Dependencies
The project is a local Python scanner organized under code/. Its material external dependency is the scanned website: crawling and probes issue HTTP requests against arbitrary target URLs, initially developed against http://testphp.vulnweb.com/. Configuration is documented separately for the overall scanner and utility/reporting areas.
Paths:
• code/config.md
• code/utils/config.md
• code/reports/config.md
Main entry points: scanner.py Scanner Orchestrator · vuln_checks.py OWASP Checks · crawler.py Recursive Crawler · reporting.py Report Generator
Components 12
Scanner Control
- Scanner Orchestrator · Coordinates the local scan workflow.
code/scanner.py - Scanner Configuration · Documents target and output path setup.
code/config.md
Discovery & Analysis
- Recursive Crawler · Follows links to build the attack surface.
code/utils/crawler.py - Discovered URLs · URLs passed to downstream checks.
- Reconnaissance · Collects target-level context separately from active probes.
code/utils/recon.py - OWASP Checks · Tests headers, SQL injection, reflected XSS, and directory listings.
code/utils/vuln_checks.py - Utility Configuration
code/utils/config.md
Reporting
- Findings · Vulnerability results collected for output.
- Report Generator · Consolidates findings into scan logs and reports.
code/reports/reporting.py - Reporting Configuration · Documents report destination setup.
code/reports/config.md - Local Reports · Generated vulnerability reports and scan logs.
Other components
- Scanned Website · Untrusted remote target URLs and content.
Connections 17
- Scanner Configuration → Scanner Orchestrator: configures
- Scanner Orchestrator → Recursive Crawler: starts crawl
- Scanned Website → Recursive Crawler: HTTP content
- Recursive Crawler → Discovered URLs: discovers
- Scanner Orchestrator → Reconnaissance: runs
- Reconnaissance → Scanned Website: collects context
- Scanner Orchestrator → OWASP Checks: runs checks
- Discovered URLs → OWASP Checks: probe targets
- OWASP Checks → Scanned Website: active HTTP probes
- OWASP Checks → Findings: produces
- Reconnaissance → Findings: adds context
- Scanner Orchestrator → Report Generator: generates report
- Findings → Report Generator: consolidates
- Reporting Configuration → Report Generator: configures
- Report Generator → Local Reports: writes
- Utility Configuration → Recursive Crawler: documents setup
- Utility Configuration → OWASP Checks: documents setup