mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
chore: upgrade deps
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("java")
|
id("java")
|
||||||
id("org.springframework.boot") version "3.5.7"
|
id("org.springframework.boot") version "3.5.8"
|
||||||
id("io.spring.dependency-management") version "1.1.7"
|
id("io.spring.dependency-management") version "1.1.7"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -21,6 +21,8 @@ configurations {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extra["byte-buddy.version"] = libs.versions.byte.buddy.get()
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":generator")) {
|
implementation(project(":generator")) {
|
||||||
exclude(group = "commons-logging", module = "commons-logging")
|
exclude(group = "commons-logging", module = "commons-logging")
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.vanniktech:gradle-maven-publish-plugin:0.34.0")
|
implementation("com.vanniktech:gradle-maven-publish-plugin:0.35.0")
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mavenPublishing {
|
mavenPublishing {
|
||||||
publishToMavenCentral(true)
|
publishToMavenCentral()
|
||||||
signAllPublications()
|
signAllPublications()
|
||||||
coordinates(
|
coordinates(
|
||||||
"io.github.reajason",
|
"io.github.reajason",
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ idea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
version = "2.4.0"
|
version = "2.4.1-SNAPSHOT"
|
||||||
|
|
||||||
tasks.register("publishAllToMavenCentral") {
|
tasks.register("publishAllToMavenCentral") {
|
||||||
dependsOn(":memshell-party-common:publishToMavenCentral")
|
dependsOn(":memshell-party-common:publishToMavenCentral")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("java")
|
id("java-library")
|
||||||
alias(libs.plugins.lombok)
|
alias(libs.plugins.lombok)
|
||||||
id("maven-publish-convention")
|
id("maven-publish-convention")
|
||||||
}
|
}
|
||||||
@@ -29,7 +29,7 @@ tasks.test {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":memshell-party-common"))
|
implementation(project(":memshell-party-common"))
|
||||||
implementation(project(":packer"))
|
implementation(project(":packer"))
|
||||||
implementation(libs.byte.buddy)
|
api(libs.byte.buddy)
|
||||||
implementation(libs.asm.commons)
|
implementation(libs.asm.commons)
|
||||||
implementation(libs.javax.websocket.api)
|
implementation(libs.javax.websocket.api)
|
||||||
implementation(libs.javax.servlet.api)
|
implementation(libs.javax.servlet.api)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ public class CommandConfig extends ShellToolConfig {
|
|||||||
private ImplementationClass implementationClass = ImplementationClass.RuntimeExec;
|
private ImplementationClass implementationClass = ImplementationClass.RuntimeExec;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 命令执行模板,例如 sh -c "{command}" 2>&1,使用 {command} 作为占位符
|
* 命令执行模板,使用 {command} 作为占位符
|
||||||
*/
|
*/
|
||||||
private String template;
|
private String template;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -80,7 +80,7 @@ public class ApusicFilterInjector {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* context: com.apusic.web.container.WebContainer
|
* context: com.apusic.web.container.WebContainer
|
||||||
* context -> webapp: com.apusic.deploy.runtime.WebModule
|
* context - webapp: com.apusic.deploy.runtime.WebModule
|
||||||
* /usr/local/ass/lib/apusic.jar
|
* /usr/local/ass/lib/apusic.jar
|
||||||
*/
|
*/
|
||||||
public Set<Object> getContext() throws Exception {
|
public Set<Object> getContext() throws Exception {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ public class ResponseBodyConfig extends ProbeContentConfig {
|
|||||||
private String base64Bytes;
|
private String base64Bytes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 命令执行模板,例如 sh -c "{command}" 2>&1,使用 {command} 作为占位符
|
* 命令执行模板,使用 {command} 作为占位符
|
||||||
*/
|
*/
|
||||||
private String commandTemplate;
|
private String commandTemplate;
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import java.util.Set;
|
|||||||
/**
|
/**
|
||||||
* HTTP 服务类型识别,主要识别 Servlet 容器实现,例如 WildFly 识别为 Undertow,Payara 识别为 GlassFish
|
* HTTP 服务类型识别,主要识别 Servlet 容器实现,例如 WildFly 识别为 Undertow,Payara 识别为 GlassFish
|
||||||
* 很多国产中间件都是基于 GlassFish 改的,都会识别为 GlassFish
|
* 很多国产中间件都是基于 GlassFish 改的,都会识别为 GlassFish
|
||||||
* <br/>
|
|
||||||
* 额外需要注意:
|
* 额外需要注意:
|
||||||
* 1. 不会识别 SpringWebMVC Struct2 这种框架,只识别其提供 HTTP 服务的 Servlet 容器类型
|
* 1. 不会识别 SpringWebMVC Struct2 这种框架,只识别其提供 HTTP 服务的 Servlet 容器类型
|
||||||
* 2. 识别的顺序很重要,部分类型的识别单独拿出来是不准确的,没有测试的情况下,不要以下的 if 判断顺序
|
* 2. 识别的顺序很重要,部分类型的识别单独拿出来是不准确的,没有测试的情况下,不要以下的 if 判断顺序
|
||||||
|
|||||||
@@ -10,12 +10,12 @@ reactor-netty = "1.1.25"
|
|||||||
jackson = "2.19.0"
|
jackson = "2.19.0"
|
||||||
jetbrains-annotations = "26.0.2"
|
jetbrains-annotations = "26.0.2"
|
||||||
|
|
||||||
byte-buddy = "1.18.1"
|
byte-buddy = "1.18.2"
|
||||||
commons-io = "2.21.0"
|
commons-io = "2.21.0"
|
||||||
commons-lang3 = "3.19.0"
|
commons-lang3 = "3.20.0"
|
||||||
commons-codec = "1.20.0"
|
commons-codec = "1.20.0"
|
||||||
logback = "1.5.21"
|
logback = "1.5.22"
|
||||||
okhttp3 = "5.3.0"
|
okhttp3 = "5.3.2"
|
||||||
fastjson2 = "2.0.60"
|
fastjson2 = "2.0.60"
|
||||||
java-websocket = "1.6.0"
|
java-websocket = "1.6.0"
|
||||||
|
|
||||||
|
|||||||
-1
@@ -18,7 +18,6 @@ import static net.bytebuddy.jar.asm.Opcodes.POP;
|
|||||||
/**
|
/**
|
||||||
* Debug 信息打印移除器
|
* Debug 信息打印移除器
|
||||||
* 目前仅支持移除以下几种
|
* 目前仅支持移除以下几种
|
||||||
* <br />
|
|
||||||
* 1. System.out.println() - (printf 还不支持)
|
* 1. System.out.println() - (printf 还不支持)
|
||||||
* 2. e.printStackTrace()
|
* 2. e.printStackTrace()
|
||||||
* 3. Logger.info (java.util)
|
* 3. Logger.info (java.util)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ public interface AggregatePacker extends Packer {
|
|||||||
* 聚合打包当前所有分类下的 payload
|
* 聚合打包当前所有分类下的 payload
|
||||||
*
|
*
|
||||||
* @param config 生成结果
|
* @param config 生成结果
|
||||||
* @return key -> 打包名称,value -> 打包 payload
|
* @return key - 打包名称,value - 打包 payload
|
||||||
*/
|
*/
|
||||||
default Map<String, String> packAll(ClassPackerConfig config) {
|
default Map<String, String> packAll(ClassPackerConfig config) {
|
||||||
return Packers.getPackersWithParent(this.getClass()).stream().collect(Collectors.toMap(
|
return Packers.getPackersWithParent(this.getClass()).stream().collect(Collectors.toMap(
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import com.reajason.javaweb.packer.Packers;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @since 5.2.24,SpEL 限制了长度为 10000,常规的 Base64 编码已经不适用,需要进一步使用 GZIP 压缩
|
* @since 5.2.24,SpEL 限制了长度为 10000,常规的 Base64 编码已经不适用,需要进一步使用 GZIP 压缩
|
||||||
* <a href="https://github.com/spring-projects/spring-framework/blob/2ed1b6e6dda48ff0c74b67b39cba65676b5397b6/spring-expression/src/main/java/org/springframework/expression/spel/standard/InternalSpelExpressionParser.java#L100">InternalSpelExpressionParser.java</>
|
* https://github.com/spring-projects/spring-framework/blob/2ed1b6e6dda48ff0c74b67b39cba65676b5397b6/spring-expression/src/main/java/org/springframework/expression/spel/standard/InternalSpelExpressionParser.java#L100
|
||||||
*
|
*
|
||||||
* @author ReaJason
|
* @author ReaJason
|
||||||
* @since 2024/12/13
|
* @since 2024/12/13
|
||||||
|
|||||||
@@ -8,6 +8,20 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [v2.4.1]() - Developing
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
1. 修复 Suo5v2、Godzilla、Command Listener 等无法中断请求的场景下未 close 响应流导致连接失败
|
||||||
|
2. 修复非调试模式下,throwable.printStackTrace 未被正确移除
|
||||||
|
3. 修复 responseBody 回显马如果业务优先触发 getOutputStream 或 getWriter 导致回显失败
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
1. generator 模块去除 bcel 依赖,简化 jackson 依赖
|
||||||
|
2. UI 添加 tooltip 简易描述方便使用,并优化部分布局细节
|
||||||
|
3. 依赖更新
|
||||||
|
|
||||||
## [v2.4.0](https://github.com/ReaJason/MemShellParty/releases/tag/v2.4.0) - 2025-12-10
|
## [v2.4.0](https://github.com/ReaJason/MemShellParty/releases/tag/v2.4.0) - 2025-12-10
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
Reference in New Issue
Block a user