Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-31805 — S2-061/S2-062 Struts2 远程命令执行漏洞 POC&EXP | Kitploit
Tools/GitHubGitHub/z92g/cve-2021-31805
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubz92g/cve-2021-31805

CVE-2021-31805

S2-061/S2-062 Struts2 远程命令执行漏洞 POC&EXP

View Repository
52314 years agoNot yet reviewed
Share

CVE-2021-31805

1.Introduction

Struts2 Remote Command Execution Vulnerability (CVE-2020-17530 & CVE-2021-31805) POC & EXP

2.Usage

  • Parameter Introduction
-u target url
-m [dnslog|exp] //Default echo interface character check
-n [s2-062] //Default s2-061
-s [windows] //Default linux
-p vulnerable parameter
  • Detection with Echo
Struts2RCE -u http://127.0.0.1:8080 //Default s2-061 detection

image

  • Detection without Echo
Please register ceye yourself, and configure ceye.ini
Struts2RCE -u http://127.0.0.1:8080 -m dnslog -n s2-062 //s2-062 dnslog detection, detection speed depends on network and ceye server. Different URLs need to clear dnslog records, otherwise it may cause false positives.

image image

  • EXP
If a vulnerability exists, you can directly input the vulnerability parameter for verification
Struts2RCE -u http://127.0.0.1:8080 -m exp -p id //s2-061 vulnerability, parameter id verification, input q to exit

image

3.Disclaimer

This tool is only for learning, research, and self-inspection. It should not be used for illegal purposes. Please comply with relevant laws and regulations. Any risk arising from the use of this tool is not my responsibility!

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    544
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    385
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    302
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    279

Explore all tools

Browse our collection of tools

View all tools →