Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: How to Bruteforce a WPA Fon Wlan

  1. #11
    Very good friend of the forum Virchanza's Avatar
    Join Date
    Jan 2010
    Posts
    863

    Default

    I'd go with an on-the-fly generator such as crunch instead of lugging around a 37gig file. Pipe the output of crunch into the input of your cracker program.
    Ask questions on the open forums, that way everybody benefits from the solution, and everybody can be corrected when they make mistakes. Don't send me private messages asking questions that should be asked on the open forums, I won't respond. I decline all "Friend Requests".

  2. #12
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    Yeah I meant 8, I have a 10 also but I am not sure how big that is.

    Crunch is useful to pipe out put but in the case of hex lists where there are tons of routers which use default hex keys its more useful to keep the actual list on hand. That's where a 6 TB file sever at your house comes in handy.

  3. #13
    Very good friend of the forum Virchanza's Avatar
    Join Date
    Jan 2010
    Posts
    863

    Default

    I'm not really that interested in cracking passwords, but I like writing code for doing it. Anyway I threw together this short piece:

    Code:
    #include <string.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    void Combinate(char const *const pstart,char *const p,
                   char const *const plast,char const *const alphabet)
    {
        for (*p = alphabet[0]; *p; *p = strchr(alphabet,*p)[1])
        {
            if (p == plast)
                puts(pstart);
            else
                Combinate(pstart,p+1,plast,alphabet);
        }
    }
    
    int main(int argc, char **argv)
    {
        char str[64 + 1] = {0};
    
        Combinate(str,str,str + strtoul(argv[1],0,10) - 1,argv[2]);
    
        return 0;
    }
    Copy-paste it into a file called "combinator.c" and then compile it as follows:

    Code:
    gcc combinator.c -o combinator
    Next, if you want to get all the 4-character-long hexadecimal numbers, run it as follows:

    Code:
    ./combinator 4 0123456789abcdef
    The first argument to the program is the length of the password (if you specify more than 64 then your computer will explode). The second argument is the characters that make up the alphabet.

    Anyway you can pipe the output of this program into your favourite cracking program:

    Code:
    ./combinator 4 0123456789abcdef |my_favourite_cracker --read-from-stdin
    Beats creating a 30gig file if you ask me.
    Ask questions on the open forums, that way everybody benefits from the solution, and everybody can be corrected when they make mistakes. Don't send me private messages asking questions that should be asked on the open forums, I won't respond. I decline all "Friend Requests".

  4. #14
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by Virchanza View Post
    ... (if you specify more than 64 then your computer will explode)
    I've still yet to see any code that will make mine implode :s
    dd if=/dev/swc666 of=/dev/wyze

  5. #15
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by wyze View Post
    I've still yet to see any code that will make mine implode :s
    That's because you have been looking in the wrong place.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  6. #16
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by archangel.amael View Post
    That's because you have been looking in the wrong place.
    oh noez!!! :0 </holycrap>
    dd if=/dev/swc666 of=/dev/wyze

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •