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 = "";
- while (true){
- currentString = "" + charset[currentIndex +1] ;
- System.out.println(currentString);
- if (currentIndex == charset.length -2){
- currentIndex = 0;
- currentString = currentString + + charset[currentIndex +1];
- }else{
- currentIndex ++;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment