If you need to run a bruteforce attack against some Java classes, you may use John the Ripper. Perhaps not the fastest variant but very easy to set up:
1 | john –incremental –stdout | java –cp some.jar:. Digest |
and Digest.java looks like this:
1 2 3 4 5 6 7 8 9 | BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in)); String userInput=””; int i=0; while ((userInput = stdin.readLine()) != null) { if (i%500000==0) System.out.print(”.”); i++; //do whatever you need to do… } |
Quite easy, eh?
