perf:前端大改4

This commit is contained in:
qi4l
2026-05-01 11:59:29 +08:00
parent 74123d1a09
commit 738c9f1eed
6 changed files with 12 additions and 2 deletions
+9
View File
@@ -22,6 +22,7 @@
## 👍 特点
+ GUI启动,使用更加方便
+ JNDI 账号密码启动
+ JNDI 路由隐藏或加密
+ JNDI 高版本Bypass
@@ -47,6 +48,14 @@
./gradlew shadowJar
```
# GUI效果图
![登陆页](docs/img/img.png)
![img_1.png](docs/img/img_1.png)
![img_2.png](docs/img/img_2.png)
## 🌲目录结构
更多信息请参阅[目录结构说明](docs/directory_structure.md)。
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

@@ -19,6 +19,7 @@ import java.awt.*;
import java.awt.datatransfer.StringSelection;
import java.util.EnumSet;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ThreadLocalRandom;
import static com.qi4l.JYso.gadgets.Config.Config.logo;
import static org.fusesource.jansi.Ansi.ansi;
@@ -40,7 +41,7 @@ public class JYsoWebApplication {
Config.applyCmdArgs(filterWebArgs(args));
int webPort = 8080;
int webPort = ThreadLocalRandom.current().nextInt(10000, 65536);
for (int i = 0; i < args.length; i++) {
if ("-wP".equals(args[i]) || "--webPort".equals(args[i])) {
if (i + 1 < args.length) {
@@ -104,7 +104,7 @@ public class JettyApiServlet extends HttpServlet {
private void handleFileList(HttpServletResponse resp) throws IOException {
java.io.File dir = new java.io.File(".");
java.io.File[] files = dir.listFiles(f -> f.isFile() && f.getName().endsWith(".ser"));
java.io.File[] files = dir.listFiles(f -> f.isFile());
List<Map<String, Object>> list = new ArrayList<>();
if (files != null) {
for (java.io.File f : files) {