Git Product home page Git Product logo

Comments (6)

wh1t3p1g avatar wh1t3p1g commented on September 24, 2024

这个堆栈是正常的,payload 已经触发了,RdnEntry 用到的是 compreTo -> equals
image

from ysomap.

br-sn avatar br-sn commented on September 24, 2024

Interesting - my payload didn't fire though. Any suggestions on how to get it to fire based on that stack trace?

from ysomap.

wh1t3p1g avatar wh1t3p1g commented on September 24, 2024
  1. 你是怎么生成当前的payload的?是否是用Hessian2的类型生成的?
  2. 你是怎么利用的?是否有考虑目标环境不出网的情况?

from ysomap.

br-sn avatar br-sn commented on September 24, 2024

Thank you for your response.

  1. it is generated using various payloads, all with the same stack trace:
ysomap payload(SpringPartiallyComparableAdvisorHolder) bullet(SpringJndiBullet1) > show options
[+] [2023-05-23 08:15:08] print current session settings!
    [2023-05-23 08:15:08] Current Payload: SpringPartiallyComparableAdvisorHolder
    [2023-05-23 08:15:08] Current SerializeType: hessian
    [2023-05-23 08:15:08] Current Serializer Encoder: null
    [2023-05-23 08:15:08] Current Serializer Output Type: file
    [2023-05-23 08:15:08] Current Serializer serialVersionUID: null
    [2023-05-23 08:15:08] Current Bullet: SpringJndiBullet1

if I use hessian2 as the serializerType I get the following error:

javax.servlet.ServletException: com.caucho.hessian.io.HessianProtocolException: expected hessian method ('m') at 0x43 (C)
	com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:404)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
</pre><p><b>Root Cause</b></p><pre>com.caucho.hessian.io.HessianProtocolException: expected hessian method (&#39;m&#39;) at 0x43 (C)
	com.caucho.hessian.io.Hessian2Input.error(Hessian2Input.java:2705)
	com.caucho.hessian.io.Hessian2Input.readMethod(Hessian2Input.java:265)
	com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:136)
	com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:109)
	com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:396)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  1. The target definitely has internet connectivity.

from ysomap.

wh1t3p1g avatar wh1t3p1g commented on September 24, 2024

我看堆栈错误应该是hessian2的类型,再试一次下面的流程

  1. git clone ysomap
  2. 修改core目录下的pom.xml
image 将sofa-hessian改为caucho-hessian 3. 保持原来的配置再试一次

from ysomap.

wh1t3p1g avatar wh1t3p1g commented on September 24, 2024

需要在 jdk8 的环境下打包

from ysomap.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.