pen4uin / java-memshell-generator

一款支持自定义的 Java 内存马生成工具|A customizable Java in-memory webshell generation tool.
1.69k stars 187 forks source link

[Info] java.lang.NoClassDefFoundError: javassist/ClassPath #1

Closed lemonlove7 closed 1 year ago

lemonlove7 commented 1 year ago

[>] ServerType Detector model start... [x] java.lang.NoClassDefFoundError: javassist/ClassPath at me.p3n4.jevilcode.generator.impl.AssistGenerator.(AssistGenerator.java:8) at me.gv7.woodpecker.plugin.helper.AssistDetectHelper.doHelp(AssistDetectHelper.java:154) at me.gv7.woodpecker.m.iiiIIiiiiIIi.doInBackground(k:131) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.ClassNotFoundException: javassist.ClassPath at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at me.gv7.woodpecker.v.y.IiiiIiiiiIiI.loadClass(ac:79) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 9 more

[=] ServerType Detector model stop

[>] Ysoserial Payload Generator model start... [x] java.lang.ClassNotFoundException: me.gv7.woodpecker.yso.payloads.ObjectPayload$Utils at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at me.gv7.woodpecker.v.y.IiiiIiiiiIiI.loadClass(ac:79) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at me.gv7.woodpecker.plugin.helper.AssistYsoHelper.doHelp(AssistYsoHelper.java:80) at me.gv7.woodpecker.m.iiiIIiiiiIIi.doInBackground(k:131) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750)

[=] Ysoserial Payload Generator model stop

pen4uin commented 1 year ago

Ysoserial Payload Generator 依赖 ysoserial-for-woodpecker,需要下载 ysoserial-for-woodpecker 到 woodpecker 的 common 目录。

目录结构如下

security@bogon Desktop % tree /tmp/woodpecker 
/tmp/woodpecker
├── common
│   └── ysoserial-for-woodpecker-0.5.2.jar
├── config.db
├── plugin
│   └── jMG-1.0.4.beta1.jar
└── woodpecker-framework.1.3.5.jar