# HatBoy/Struts2-Scan

Struts2全漏洞扫描利用工具

Repository: https://github.com/HatBoy/Struts2-Scan
Canonical: https://ross.abutalabs.com/products/struts2-scan
Language: Python
License: GPL-3.0
License Family: copyleft
Last push: 2021-07-12T07:32:21+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2974, "days_push": 1878, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2220, forks 472 (observed 2026-08-28T04:06:27.494261+00:00)

## What it is
A Python CLI tool that scans and exploits known Apache Struts2 vulnerabilities (S2-001 through S2-057) using publicly disclosed exploits. It supports single and batch URL scanning, command execution, reverse shells, web path discovery, and file upload.

## Use cases
- scan a website for struts2 vulnerabilities
- batch scan multiple urls for s2-045
- get a reverse shell from a struts2 exploit
- check if my server is vulnerable to struts2 rce
- upload a webshell via struts2 vulnerability
- find the web root path on a vulnerable struts2 app
- test struts2 exploits against a lab environment

## When to choose
- you need to test or exploit known Struts2 CVEs from a single tool
- you want batch scanning of many URLs for Struts2 flaws
- you need post-exploitation features like command execution or reverse shell on vulnerable Struts2 targets

## When to avoid
- you need a general-purpose web vulnerability scanner beyond Struts2
- you require ongoing updates for newly disclosed vulnerabilities (last release 2021)
- you need a GUI or non-command-line workflow

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: penetration-testing, vulnerability-scanning, security, http-client
- domain: security, penetration-testing, web-development
- platform: windows, python, cli
- tags: struts2, exploit, scanner, rce, vulnerability-exploitation, pentest-tool, linux, macos

## Member repositories
- HatBoy/Struts2-Scan (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.494261+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:45:49.334077+00:00, confidence not recorded.
  - readme: https://github.com/HatBoy/Struts2-Scan (fetched 2026-08-28T04:06:27.494261+00:00, sha 4bc83b7b32a9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
