Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Bruteforcer {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- char[] charset = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray();
- int currentIndex = 0;
- String currentString = "";
- for (int i = 0; i < charset.length; i++) {
- char currentChar = charset[i];
- for (int j = 0; j < charset.length; j++) {
- char c = charset[j];
- currentString = "" +currentChar + c;
- System.out.println(currentString);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment