HXSecurity / DongTai

Dongtai IAST is an open-source Interactive Application Security Testing (IAST) tool that enables real-time detection of common vulnerabilities in Java applications and third-party components through passive instrumentation. It is particularly suitable for use in the testing phase of the development pipeline.
https://dongtai.io
Apache License 2.0
1.24k stars 145 forks source link

[Bug]: windows平台自动安装时anget.jar路径错误 #220

Closed w0lfzhang closed 3 years ago

w0lfzhang commented 3 years ago

Preflight Checklist

Version

1.0.0

Installation Type

Official Docker Compose

Service Name

DongTai-Core

Describe the details of the bug and the steps to reproduce it

windows平台上运行自动安装时报错找不到agent.jar,路径处理未兼容windows PS E:\work\dongtai> java -jar .\agent.jar -m install -p 26420 [cn.huoxian.dongtai.iast] trying attach dongtai to process 26420, agent address is /E:/work/dongtai/agent.jar [cn.huoxian.dongtai.iast] attach failed com.sun.tools.attach.AgentLoadException: Agent JAR not found or no Agent-Class attribute at sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:117) at com.secnium.iast.agent.AttachLauncher.attach(AttachLauncher.java:21) at com.secnium.iast.agent.Agent.main(Agent.java:41) engine install success for pid: 26420

Additional Information

No response

Logs

No response

exexute commented 3 years ago

Thanks for the feedback, the test recurrence has been arranged.

exexute commented 3 years ago

We expect to fix this issue in version 1.0.4