Skip to content

Commit

Permalink
fix: args
Browse files Browse the repository at this point in the history
  • Loading branch information
GrrrDog committed Feb 8, 2016
1 parent df6c4a1 commit e82e240
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file removed aced_cup.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions sources/src/com/greendog/jser/Exploit.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public static void main(String[] args) {
System.exit(1);
}

String fTarget = args[0];// "D:\\prj\\SerJava\\cup_exploit\\test.txt\0";
String fPathOut = args[1]; // "D:\\prj\\SerJava\\cup_exploit\\emp1.ser";
String fPathPayload = args[2]; // "D:\\prj\\SerJava\\cup_exploit\\payload.txt";
String fPathPayload = args[0]; // "D:\\prj\\SerJava\\cup_exploit\\payload.txt";
String fTarget = args[1];// "D:\\prj\\SerJava\\cup_exploit\\test.txt\0";
String fPathOut = args[2]; // "D:\\prj\\SerJava\\cup_exploit\\emp1.ser";

if ((args.length < 4) || !(args[3].equals("0"))) {
System.out.println("with null-byte");
Expand Down

0 comments on commit e82e240

Please sign in to comment.