File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
examples/memshell-party-maven-example
src/main/java/com/reajason/javaweb Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 18
18
<dependency >
19
19
<groupId >io.github.reajason</groupId >
20
20
<artifactId >generator</artifactId >
21
- <version >2.0.0-SNAPSHOT </version >
21
+ <version >2.0.0</version >
22
22
</dependency >
23
23
<dependency >
24
24
<groupId >io.github.reajason</groupId >
25
25
<artifactId >packer</artifactId >
26
- <version >2.0.0-SNAPSHOT </version >
26
+ <version >2.0.0</version >
27
27
</dependency >
28
28
</dependencies >
29
29
Original file line number Diff line number Diff line change 1
1
package com .reajason .javaweb ;
2
2
3
- import com .reajason .javaweb .Server ;
4
3
import com .reajason .javaweb .memshell .MemShellGenerator ;
5
4
import com .reajason .javaweb .memshell .MemShellResult ;
6
5
import com .reajason .javaweb .memshell .ShellTool ;
10
9
import com .reajason .javaweb .memshell .config .ShellConfig ;
11
10
import com .reajason .javaweb .packer .Packers ;
12
11
12
+ import static com .reajason .javaweb .Server .Tomcat ;
13
+
13
14
/**
14
15
* @author ReaJason
15
16
* @since 2025/4/6
16
17
*/
17
18
public class Godzilla {
18
19
public static void main (String [] args ) {
19
20
ShellConfig shellConfig = ShellConfig .builder ()
20
- .server (Server . Tomcat )
21
+ .server (Tomcat )
21
22
.shellTool (ShellTool .Godzilla )
22
23
.shellType (ShellType .FILTER )
23
24
.shrink (true ) // 缩小字节码
Original file line number Diff line number Diff line change 9
9
import com .reajason .javaweb .memshell .config .ShellConfig ;
10
10
import com .reajason .javaweb .packer .Packers ;
11
11
import com .reajason .javaweb .packer .jar .JarPacker ;
12
- import com .sun .security .ntlm .Server ;
13
12
14
13
import java .nio .file .Files ;
15
14
import java .nio .file .Paths ;
16
15
16
+ import static com .reajason .javaweb .Server .Tomcat ;
17
+
17
18
/**
18
19
* @author ReaJason
19
20
* @since 2025/4/6
@@ -22,7 +23,7 @@ public class GodzillaAgent {
22
23
23
24
public static void main (String [] args ) throws Exception {
24
25
ShellConfig shellConfig = ShellConfig .builder ()
25
- .server (Server . Tomcat )
26
+ .server (Tomcat )
26
27
.shellTool (ShellTool .Godzilla )
27
28
.shellType (ShellType .AGENT_FILTER_CHAIN )
28
29
.shrink (true ) // 缩小字节码
You can’t perform that action at this time.
0 commit comments