As-Exploits
As-Exploits copied to clipboard
「内存马管理」功能中的「获取所有组件」功能,报错(已排查并提供修改方案)
https://github.com/yzddmr6/As-Exploits/blob/aced295d2da1d1d071e940790e1d7b70f472bc73/core/memshell_manage/payload.js#L3
问题描述: 在尝试使用「内存马管理」功能中的「获取所有组件」并点击「exploit」时,我遇到了一个错误信息。错误详情如下:
ERROR:// java.lang.ClassCastException: org.apache.tomcat.util.threads.ThreadPoolExecutor cannot be cast to java.util.concurrent.ThreadPoolExecutor
问题定位:
经过仔细排查,发现问题出现在memshell_manage
包中的依赖导入。当前导入的是java.util.concurrent.ThreadPoolExecutor
,然而在运行环境中,应该使用org.apache.tomcat.util.threads.ThreadPoolExecutor
。
修改建议:
将import java.util.concurrent.ThreadPoolExecutor;
更正为import org.apache.tomcat.util.threads.ThreadPoolExecutor;
。
ps:我已自测通过