mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-21 22:40:43 +08:00
perf:前端大改4
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
## 👍 特点
|
||||
|
||||
+ GUI启动,使用更加方便
|
||||
+ JNDI 账号密码启动
|
||||
+ JNDI 路由隐藏或加密
|
||||
+ JNDI 高版本Bypass
|
||||
@@ -47,6 +48,14 @@
|
||||
./gradlew shadowJar
|
||||
```
|
||||
|
||||
# GUI效果图
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 🌲目录结构
|
||||
|
||||
更多信息请参阅[目录结构说明](docs/directory_structure.md)。
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user