Skip to content

Commit 74dd440

Browse files
committed
docs: add websocket usage
1 parent da4502e commit 74dd440

File tree

10 files changed

+479
-41
lines changed

10 files changed

+479
-41
lines changed

generator/src/main/java/com/reajason/javaweb/memshell/shelltool/wsbypass/TomcatWsBypassValve.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public void invoke(Request request, Response response) throws IOException, Servl
3737
throw new ServletException("Server container not found");
3838
}
3939
addHeader(request, "Connection", "upgrade");
40-
addHeader(request, "Sec-WebSocket-Version", "13");
4140
addHeader(request, "Upgrade", "websocket");
4241
Object mappingResult = sc.getClass().getMethod("findMapping", String.class).invoke(sc, path);
4342
Class<?> upgradeUtil = Class.forName("org.apache.tomcat.websocket.server.UpgradeUtil");

web/bun.lock

Lines changed: 16 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
130 KB
Loading
113 KB
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"title": "中间件内存马",
3-
"pages": ["tomcat", "jetty"]
3+
"pages": ["tomcat-valve", "tomcat-websocket", "jetty"]
44
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Tomcat Valve
3+
---
4+
5+
## Valve 内存马
6+
7+
## ProxyValve 内存马

0 commit comments

Comments
 (0)